Advertisement
shokti

ubuntu server joomla 2.5.6 installation

Sep 5th, 2012
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.58 KB | None | 0 0
  1. Go to /var/www directory:
  2.     cd /var/www
  3. download joomla 2.5.6 package:
  4.     sudo wget http://joomlacode.org/gf/download/frsrelease/17173/74758/Joomla_2.5.6-Stable-Full_Package.zip
  5. create your joomla website folder mysite in /var/www/:
  6.     sudo mkdir mysite
  7. Move Joomla_2.5.6-Stable-Full_Package.zip file to /var/www/mysite/ folder and rename it to joomla256.zip:
  8.     sudo mv Joomla_2.5.6-Stable-Full_Package.zip /var/www/mysite/joomla256.zip
  9. install unzip program:
  10.     sudo apt-get install unzip
  11. unzip joomla256.zip:
  12.     sudo unzip joomla256.zip
  13.  
  14. open browser and go to http://localhost/phpmyadmin and create a blank mysql database named mysite.
  15.  
  16. open browser and go to http://localhost/mysite and you will be taken to the joomla installation page.
  17.  
  18. just follow the instruction but remember put the site name, username, password, email.
  19.  
  20. make sure to select mysql in the selection and put the name of the blank database mysite.
  21.  
  22. you can also install sample data if you want.
  23.  
  24. after install delete the installation folder in the mysite folder.
  25.  
  26. change the mysite files and folder ownership:
  27.  
  28.     cd /var/www
  29.     sudo chown -R www-data:www-data /var/www/mysite
  30.  
  31. change the mysite folder and sub folder permission:
  32.     sudo find /var/www/mysite -type d -exec chmod 755 {} \;
  33.  
  34. change the mysite files permission:
  35.     sudo find /var/www/mysite -type f -exec chmod 644 {} \;
  36.  
  37. go to http://localhost/mysite again and you will see the joomla sample page.
  38.  
  39. 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