Advertisement
shokti

ubuntu 12.10 - install wordpress 3.6

Aug 8th, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. Go to /var/www directory:
  2. cd /var/www
  3.  
  4. download wordpress 3.6 package:
  5. sudo wget http://wordpress.org/latest.tar.gz
  6.  
  7. create your wordpress website folder mysite in /var/www/:
  8. sudo mkdir mywpsite
  9.  
  10. change the mywpsite folder ownership:
  11. sudo chown -R www-data:www-data /var/www/mywpsite
  12.  
  13. change the mywpsite folder permission:
  14. sudo chmod 777 /var/www/mywpsite
  15.  
  16. Move latest.tar.gz file to /var/www/mywpsite/ folder :
  17. sudo mv latest.tar.gz /var/www/mysite/
  18.  
  19. untar latest.tar.gz:
  20. sudo tar -pxvzf latest.tar.gz
  21.  
  22. move the files and subfolder from /var/www/mywpsite/wordpress/ to /var/www/mywpsite/:
  23. sudo mv -v /var/www/mywpsite/wordpress/* /var/www/mywpsite/
  24.  
  25. remove the /var/www/mywpsite/wordpress/ folder:
  26. sudo rmdir /var/www/mywpsite/wordpress/
  27.  
  28. open browser and go to http://localhost/phpmyadmin and create a blank mysql database named mywpsite.
  29.  
  30. open browser and go to http://localhost/mywpsite and you will be taken to the wordpress installation page.
  31.  
  32. just follow the instruction but remember put the site name, username, password, email.
  33.  
  34. go to http://localhost/mywpsite again and you will see the wordpress frontend page.
  35.  
  36. to administer wordpress, go to http://localhost/mywpsite/wp-admin and use the username and password that you make during the installation to login.
  37.  
  38. ==================================================================================================
  39.  
  40. note: if you have problem extracting latest.tar.gz just change the file ownership:
  41. sudo chown www-data:www-data /var/www/mywpsite/latest.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement