It offers features that may not be available to other PHP-based CMS, like WordPress Joomla, or Drupal. For one, it doesn’t need a database server, call it database-less. It comes with all features that you need but is smaller than WordPress, like SEO-friendly design, flexible CSS framework, and more. Herbie uses a unique algorithm to find or list any content based on date, type, category, tag, or author, and the performance will remain fast even if you have thousands of posts and hundreds of tags. For more about Herbie, please check its homepage.
Install Nginx HTTP Server
Herbie CMS requires a web server and the Nginx HTTP server is probably the second 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
Herbie CMS 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: Now that PHP is installed, to test whether it’s functioning, create a test file called phpinfo.php in the Nginx default root directory. ( /var/www/html/) Then type the content below and save the file. Next, open your browser and browse to the server’s hostname or IP address followed by phpinfo.php You should see the PHP default test page.
Download Herbie’s Latest Release
To get Herbie’s latest release you may want to use the GitHub repository. Install Composer, Curl and other dependencies to get started. After installing curl and Composer above, change into the Nginx root directory and download Herbie packages from Github. Then run the commands below to set the correct permissions for Herbie to adjust the directory permissions.
Configure Nginx Herbie Site
Finally, configure the Nginx configuration file for Herbie. This file will control how users access Herbie content. Run the commands below to create a new configuration file called Herbie 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. After configuring the VirtualHost above, enable it by running the commands below
Enable Herbie Site and Rewrite Module
After configuring the VirtualHost above, enable it by running the commands below, then restart the Nginx server. Next, open your browser and browse to the server hostname or IP address and you should see the Herbie page. enter your blog info and complete the setup. Herbie began as a database-less flat file content management system. Its structure allowed you to have just the amount of functionality you needed in a flat file CMS solution, adding extensions (blade packs) for further functionality, whilst allowing setup on simple servers with no database. You may also like the post below: