Hi,
LinuxMCE 810 has all the prerequistes to install the latest version of Drupal 6.12
wget http://ftp.drupal.org/files/projects/drupal-6.12.tar.gz
tar xvzf drupal-6.12.tar.gz
sudo mkdir /var/www/drupal
sudo mv drupal-6.12/* drupal-6.12/.htaccess /var/www/drupal
It is required to create a files subdirectory in your drupal default site installation directory.
It will be used for files such as custom logos, user avatars, and other site media.
mkdir /var/www/drupal/sites/default/files
chown www-data:www-data /var/www/drupal/sites/default/files
It is also required to create the initial configuration file for the default site.
cp /var/www/drupal/sites/default/default.settings.php /var/www/drupal/sites/default/settings.php
chown www-data:www-data /var/www/drupal/sites/default/settings.php
Drupal needs a database, user and password
You need to create a drupal database and then load the database schema into it.
mysqladmin -u root -p create drupal
Where [i]drupal[/i] is the name you picked for the mysql database that Drupal will use. You can call it anything you want.
Enter password: (LinuxMCE has no mySQL password just hit Enter)
mysql -u root -p
Enter password: (LinuxMCE has no mySQL password just hit Enter)
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON drupal.* TO 'drupaluser'@'localhost' IDENTIFIED BY 'drupalpass';
You do not want to have Drupal use the mysql root user to access the database.
The above command creates a mysql user (other than the mysql root user) with some priviledges to use the drupal database.
You should pick something different than [i]drupaluser [/i]and [i]drupalpass[/i].
If the command was successful you get a response like,
Query OK, 0 rows affected (0.00 sec)
activate the new permissions:
mysql> FLUSH PRIVILEGES;
Response:
Query OK, 0 rows affected (0.00 sec)
Quit the mysql prompt:
mysql> \q
I rebooted at this point to see if anything was broken. Everthing seemed O.K.
I manually ran the cron job and it worked.
Now I need to see if things will work out to use Drupal for my home intranet.