<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wonder &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/wonder/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.hostry.com</link>
	<description>Full information on how to use HOSTRY, provided by 24/7 community based support</description>
	<lastBuildDate>Thu, 03 Dec 2020 10:21:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.12</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Wonder &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to install WonderCMS on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-wondercms-on-ubuntu-18-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-wondercms-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Thu, 12 Dec 2019 12:05:34 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1096</guid>

					<description><![CDATA[WonderCMS is a small and very fast open source CMS written in PHP. It is designed to work with flat files, which should be very small and light. A great advantage for many is that WonderCMS does not require a traditional database such as MySQL. Verify Ubuntu Version First you [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://www.wondercms.com/">WonderCMS</a></em></strong> is a small and very fast open source CMS written in PHP. It is designed to work with flat files, which should be very small and light. A great advantage for many is that WonderCMS does not require a traditional database such as MySQL.</p>



<h2 id="verify-ubuntu-version" >Verify Ubuntu Version</h2>



<p>First you need to verify your version of <strong>Ubuntu</strong>. This can be done with the following command:</p>



<pre class="wp-block-code"><code>lsb_release -ds
# Ubuntu 18.04.1 LTS</code></pre>



<p>Then create a new <strong>non-root</strong> user account with <strong>sudo</strong> access and switch to it</p>



<pre class="wp-block-code"><code>adduser alexmoure --gecos "Alex Moure"
usermod -aG sudo alexmoure
su - alexmoure</code></pre>



<p><strong><em>Important! </em></strong>Change the<strong> &#8220;Alex Moure&#8221;</strong> on your user name</p>



<p>Set the time zone</p>



<pre class="wp-block-code"><code>sudo dpkg-reconfigure tzdata</code></pre>



<p>Make sure your system is up to date</p>



<pre class="wp-block-code"><code>sudo apt update &amp;&amp; sudo apt upgrade -y</code></pre>



<p>Install the necessary packages</p>



<pre class="wp-block-code"><code>sudo apt install -y zip unzip curl wget git</code></pre>



<h2 id="install-php" >Install PHP</h2>



<p>Install PHP and all necessary permissions</p>



<pre class="wp-block-code"><code>sudo apt install -y php7.2 php7.2-cli php7.2-fpm php7.2-common php7.2-curl php7.2-zip php7.2-mbstring</code></pre>



<p>Check the version</p>



<pre class="wp-block-code"><code>php --version
# PHP 7.2.15-0ubuntu0.18.04.1 (cli) (built: Feb  8 2019 14:54:22) ( NTS )</code></pre>



<h2 id="install-nginx" >Install nginx</h2>



<p>You can install <strong>Nginx</strong> web server using this command:</p>



<pre class="wp-block-code"><code>sudo apt install -y nginx</code></pre>



<p>Check version</p>



<pre class="wp-block-code"><code>sudo nginx -v
# nginx version: nginx/1.14.0 (Ubuntu)</code></pre>



<p>Run sudo vim <strong>/etc/nginx/sites-available/wondercms.conf</strong> and configure Nginx for WonderCMS</p>



<pre class="wp-block-code"><code>server {

  listen 80;

  server_name example.com;
  root /var/www/wondercms;

  index index.php;


  location / {
    if (!-e $request_filename) {
      rewrite ^/(.+)$ /index.php?page=$1 last;
    }
  }
  location ~ database.js {
    return 403;
  }

  location ~ \.php(/|$) {
    include snippets/fastcgi-php.conf;
    fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  }

}</code></pre>



<p>Save the file and exit</p>



<p>Activate the new <strong>wondercms.conf</strong> configuration by linking the file to the<strong> sites-enabled</strong> directory</p>



<pre class="wp-block-code"><code>sudo ln -s /etc/nginx/sites-available/wondercms.conf /etc/nginx/sites-enabled/</code></pre>



<p>Check the configuration</p>



<pre class="wp-block-code"><code>sudo nginx -t</code></pre>



<p>Restart Nginx</p>



<pre class="wp-block-code"><code>sudo systemctl reload nginx.service</code></pre>



<h2 id="install-wondercms" >Install WonderCMS</h2>



<p>For the beginning you need to create the root directory of the document</p>



<pre class="wp-block-code"><code>sudo mkdir -p /var/www/wondercms</code></pre>



<p>Change the owner of the<strong> /var/www/wondercms </strong>directory to <em><strong>alexmoure</strong></em></p>



<pre class="wp-block-code"><code>sudo chown -R alexmoure:alexmoure /var/www/wondercms</code></pre>



<p>Go to the root folder of the document</p>



<pre class="wp-block-code"><code>cd /var/www/wondercms</code></pre>



<p>Download and unzip WonderCMS</p>



<pre class="wp-block-code"><code>wget https://github.com/robiso/wondercms/releases/download/2.6.0/WonderCMS-2.6.0.zip
unzip WonderCMS-2.6.0.zip
rm WonderCMS-2.6.0.zip</code></pre>



<p>Then you need to Move the <strong>WonderCMS</strong> files to the root directory of the document</p>



<pre class="wp-block-code"><code>mv wondercms/* . &amp;&amp; mv  wondercms/.* .
rmdir wondercms</code></pre>



<p>Change the owner of the <strong>/var/www/wondercms</strong>м directory to <strong>www-data</strong></p>



<pre class="wp-block-code"><code>sudo chown -R www-data:www-data /var/www/wondercms</code></pre>



<p>Open your website in a web browser and log in with the default password, <strong>admin </strong>and then change the default password.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-wondercms-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>468</slash:comments>
		
		
			</item>
	</channel>
</rss>
