Mainos / Advertisement:
Ero sivun ”Drupal/en” versioiden välillä
Siirry navigaatioon
Siirry hakuun
(Ak: Uusi sivu: At least for me drupaluser did not get proper elevation and rights, so I used phpmyadmin to set them. If you have the same problem then install phpmyadmin and set them there.) |
(Ak: Uusi sivu: Fixing some privileges) |
||
Rivi 39: | Rivi 39: | ||
=== Drupal === | === Drupal === | ||
− | + | Fixing some privileges | |
cd /var/www | cd /var/www |
Versio 11. helmikuuta 2015 kello 09.45
Sisällysluettelo
Preparations
First we need to have a LAMP server
aptitude install apache2 mysql-server
We will still install some additional packages
apt-get install php5 php5-mysql php5-gd libapache2-mod-php5
Modify the /etc/apache2/apache2.conf file by adding some text in the end
nano /etc/apache2/apache2.conf
Add this function to the end:
AddType application/x-httpd-php .html
MySQL
Now we will set up MySQL.
mysql_install_db
mysql_secure_installation
mysql -u root -p
CREATE DATABASE drupal;
CREATE USER drupaluser@localhost;
SET PASSWORD FOR drupaluser@localhost= PASSWORD('typepasswordhere');
GRANT ALL PRIVILEGES ON drupal.* TO drupaluser@localhost IDENTIFIED BY 'password
At least for me drupaluser did not get proper elevation and rights, so I used phpmyadmin to set them. If you have the same problem then install phpmyadmin and set them there.
Drupal
Fixing some privileges
cd /var/www chmod a+w drupal-7.22/sites/default/
Tehdään asetustiedostosta kopio
cd drupal-7.22/sites/default/ cp default.settings.php settings.php
Oikeuksia taas
chmod a+w settings.php
Tehdään uusi kansio ja oikeudet kuntoon
mkdir files chmod a+w files
Nyt voi avata selaimessa
Sen jälkeen vielä
chmod go-w settings.php chmod 757 files
Hyviä linkkejä
http://websmiths.co/blog/drupal-7-feeds-tutorials-importing-ical
Google kalenterin importtaamiseen.
Mainos / Advertisement: