Our previous tutorial showed you how to install CuteNews CMS on Ubuntu with Apache2. This one shows you how to run it with Nginx instead. CuteNews is a flat-file content management system (CMS) based on PHP that is easy to install and set up. No database, just PHP — plain and simple! It also comes with a search function, file upload management, backup & restore, IP banning, permission levels support, flood protection, and many more. For more about CuteNews, please check their Homepage To get started with installing CuteNews, follow the steps below:
Install Nginx HTTP Server
CuteNews requires a web server and the Nginx HTTP server is the most popular open-source web server available today. To install the Nginx server, run the commands below: After installing Nginx, the commands below can be used to stop, start and enable the Nginx service to always start up with the server boots. Now that Nginx is installed. to test whether the web server is working, open your browser and browse to the URL below. If you see the page above, then Nginx is successfully installed.
Install PHP 7.2-FPM and Related Modules
CuteNews is a PHP-based CMS and PHP is required. However, PHP 7.2-FPM may not be available in Ubuntu default repositories. To run PHP 7.2-FPM on Ubuntu 16.04 and previous, you may need to run the commands below: Then update and upgrade to PHP 7.2-FPM Next, run the commands below to install PHP 7.2-FPM and related modules. After installing PHP 7.2, run the commands below to open the PHP default configuration file for Nginx. The lines below are a good setting for most PHP-based CMS. Update the configuration file with these and save. Every time you make changes to the PHP configuration file, you should also restart the Nginx web server. To do so, run the commands below:
Download CuteNews Latest Release
After installing the server and packages above, go to the CuteNews download page and get the latest. Or use the commands below to download version 1.1 from its GitHub site. Next, created these folders by running the commands below: Then run the commands below to set the correct permissions for the CuteNews root directory and give Nginx control.
Configure Nginx
Finally, configure the Apahce2 site configuration file for CuteNews. This file will control how users access CuteNews content. Run the commands below to create a new configuration file called cuteness Then copy and paste the content below into the file and save it. Replace the highlighted line with your domain name and directory root location. Save the file and exit.
Enable the CuteNews
After configuring the VirtualHost above, enable it by running the commands below Then open your browser and browse to the server domain name. You should see the CuteNews setup wizard complete. Please follow the wizard carefully. Then follow the on-screen instruction. Since no database, just create an admin account and continue. After that, the site should be created and ready to use. Congratulation! You have successfully installed CuteNews CMS on Ubuntu 16.04 | 18.04 and 18.10.