Wednesday, November 26, 2008

Fooling around with Joomla: Installation

Operating System: Ubuntu 8.04 Installed LAMP stack with:
apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server
Downloaded joomla with:
wget http://joomlacode.org/gf/download/frsrelease/8897/32884/Joomla_1.5.8-Stable-Full_Package.zip
Unzip the archive using:
sudo unzip Joomla_1.5.8-Stable-Full_Package.zip -d /var/www/joomla
Change the owner of the directory and the permissions
sudo chown -R www-data:www-data /var/www/joomla
sudo find /var/www/joomla -type f -exec chmod 644 {} \;
sudo find /var/www/joomla -type d -exec chmod 755 {} \;
Create the database and set permissions:
mysqladmin -u root -p create joomla
mysql -u root -p --database=joomla -e "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO 'joomlauser'@'localhost' IDENTIFIED BY 'joomlapass'"
mysql -u root -p --database=joomla -e "FLUSH PRIVILEGES"
Access http://servername/joomla/administrator to complete the installation

No comments:

Post a Comment