Now install PHP 7.3 with all necessary modules sudo yum-config-manager -enable remi-php73 Now we need to install yum-utils package by running this command: sudo yum install yum-utils To install, run this command: sudo yum install Run the mysql_secure_installation the script which will perform several security-related tasks: sudo mysql_secure_installation Step 4 : Install PHP with PHP-FPM Start MariaDB server: sudo systemctl start mariadbĮnable MariaDB to start at boot: sudo systemctl enable mariadb Run this command to install MariaDB: sudo yum install mariadb mariadb-server Visit your website by entering IP address on a browser: Step 3 : Install MySQL Start Nginx server: sudo systemctl start nginxĮnable Nginx to start at boot: sudo systemctl enable nginx Run this command to install Nginx: sudo yum install nginx Now copy and paste this code to nginx.repo file (SHIFT+INS): Make nginx.repo file: sudo nano /etc//nginx.repo Open your terminal and run this command: ssh -p PORT Step 2 : Install Nginx In this tutorial, we are going to install Nginx, MySQL, PHP, APCu on CentOS 7.Īt first, we need to login to our server via SSH.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |