
- DOWNLOAD AND INSTALL WORDPRESS ON UNUNTU 18.04 INSTALL
- DOWNLOAD AND INSTALL WORDPRESS ON UNUNTU 18.04 UPDATE
Mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapperĪdditionally, you can run the mysql_secure_installation post-installation script to strengthen the security of the database server.
DOWNLOAD AND INSTALL WORDPRESS ON UNUNTU 18.04 INSTALL
MySQL server can be installed using the following command: apt install mysql-serverĭuring the installation of the database server, you will be prompted to set a password for the MySQL root user.Īfter the installation completes, you can check the version of the installed MySQL database server: mysql -V So the next step will be to install the MySQL server and create a user and database for the WordPress installation.

WordPress needs an empty MySQL database to store its data such as posts, post types, user profiles, etc. Then restart the PHP-FPM service for the changes to take effect: systemctl restart Step 4: Install MySQL Server and Create a Database Save the configuration file and exit the editor. Then uncomment this line: cgi.fix_pathinfo=0 Open the file with your preferred text editor – we’ll be using Nano: nano /etc/php/7.2/fpm/php.ini Now, open the PHP configuration file, find and uncomment the ‘cgi.fix_pathinfo’ line. WordPress is built on PHP, so we have to install PHP as well as several PHP extensions required by WordPress in order for it to function properly: apt install -y php php-common php-mbstring php-gd php-intl php-xml php-mysql php-mcrypt php-fpm You can also verify if Nginx is running by accessing in your preferred web browser. Ââ21137 nginx: master process /usr/sbin/nginx -g daemon on master_process on Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled) The output should look something like this: rvice - A high performance web server and a reverse proxy server You can check if the web server is running with this command: systemctl status nginx It is available in the official Ubuntu 18.04 repositories and it can be easily installed using the following command: apt -y install nginxĪfter the installation is completed, start Nginx and enable it to start automatically after a reboot: systemctl start nginx For this, we will install and use the Nginx web server. WordPress needs a web server with PHP support to run and render the web pages dynamically.
DOWNLOAD AND INSTALL WORDPRESS ON UNUNTU 18.04 UPDATE
apt update & apt upgrade Step 2: Install Nginx web server Then run the following commands to make sure that all packages are updated to their latest releases. Where ‘ IP_Address‘ and ‘ Port_number‘ are the actual IP address of your server and the SSH port.

Login to your Ubuntu 18.04 server via SSH as the root user: ssh IP_Address -p Port_number A system user with root privileges, or access to the root account.MySQL version 5.6 or greater OR MariaDB version 10.0 or greater.Step 7: Complete the WordPress installation.Step 4: Install MySQL Server and Create a Database.
