Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Go to /var/www directory:
- cd /var/www
- download joomla 2.5.6 package:
- sudo wget http://joomlacode.org/gf/download/frsrelease/17173/74758/Joomla_2.5.6-Stable-Full_Package.zip
- create your joomla website folder mysite in /var/www/:
- sudo mkdir mysite
- Move Joomla_2.5.6-Stable-Full_Package.zip file to /var/www/mysite/ folder and rename it to joomla256.zip:
- sudo mv Joomla_2.5.6-Stable-Full_Package.zip /var/www/mysite/joomla256.zip
- install unzip program:
- sudo apt-get install unzip
- unzip joomla256.zip:
- sudo unzip joomla256.zip
- open browser and go to http://localhost/phpmyadmin and create a blank mysql database named mysite.
- open browser and go to http://localhost/mysite and you will be taken to the joomla installation page.
- just follow the instruction but remember put the site name, username, password, email.
- make sure to select mysql in the selection and put the name of the blank database mysite.
- you can also install sample data if you want.
- after install delete the installation folder in the mysite folder.
- change the mysite files and folder ownership:
- cd /var/www
- sudo chown -R www-data:www-data /var/www/mysite
- change the mysite folder and sub folder permission:
- sudo find /var/www/mysite -type d -exec chmod 755 {} \;
- change the mysite files permission:
- sudo find /var/www/mysite -type f -exec chmod 644 {} \;
- go to http://localhost/mysite again and you will see the joomla sample page.
- to administer joomla, go to http://localhost/mysite/administrator and use the username and password that you make during the joomla installation to login.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement