apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server php5-gd #set a mysql-root password mysql -u root SET PASSWORD FOR 'root'@'localhost' = PASSWORD('[yourpassword]'); SET PASSWORD FOR 'root'@'[yourhostname]' = PASSWORD('[yourpassword]'); mkdir /var/www/joomla cd /var/www/joomla wget http://joomlacode.org/gf/download/frsrelease/4508/13215/Joomla_1.0.13-Stable-Full_Package.tar.bz2 tar xfj Joomla_1.0.13-Stable-Full_Package.tar.bz2 rm Joomla_1.0.13-Stable-Full_Package.tar.bz2 chown -R root:root /var/www/joomla PLACES=' administrator/backups administrator/components administrator/modules administrator/templates cache components images images/banners images/stories language mambots mambots/content mambots/editors mambots/editors-xtd mambots/search media modules templates ' for i in $PLACES; do sudo chown -R www-data:www-data $i done sudo find . -type f -exec chmod 644 {} \; sudo find . -type d -exec chmod 755 {} \; #create database mysqladmin -u root -p create joomla #[enter mysql root passwd entered above] mysql -u root -p #[enter mysql root passwd when asked] GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON joomla.* TO '[joomlaccount]'@'localhost' IDENTIFIED BY '[joomla_password]'; FLUSH PRIVILEGES; \q #erase traces > ~/.mysql_history touch /var/www/joomla/configuration.php chown www-data.www-data /var/www/joomla/configuration.php #reload apache2 /etc/init.d/apache2 restart #Point your browser to [youhost]/joomla, and follow the onscreen instructions. localhost [joomla_user] [joomladb] [prefix] #after that: rm -R /var/www/joomla/installation/ #when it doesn't work (wel sort of: you've got text but no graphics:) #check the configuration.php and adjust the $mosConfig_live_site = 'http://[URL]/joomla'; #if needed