key in
SOURCEPKG=Joomla_1.6.5-Stable-Full_Package.zipthen press enter
SOURCEWWW=http://joomlacode.org/gf/download/frsrelease/15179/66269/Joomla_1.6.5-Stable-Full_Package.zipthen press enter
2. Download Joomla
mkdir joomlathen press enter
cd joomlathen press enter
wget $SOURCEWWWthen press enter
6. Unpack Joomla!
unzip $SOURCEPKGthen press enter
7. Cleanup
rm -f $SOURCEPKGthen press enter
8. Move Joomla!
cd ..then press enter
sudo mv joomla /var/www/then press enter
9. Set permission to writable, allow writting in whole joomla subtree
sudo chown -R www-data:www-data /var/www/joomlathen press enter
10. Handle file and directory permissions:
cd /var/www/joomlathen press enter
sudo find . -type f -exec chmod 644 {} \;then press enter
sudo find . -type d -exec chmod 755 {} \;then press enter
11. Create a database for Joomla!
mysqladmin -u root -p create joomlathen press enter
12. creates a mysql user (other than the mysql root user) with some priviledges to use the joomla database
mysql -u root -p
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
13. activate the new permissions
mysql> FLUSH PRIVILEGES;
14. Quit the mysql prompt
mysql>
\q
15. Open history file for MySQL commands and delete the above SQL, since the password is in readable format!
gedit ~/.mysql_history
16. Restart Apache2
sudo /etc/init.d/apache2 restart
17. Point your browser to
http://localhost/joomla/, and you will be guided through by the Joomla! installer.
Good Luck!
the original tutorial was from http://www.blog.highub.com/linux/install-and-run-joomla-on-ubuntu
No comments:
Post a Comment