Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Go to /var/www directory:
- cd /var/www
- download wordpress 3.6 package:
- sudo wget http://wordpress.org/latest.tar.gz
- create your wordpress website folder mysite in /var/www/:
- sudo mkdir mywpsite
- change the mywpsite folder ownership:
- sudo chown -R www-data:www-data /var/www/mywpsite
- change the mywpsite folder permission:
- sudo chmod 777 /var/www/mywpsite
- Move latest.tar.gz file to /var/www/mywpsite/ folder :
- sudo mv latest.tar.gz /var/www/mysite/
- untar latest.tar.gz:
- sudo tar -pxvzf latest.tar.gz
- move the files and subfolder from /var/www/mywpsite/wordpress/ to /var/www/mywpsite/:
- sudo mv -v /var/www/mywpsite/wordpress/* /var/www/mywpsite/
- remove the /var/www/mywpsite/wordpress/ folder:
- sudo rmdir /var/www/mywpsite/wordpress/
- open browser and go to http://localhost/phpmyadmin and create a blank mysql database named mywpsite.
- open browser and go to http://localhost/mywpsite and you will be taken to the wordpress installation page.
- just follow the instruction but remember put the site name, username, password, email.
- go to http://localhost/mywpsite again and you will see the wordpress frontend page.
- to administer wordpress, go to http://localhost/mywpsite/wp-admin and use the username and password that you make during the installation to login.
- ==================================================================================================
- note: if you have problem extracting latest.tar.gz just change the file ownership:
- sudo chown www-data:www-data /var/www/mywpsite/latest.tar.gz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement