Starting Wordpress on VPS with Ubuntu

After you install CMS Wordpress on your VPS according to this instruction, you can fill and customize the site.

You need to install CMS Wordpress on a clean Ubuntu operating system. In addition to the operating system, the VPS server must have LAMP.

1. Connect to your VPS via SSH.

2. Next, you need to configure the database to use Wordpress. To access MySQL, enter:

mysql -u root -p

3. To create the database, enter:


Where mydatabase is the name of your database

4. To create a user and password, enter:

CREATE USER 'myname' @ 'localhost' IDENTIFIED BY 'mypassword';

myname - username

mypassword - password

5. Allow this user to make changes to the database:

GRANT ALL PRIVILEGES ON mydatabase. * TO 'myname' @ 'localhost';

6. Save changes:


7. Exit MySQL:


8. Restart Apache for the changes to take effect:

/etc/init.d/apache2 restart

9. To install Wordpress first go to the directory:


10. Download Wordpress:

wget - to download the latest version Wordpress in English

11. Unzip the downloaded file:

tar -xzvf latest.tar.gz for latest english version

12. Give the rights to the directory where Wordpress is located:

chmod -R 777 / var / www / html / wordpress / wp-content

13. Reboot Apache for the changes to take effect:

/etc/init.d/apache2 restart

14. Go to the browser using the link http://ip_vps_address/wordpress/wp-admin/setup-config.php

15. Enter the data that you specified when creating the database and user in steps 3-4 of this instructions.

16. Go to html folder:


17. Create the file with the command:

nano wp-config.php

18. Copy the text from the browser. Click on Ctrl + x and then Y to confirm the changes.

19. In the browser, enter the name of your site, mail, username and password. Confirm installation Wordpress.

20. Now you can log in and make changes on your site.

If you have any questions, please create a ticket to technical support.