Installing Wordpress in VestaCP
1. Add the domain in the control panel.
WEB Tab> ADD DNS DOMAIN
Specify the Name: domain.com and IP Address: 128.77.77.77
2. Add the database (database examples).
DB tab> ADD DATABASE
Database: database-name
User: database-user
Password: database-password
3. Connect to your VPS via SSH.
4. go to the directory:
cd/var/www/html
5. Download Wordpress:
wget http://wordpress.org/latest.tar.gz - to download the latest version Wordpress in English
6. Unzip the downloaded file:
tar -xzvf latest.tar.gz for latest english version
7. Give the rights to the directory where Wordpress is located:
chmod -R 777 / var / www / html / wordpress / wp-content
8. Reboot Apache for the changes to take effect:
/etc/init.d/apache2 restart
9. Go to the browser using the link http://ip_vps_address/wordpress/wp-admin/setup-config.php
10. Enter the data that you specified when creating the database and user in steps 3-4 of this instructions.
11. Go to html folder:
cd/var/www/html
12. Create the file with the command:
nano wp-config.php
13. Copy the text from the browser. Click on Ctrl + x and then Y to confirm the changes.
14. In the browser, enter the name of your site, mail, username and password. Confirm installation Wordpress.
15. Now you can log in and make changes on your site.
If you have any questions, please create a ticket to technical support.