{"id":4026,"date":"2019-08-20T21:28:40","date_gmt":"2019-08-20T18:28:40","guid":{"rendered":"https:\/\/kifarunix.com\/?p=4026"},"modified":"2019-08-24T10:00:12","modified_gmt":"2019-08-24T07:00:12","slug":"install-wondercms-on-debian-10-buster","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-wondercms-on-debian-10-buster\/","title":{"rendered":"Install WonderCMS on Debian 10 Buster"},"content":{"rendered":"\n<p>Welcome to our guide on how to install WonderCMS on Debian 10 Buster. <a rel=\"noreferrer noopener\" aria-label=\"WonderCMS (opens in a new tab)\" href=\"https:\/\/www.wondercms.com\/\" target=\"_blank\">WonderCMS<\/a> is a small, light and simple, free and opensource flat file Content Management System that is build with PHP, jQuery, and HTML\/CSS. It enables users to maintain their websites without the need for the databases. Read more about <a rel=\"noreferrer noopener\" aria-label=\"WonderCMS features (opens in a new tab)\" href=\"https:\/\/www.wondercms.com\/features\" target=\"_blank\">WonderCMS features<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install WonderCMS on Debian 10 Buster<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Before you can install WonderCMS on Debian 10 Buster, there are a number of requirements that must be met. These include;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>PHP version 7.1 or greater<ul><li>cURL extension<\/li><li>mbstring extension<\/li><li>Zip extension<\/li><\/ul><\/li><li>mod_rewrite module enabled<\/li><li>any type of server (Apache, NGINX, IIS)<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Install WonderCMS Requirements<\/h4>\n\n\n\n<p>Before you can proceed, ensure that the requirements listed above are installed on your Debian 10 Buster system.<\/p>\n\n\n\n<p>To begin with, update and upgrade your system packages.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update\napt upgrade<\/code><\/pre>\n\n\n\n<p>Install Apache Web server, PHP and the required extensions. PHP 7.3 is the default available version on Debian 10 Buster.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install php php-mbstring php-curl php-zip<\/code><\/pre>\n\n\n\n<p>By default, PHP installs with it Apache web server and the required libraries. When installed, Apache is started and enabled to run on system boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl status apache2<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf apache2.service - The Apache HTTP Server\n   Loaded: loaded (\/lib\/systemd\/system\/apache2.service; enabled; vendor preset: enabled)\n   Active: active (running) since Tue 2019-08-20 06:45:46 EDT; 2s ago\n     Docs: https:\/\/httpd.apache.org\/docs\/2.4\/\n Main PID: 14535 (apache2)\n    Tasks: 6 (limit: 1150)\n   Memory: 15.0M\n   CGroup: \/system.slice\/apache2.service\n           \u251c\u250014535 \/usr\/sbin\/apache2 -k start\n           \u251c\u250014539 \/usr\/sbin\/apache2 -k start\n           \u251c\u250014540 \/usr\/sbin\/apache2 -k start\n           \u251c\u250014541 \/usr\/sbin\/apache2 -k start\n           \u251c\u250014542 \/usr\/sbin\/apache2 -k start\n           \u2514\u250014543 \/usr\/sbin\/apache2 -k start<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl is-enabled apache2\nenabled<\/code><\/pre>\n\n\n\n<p>Want to use Nginx instead? See our article on how to install Wonder CMS with Nginx.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-wondercms-with-nginx-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install WonderCMS with Nginx on Debian 10<\/a><\/p>\n\n\n\n<p>You can also verify the version of PHP installed;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>php -v<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP 7.3.4-2 (cli) (built: Apr 13 2019 19:05:48) ( NTS )\nCopyright (c) 1997-2018 The PHP Group\nZend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies\n    with Zend OPcache v7.3.4-2, Copyright (c) 1999-2018, by Zend Technologies<\/code><\/pre>\n\n\n\n<p>Configure PHP timezone by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>sed -i 's\/;date.timezone =\/date.timezone = Europe\\\/Berlin\/' \/etc\/php\/7.3\/apache2\/php.ini<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Download WonderCMS<\/h3>\n\n\n\n<p>As of this writing, WonderCMS 2.7.0 is the latest version. Navigate to the <a href=\"https:\/\/www.wondercms.com\/latest\" target=\"_blank\" rel=\"noopener\">downloads page<\/a> and grab it. You can simply pull it by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/github.com\/robiso\/wondercms\/releases\/download\/2.7.0\/WonderCMS-2.7.0.zip<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install WonderCMS on Debian 10 Buster<\/h3>\n\n\n\n<p>Installing WonderCMS is as simple as extracting the zipped file to your web root directory. There is <strong>No configuration needed<\/strong>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install zip\nunzip WonderCMS-2.7.0.zip -d \/var\/www\/html\/<\/code><\/pre>\n\n\n\n<p>Set the owner and group ownership of the WonderCMS web directory to Apache web user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R www-data:www-data \/var\/www\/html\/wondercms<\/code><\/pre>\n\n\n\n<p>You can as well install it directly by pulling WonderCMS git directory;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install git\ngit clone https:\/\/github.com\/robiso\/wondercms.git \/var\/www\/html\/wondercms<\/code><\/pre>\n\n\n\n<p>The change the owner and group permission.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R www-data:www-data \/var\/www\/html\/wondercms<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create WonderCMS Apache Configuration<\/h3>\n\n\n\n<p>Create WonderCMS Apache configuration file with the following content.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/etc\/apache2\/sites-available\/wondercms.conf<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;VirtualHost *:80>\n\tServerAdmin webmaster@localhost\n        ServerName wondercms.example.com\n\n\tDocumentRoot \/var\/www\/html\/wondercms\n\n        Redirect \/wondercms\/loginURL \/loginURL\n\n        &lt;Directory \/var\/www\/html\/wondercms\/>\n             Options FollowSymlinks\n             AllowOverride All\n             Require all granted\n        &lt;\/Directory>\n\n\tErrorLog ${APACHE_LOG_DIR}\/wondercms-error.log\n\tCustomLog ${APACHE_LOG_DIR}\/wondercms-access.log combined\n&lt;\/VirtualHost><\/code><\/pre>\n\n\n\n<p>Note that the url, <strong>\/wondercms\/loginURL<\/strong> is redirected to <strong>\/loginURL<\/strong>.<\/p>\n\n\n\n<p>Save and quit the configuration file and run configuration test;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apachectl configtest<\/code><\/pre>\n\n\n\n<p>Enable WonderCMS site<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>a2ensite wondercms.conf<\/code><\/pre>\n\n\n\n<p>Disable default Apache site.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>a2dissite 000-default.conf<\/code><\/pre>\n\n\n\n<p>Enable Apache rewrite module<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>a2enmod rewrite<\/code><\/pre>\n\n\n\n<p>Restart Apache to activate the new configuration.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl restart apache2<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Accessing WonderCMS<\/h2>\n\n\n\n<p>You can now access WonderCMS from browser using the address <strong>http:\/\/wondercms.example.com<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-debian-10-buster.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1050\" height=\"355\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-debian-10-buster.png\" alt=\"Install WonderCMS on Debian 10 Buster\" class=\"wp-image-4041\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-debian-10-buster.png 1050w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-debian-10-buster-768x260.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" \/><\/a><\/figure>\n\n\n\n<p>Click on <strong>&#8220;Click to login<\/strong>&#8221; to login to your site using the provided password.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-login.png\"><img loading=\"lazy\" decoding=\"async\" width=\"938\" height=\"352\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-login.png\" alt=\"wondercms login on Debian 10 Buster\" class=\"wp-image-4042\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-login.png 938w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/wondercms-login-768x288.png 768w\" sizes=\"(max-width: 938px) 100vw, 938px\" \/><\/a><\/figure>\n\n\n\n<p>Change the default password by navigating to <strong>Settings &gt; Security<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/changepassword.png\"><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"601\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/changepassword.png\" alt=\"WonderCMS change password\" class=\"wp-image-4043\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/changepassword.png 957w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/08\/changepassword-768x482.png 768w\" sizes=\"(max-width: 957px) 100vw, 957px\" \/><\/a><\/figure>\n\n\n\n<p>You have successfully installed WonderCMS on Debian 10 Buster. You can now explore WonderCMS. Enjoy.<\/p>\n\n\n\n<p>Here are 5 WonderCMS safety recommended tips;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Change the&nbsp;<strong>default password<\/strong>&nbsp;and&nbsp;<strong>default login URL<\/strong>&nbsp;immediately. The default login URL will then automatically disappear from your footer.<\/li><li>Install themes and plugins only from sources you trust.<\/li><li>Regularly update WonderCMS and always create backups.<\/li><li>WonderCMS supports running JavaScript anywhere.&nbsp;<strong>Be careful not to paste random JavaScript code<\/strong>.<\/li><li>WonderCMS supports uploading SVG&#8217;s, which could also contain JavaScript code.&nbsp;<strong>Don&#8217;t get tricked into uploading malicious SVG&#8217;s<\/strong>. If in doubt, avoid uploading SVG file extensions.<\/li><\/ul>\n\n\n\n<p>Learn more about WonderCMS on their wiki page.<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/robiso\/wondercms\/wiki\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"WonderCMS wiki (opens in a new tab)\">WonderCMS wiki<\/a><\/p>\n\n\n\n<p>Other Tutorials;<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-automad-cms-on-debian-10-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Automad CMS on Debian 10\/Ubuntu 18.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-use-docker-on-debian-10-buster\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install and Use Docker on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-kolide-fleet-osquery-fleet-manager-on-debian-10\/\" target=\"_blank\">Install Kolide Fleet Osquery Fleet Manager on Debian 10<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-osquery-on-debian-10-buster\/\" target=\"_blank\">Install Osquery on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-zabbix-4-x-from-sources-on-debian-10-buster\/\" target=\"_blank\">Install Zabbix 4.x from Sources on Debian 10 Buster<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-icinga-2-on-debian-10-buster\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install Icinga 2 on Debian 10 Buster<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to our guide on how to install WonderCMS on Debian 10 Buster. WonderCMS is a small, light and simple, free and opensource flat file<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[1087,121],"tags":[1039,1088],"class_list":["post-4026","post","type-post","status-publish","format-standard","hentry","category-cms","category-howtos","tag-debian-10-buster","tag-wondercms","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4026"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=4026"}],"version-history":[{"count":12,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4026\/revisions"}],"predecessor-version":[{"id":4081,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4026\/revisions\/4081"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=4026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=4026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=4026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}