![]() Uncomment the following line at the line number 24 as shown. Then open the main nf configuration file for editing. $ sudo cp /etc/php7/fpm/php-fpm.d//etc/php7/fpm/php-fpm.d/www.conf $ sudo cp /etc/php7/fpm/ /etc/php7/fpm/nf $ sudo zypper install php php-mysql php-fpm php-gd php-mbstringīefore we proceed to start the PHP-FPM service, we need to create the required configuration files from the default files provided during the installation, and configure the service ready for operations. To install PHP and PHP-FPM along with needed modules run the following command. Importantly, it is faster than traditional CGI-based methods, such as SUPHP, for multi-user PHP environments. It maintains pools ( workers that can respond to PHP requests) to accomplish this. PHP-FPM (short for PHP FastCGI Process Manager) is an alternative FastCGI daemon for PHP with some additional features and designed to handle high loads. Secure MariaDB Installation in OpenSuse Installing and Configuring PHP and PHP-FPM You should set a root user password, remove anonymous users, disable remote root access, remove the test database and access to it and finally reload privileges table. $ sudo mysql_secure_installationĪfter running the script, read the description at each step carefully. Note: Running MariaDB security script and all its parts is highly recommended for all MariaDB servers in production. Therefore run the security script which ships with the MariaDB package, as shown. The next critical step under this section is to secure the MariaDB server installation. ![]() Next, start the MariaDB service for now, then enable it to auto-start at boot time and check its status. $ sudo zypper install mariadb mariadb-client To install MariaDB on OpenSuse, run the following command. MariaDB is fast, scalable and robust, with a rich ecosystem of storage engines, plugins and many other tools make it very versatile for a wide variety of use cases. It’s developed by the original developers of MySQL and intended to stay open source. ![]() MariaDB is a free and open source fork of the MySQL relational database management system. Check Nginx Page Installing MariaDB Database Server Next, open a web browser and navigate to the address and verify the Nginx page. $ sudo firewall-cmd -permanent -add-port=443/tcp $ sudo firewall-cmd -permanent -add-port=80/tcp If you have firewalld installed, you need to open port 80 and 443 to allow web traffic on firewall. We need to create a new index.html file under the root web directory "/srv/Create Nginx Index File Unlike on other Linux distributions, under openSUSE, Nginx doesn’t have a standard index.html document in the web root folder. Now, we need to test if the Nginx installation is working fine. ![]() Read Also: 10 Most Used Nginx Commands Every Linux User Must KnowĪt this point, the Nginx web server should be up and running, you can also verify the status using the netstat command as shown. Once the Nginx installed, you can start the service for now, then enable it to auto-start at boot time and verify the status of Nginx by running the following commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |