Skip to content

WordPress

WordPress is a content management system (CMS) written in PHP and mainly intended for creating blogs.

Initial setup

Before installing WordPress, you must first ensure the correct configuration of the domain itself and the database:

  • Create a Website without editing the options in Advanced Settings.
  • Indicate our DNS servers at the domain registrar.
  • Create a MySQL database with a database user.

Installation

Warning

The MySQL server address depends on the server number. For server s0.serv00.com will be the address mysql0.serv00.com, for server s1.serv00.com - mysql1.serv00.com, for server s2.serv00.com - mysql2.serv00.com etc. The examples use mysqlX.serv00.com

In order to perform the installation, you must first log in to your account via SSH, then:

  1. Go to ~/domains/DOMAIN/ where DOMAIN is the name of the domain where WordPress will be installed, command: cd ~/domains/DOMAIN/.
  2. Download the installation archive of the latest CMS version:
    fetch https://wordpress.org/latest.zip
  3. Delete the public_html directory, unpack the archive, rename the unpacked directory and remove the unnecessary archive after unpacking: rm -r public_html && unzip latest.zip && mv wordpress public_html && rm latest.zip
  4. Go to the website and continue the installation in your browser.
  5. When configuring the system, enter:
  6. database server address - mysqlX.serv00.com
  7. database name - name of the created MySQL database
  8. database user - username (who has access to the previously created MySQL database),
  9. database password - password of the previously entered user.
  10. After the installation is complete, remove the install directory with the rm -r public_html/install command

We recommend using the wp admin slug plugin to hide the standard address of the login panel for the administrator.