<?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>CMS Installing &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-categories/cms-installing/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>Tue, 03 Aug 2021 10:24:39 +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>CMS Installing &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Install Concrete5 on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-concrete5-on-ubuntu-18-04/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 04 Dec 2020 09:25:44 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2660</guid>

					<description><![CDATA[Concrete5 is an open source content management system (CMS) written in PHP. It was designed for ease of use and provides a web interface that allows users to edit content right from the page. Concrete5 can be installed on top of a LAMP stack in Ubuntu 18.04. This content management [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.concrete5.org/">Concrete5</a></strong> is an open source content management system (CMS) written in PHP. It was designed for ease of use and provides a web interface that allows users to edit content right from the page. <strong>Concrete5</strong> can be installed on top of a LAMP stack in Ubuntu 18.04. This content management system was created in 2003. Its purpose was based on supporting pixel websites for an online store of national brands. It was not a blog tool, news site, or any other solution. This CMS is ISO 27001 certified upon download for use on your systems. Alternatively, you can host and benefit from our many years of experience with secure websites for the US government and Fortune 500 companies.</p>



<h2 id="installing-dependencies-apache-mysql-php" >Installing dependencies (Apache, MySQL, PHP)</h2>



<p>Comcrete5 is powered by LAMP, so this step is required and very important. This can be done using the following special commands:</p>



<pre class="wp-block-code"><code>apt-get update
apt-get install apache2 mysql-server php7.0 php7.0-mysql php7.0-gd php7.0-mcrypt php7.0-xml php7.0-mbstring libapache2-mod-php7.0 unzip -y</code></pre>



<p>Enter your secure MySQL password when prompted.</p>



<h2 id="mysql-database-setup" >MySQL Database Setup</h2>



<p>Once you have successfully installed all the dependencies, you can proceed to configure MySQL. Start the installation by running the following command:</p>



<pre class="wp-block-code"><code>/usr/bin/mysql_secure_installation</code></pre>



<p>Next, you will be asked to enter your MySQL password you created earlier. Answer the requested and required questions to complete the installation</p>



<pre class="wp-block-code"><code>Would you like to setup VALIDATE PASSWORD plugin? &#91;Y/N] N
Change the root password? &#91;Y/N] N
Remove anonymous users? &#91;Y/N] Y
Disallow root login remotely? &#91;Y/N] Y
Remove test database and access to it? &#91;Y/N] Y
Reload privilege tables now? &#91;Y/N] Y</code></pre>



<h2 id="create-mysql-database-for-concrete5" >Create MySQL Database for Concrete5</h2>



<p>The first step is to log into the MySQL console</p>



<pre class="wp-block-code"><code>mysql -u root -p</code></pre>



<p>Next, we will ask for the password that you created earlier. After logging into the MySQL console, create a new database for <strong>Concrete5</strong></p>



<pre class="wp-block-code"><code>mysql&gt;CREATE DATABASE concrete5_db;</code></pre>



<p>After that, create a new user with the granted special rights to the newly created <strong>Concrete5</strong> database. You can replace user_name and password with any username and password of your choice</p>



<pre class="wp-block-code"><code>mysql&gt;GRANT ALL PRIVILEGES on concrete5_db.* to 'user_name'@'localhost' identified by 'password';
mysql&gt;FLUSH PRIVILEGES;</code></pre>



<p>Close the MySQL console</p>



<pre class="wp-block-code"><code>mysql&gt;exit</code></pre>



<h2 id="launching-and-installing-concrete5-cms" >Launching and Installing Concrete5 CMS</h2>



<p>Go to the root directory of your Apache server</p>



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



<p>After that, you need to download the<strong> Concrete5</strong> archive from the official site. Then unzip it and move the extracted files to <strong>/var/www/concrete5</strong></p>



<pre class="wp-block-code"><code>wget --trust-server-names http://www.concrete5.org/download_file/-/view/96959/ -O concrete5.zip
unzip concrete5.zip
rm concrete5.zip
mv concrete5-8.2.1 concrete5
cd concrete5</code></pre>



<p>Make the concrete5 directory writable for <strong>Concrete5</strong></p>



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



<p>Enable Apache rewrite module</p>



<pre class="wp-block-code"><code>sudo a2enmod rewrite</code></pre>



<p>Restart Apache</p>



<pre class="wp-block-code"><code>systemctl restart apache2</code></pre>



<h2 id="complete-the-installation-using-the-concrete5-web-interface" >Complete the Installation Using the Concrete5 Web Interface</h2>



<p>You can now complete the installation using the Concrete5 web interface. Open your web browser and go to, <strong>http://[your-server-ip]/concrete5</strong> to launch the installer. During installation, you will be prompted to enter your MySQL options. Use the<strong> user_name, password and database name</strong> you created earlier</p>



<pre class="wp-block-code"><code>MySQL Username: user_name
MySQL Password: password
Database Name: concrete5_db</code></pre>



<p>Now, the installation is complete, you can navigate to the newly created Concrete5 based website.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How To Install Drupal CMS using Nginx on Ubuntu 20.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-drupal-cms-using-nginx-on-ubuntu-20-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-drupal-cms-using-nginx-on-ubuntu-20-04/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 09:39:19 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=4090</guid>

					<description><![CDATA[Drupal is a dedicated CMS platform. It is written in PHP and is open source. This CMS is very popular and has many free templates and plugins. In this article, you will learn how to install Drupal 9 with Nginx on Ubuntu 20.04. On the Hostry website, in the services [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://www.drupal.org/">Drupal</a></strong> is a dedicated CMS platform. It is written in PHP and is open source. This CMS is very popular and has many free templates and plugins. In this article, you will learn how to install Drupal 9 with Nginx on <strong>Ubuntu 20.04</strong>.</p>



<blockquote class="wp-block-quote"><p><strong>On the Hostry website, in the services section, you can select a server with LAMP already installed, you will not need to additionally install it.</strong></p></blockquote>



<figure class="wp-block-image size-large is-resized"><img src="https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-1024x599.png" alt="" class="wp-image-4095" width="831" height="486" srcset="https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-1024x599.png 1024w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-300x175.png 300w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-768x449.png 768w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-50x29.png 50w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-920x538.png 920w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-600x351.png 600w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11-320x187.png 320w, https://help.hostry.com/wp-content/uploads/2021/08/Снимок-экрана-от-2021-08-03-09-55-11.png 1083w" sizes="(max-width: 831px) 100vw, 831px" /></figure>



<p>Once you have selected this option, you will need to configure a few things to get Drupal up and running.</p>



<h2 id="configuring-nginx-for-this-cms" >Configuring Nginx for this CMS</h2>



<p>The first step is to make changes to your default Nginx server configuration block to use the PHP processor. This is because we will be using the IP address to access the portal:</p>



<pre class="wp-block-code"><code>nano /etc/nginx/sites-available/default</code></pre>



<p>You need to replace the entire contents of the file with the text shown below. Then change the IP address of the example (192.1.3.4) to the IP address of your server.</p>



<pre class="wp-block-code"><code>server {
    listen 80 default_server;
    listen &#91;::]:80 default_server;

    root /var/www/html/drupal;

    index index.html index.htm index.nginx-debian.html index.php;

    server_name 192.1.3.4;

    location / {
        try_files $uri $uri/ /index.php$is_args$args;
    }

    location = /favicon.ico { log_not_found off; access_log off; }
    location = /robots.txt { log_not_found off; access_log off; allow all; }
    location ~* \.(css|gif|ico|jpeg|jpg|js|png)$ {
        expires max;
        log_not_found off;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}</code></pre>



<p>Then, after a successful change, you can try testing:</p>



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



<p><strong>Restart</strong> your <strong>Nginx</strong> so that all changes are successfully updated</p>



<pre class="wp-block-code"><code>systemctl restart nginx</code></pre>



<h2 id="configuring-mariadb-for-drupal" >Configuring MariaDB for Drupal</h2>



<p>First you need to log into <strong>MariaDB</strong></p>



<pre class="wp-block-code"><code>mariadb</code></pre>



<p>Create a database named </p>



<pre class="wp-block-code"><code>CREATE DATABASE drupal;</code></pre>



<p>Then you need to grant privileges to the <strong>drupal</strong> database</p>



<pre class="wp-block-code"><code>GRANT ALL ON drupal.* TO 'drupal'@'localhost' IDENTIFIED BY 'StrongPassword';</code></pre>



<p>Then you need to update for the changes to take effect:</p>



<pre class="wp-block-code"><code>FLUSH PRIVILEGES;</code></pre>



<p>The last step is to log out of <strong>MariaDB</strong></p>



<pre class="wp-block-code"><code>\q</code></pre>



<h2 id="installing-drupal" >Installing Drupal</h2>



<p>If you don&#8217;t have unzip installed yet, you can install it as follows:</p>



<pre class="wp-block-code"><code>apt install unzip</code></pre>



<p>Download the latest version of Drupal from the Drupal download page</p>



<p><a href="https://www.drupal.org/download">https://www.drupal.org/download</a></p>



<p>Extract the compressed file and browse to it.</p>



<pre class="wp-block-code"><code>unzip drupal-9.1.4.zip
cd drupal-9.1.4</code></pre>



<p>Create directory <strong>/var/www/html/drupal</strong></p>



<pre class="wp-block-code"><code>mkdir /var/www/html/drupal</code></pre>



<p>Move all files in the current directory to <strong>/var/www/html/drupal</strong> directory</p>



<pre class="wp-block-code"><code>mv * /var/www/html/drupal</code></pre>



<p>Go to <strong>var/www/html/drupal/sites/default </strong>directory and copy the default.settings.php config file to settings.php</p>



<pre class="wp-block-code"><code>cd /var/www/html/drupal/sites/default
cp default.settings.php settings.php</code></pre>



<p>Set the ownership of the <strong>drupal</strong> directory for the current user and group</p>



<pre class="wp-block-code"><code>chown -R www-data:www-data /var/www/html/drupal/
chmod -R 755 /var/www/html/drupal/</code></pre>



<p>Access the Drupal page through a browser using your IP address. For example:</p>



<p><a href="http://192.1.3.4">http://192.1.3.4</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-drupal-cms-using-nginx-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>393</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Fuel CMS on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-fuel-cms-on-centos-7/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-fuel-cms-on-centos-7/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 10:33:26 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=873</guid>

					<description><![CDATA[Fuel CMS is a content management system for premium sites. This system is built on the popular PHP Codelginter web platform. Most content editors use this particular CMS because it has an attractive look. Developers like it for its openness and thoughtfulness. In this article we will look at how [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><span style="text-decoration: underline;"><em><a href="https://www.getfuelcms.com/">Fuel CMS</a></em></span></strong> is a content management system for premium sites. This system is built on the popular PHP Codelginter web platform. Most content editors use this particular CMS because it has an attractive look. Developers like it for its openness and thoughtfulness. </p>



<p>In this article we will look at how you can install Fuel CMS on CentOS 7. For this CMS, you will need MySQL, since the Fuel administrator does not currently support other databases.</p>



<p></p>



<h2 id="php-installation" >PHP installation</h2>



<p>First, you need to configure the WebtaticYUM repository</p>



<pre class="wp-block-code"><code>sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm</code></pre>



<p>Then, download and install PHP</p>



<pre class="wp-block-code"><code>sudo yum install -y php72w php72w-cli php72w-fpm php72w-mysqlnd php72w-common</code></pre>



<p>Checking PHP Version</p>



<pre class="wp-block-code"><code>php --version</code></pre>



<p>Next, you will need to start and enable the PHP-FPM service</p>



<pre class="wp-block-code"><code>sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service</code></pre>



<h2 id="install-mariadb" >Install MariaDB</h2>



<p>Set up the <strong><em><a href="https://en.wikipedia.org/wiki/MariaDB">MariaDB </a></em></strong>repository. Run<em> </em><strong><em>sudo vi /etc/yum.repos.d/MariaDB.repo</em></strong> and fill it with the text below:</p>



<pre class="wp-block-code"><code>[mariadb]
name = MariaDB
baseurl = https://yum.mariadb.org/10.2/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1</code></pre>



<p>Install the MariaDB database server</p>



<pre class="wp-block-code"><code>sudo yum install -y MariaDB-server MariaDB-client</code></pre>



<p>Launch and enable MariaDB</p>



<pre class="wp-block-code"><code>sudo systemctl start mariadb.service
sudo systemctl enable mariadb.serviсe</code></pre>



<p>Run the<strong><em> mysql_secure_installation </em></strong>script to increase the security of your MariaDB installation.</p>



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



<p>Next, log in to MariaDB as the root user</p>



<pre class="wp-block-code"><code>sudo mysql -u root -p
# Enter password:</code></pre>



<p>Create a new MariaDB database and database user and remember the credentials. <em>IMPORTANT</em>! Replace <strong>dbname</strong> and <strong>username</strong> with the appropriate names for your configuration. Replace<strong> password</strong> with a strong password.</p>



<h2 id="nginx-installation" >Nginx installation </h2>



<p>Install Nginx Web Server</p>



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



<p>Check web server version</p>



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



<p>Enable Nginx</p>



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



<p>It is important to configure Nginx for Fuel CMS. Run <strong>sudo vim /etc/nginx/conf.d/fuel.conf</strong> and then fill the file with the configuration shown below:</p>



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

  listen 80;
  root /var/www/fuel;
  index index.php index.html index.htm;
  server_name example.com;

  location / {
    try_files $uri $uri/ /index.php?q=$uri&amp;$args;
  }

  location ~ \.php$ {
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
  }

}</code></pre>



<p>After we check the success of the Nginx configuration</p>



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



<p>After successfully setting up Nginx, restart it</p>



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



<h2 id="install-fuel-cms" >Install Fuel CMS</h2>



<p>The first thing you need is to create the root directory of the document </p>



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



<p>Change Owner<strong><em> /var/www/fuel</em></strong> on <strong><em>johndoe</em></strong></p>



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



<p>Download the latest version of Fuel CMS</p>



<pre class="wp-block-code"><code>cd /var/www/fuel
wget https://github.com/daylightstudio/FUEL-CMS/archive/master.zip
unzip master.zip
rm master.zip
mv FUEL-CMS-master/* .
rm -rf FUEL-CMS-master</code></pre>



<p>Then configure <strong><em>fuel/application/config/database.php</em></strong> file with the correct settings of connection to data base </p>



<pre class="wp-block-code"><code>vim fuel/application/config/database.php</code></pre>



<p>Imoprt <strong><em>fuel/install/fuel_schema.sql</em></strong> file to again creating data base</p>



<pre class="wp-block-code"><code>mysql -u username -p password &lt; fuel/install/fuel_schema.sql</code></pre>



<p><strong>IMPORTANT!</strong> Replase <strong><span style="text-decoration: underline;"><em>username </em></span></strong><em> </em> and <strong><em><span style="text-decoration: underline;">password </span></em></strong> with your database credentials. <br>Change the <strong>$ config [&#8216;encryption_key&#8217;] </strong>line <strong>327</strong> found in the<strong><em> fuel/application/config/config.php</em></strong> file. To generate a random key, you can use the <strong><span style="text-decoration: underline;">openssl </span></strong>tool. </p>



<pre class="wp-block-code"><code>vim fuel/application/config/config.php</code></pre>



<p>Then you need to enable the administrative server by changing<strong> $config [&#8216;admin enabled&#8217;] = FALSE</strong> to <strong>TRUE</strong>.</p>



<pre class="wp-block-code"><code>vim fuel/application/config/MY_fuel.php</code></pre>



<p>Create the <strong>/var/lib/php/session</strong> directory and change its owner to the <strong>nginx</strong> user</p>



<pre class="wp-block-code"><code>sudo mkdir -p /var/lib/php/session &amp;&amp; sudo chown -R nginx:nginx /var/lib/php/session</code></pre>



<p>Change the owner of the<strong><em> /var/www/fuel</em></strong> directory to nginx</p>



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



<p>Run sudo vim<em> </em><strong><em>/etc/php-fpm.d/www.conf</em></strong><em> </em>and set the user and group to nginx. Initially, they will both be installed in apache</p>



<pre class="wp-block-code"><code>sudo vi /etc/php-fpm.d/www.conf
# user = nginx
# group = nginx</code></pre>



<p>Restart PHP-FPM service</p>



<pre class="wp-block-code"><code>sudo systemctl restart php-fpm.service</code></pre>



<p>Open your website and follow the Fuel CMS installer using your favorite web browser. After installation, the Fuel CMS installer will be up and running. To access the Fuel administration area, add <strong><em>/fuel</em></strong> URL to your site. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-fuel-cms-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Grav CMS on Fedora 28</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-grav-cms-on-fedora-28/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-grav-cms-on-fedora-28/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 10 Dec 2019 07:27:38 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1034</guid>

					<description><![CDATA[The Grav administration plugin is a very simple and intuitive interface. It makes setting up content creation very enjoyable and easy! This CMS is open source, and written in PHP. Checking Fedora Version Before we begin the installation of Grav CMS, we must check the version of Fedora Next, you [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>The Grav administration plugin is a very simple and intuitive interface. It makes setting up content creation very enjoyable and easy! This CMS is open source, and written in PHP.</p>



<h2 id="checking-fedora-version" >Checking Fedora Version</h2>



<p>Before we begin the installation of Grav CMS, we must check the version of Fedora</p>



<pre class="wp-block-code"><code>cat /etc/fedora-release
# Fedora release 28 (Twenty Eight)</code></pre>



<p>Next, you need to create a new account, it is important that it is non-root and go to it</p>



<pre class="wp-block-code"><code>useradd -c "Alex Moure" alexmoure &amp;&amp; passwd johndoe
usermod -aG wheel alexmoure
su - alexmoure</code></pre>



<p><strong>Note! In this manual, replace &#8220;alexmoure&#8221; with your username</strong></p>



<p>Set the time zone</p>



<pre class="wp-block-code"><code>timedatectl list-timezones
sudo timedatectl set-timezone 'Region/City'</code></pre>



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



<pre class="wp-block-code"><code>sudo dnf check-upgrade || sudo dnf upgrade -y</code></pre>



<p>Install the necessary packages</p>



<pre class="wp-block-code"><code>sudo dnf install -y wget curl vim unzip</code></pre>



<p>For easier operation, disable SELinux and Firewall</p>



<pre class="wp-block-code"><code>sudo setenforce 0 ; sudo systemctl stop firewalld ; sudo systemctl disable firewalld</code></pre>



<h2 id="install-php-and-the-necessary-php-extensions" >Install PHP and the necessary PHP extensions</h2>



<p>To install, enter the following command:</p>



<pre class="wp-block-code"><code>sudo dnf install -y php-cli php-fpm php-common php-curl php-gd php-json php-mbstring php-xml php-zip php-opcache php-pecl-apcu</code></pre>



<p>Check the version</p>



<pre class="wp-block-code"><code>php --version</code></pre>



<p>Next, you need to start and enable the PHP-FPM service</p>



<pre class="wp-block-code"><code>sudo systemctl start php-fpm.service
sudo systemctl enable php-fpm.service</code></pre>



<h2 id="install-and-configure-nginx" >Install and configure Nginx</h2>



<p>To install, enter the following:</p>



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



<p>Check the version of Nginx</p>



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



<p>Launch and enable the Nginx service</p>



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



<p>Then configure Nginx. Run sudo vim <strong>/etc/nginx/conf.d/grav.conf</strong> and fill in the file with the following configuration</p>



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

  listen 80;

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

  index index.html index.php;

  location / {
    try_files $uri $uri/ /index.php?$query_string;
  }

  location ~* /(\.git|cache|bin|logs|backup|tests)/.*$ { return 403; }
  location ~* /(system|vendor)/.*\.(txt|xml|md|html|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }
  location ~* /user/.*\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }
  location ~ /(LICENSE\.txt|composer\.lock|composer\.json|nginx\.conf|web\.config|htaccess\.txt|\.htaccess) { return 403; }

  location ~ \.php$ {
    fastcgi_pass unix:/run/php-fpm/www.sock;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
  }

}</code></pre>



<p>Then check the configuration of Nginx</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-grav" >Install Grav</h2>



<p>Create the root directory of the document</p>



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



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



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



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



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



<p>Then download and unzip Grav</p>



<pre class="wp-block-code"><code>wget https://getgrav.org/download/core/grav-admin/1.4.8
unzip 1.4.8
mv grav-admin/* . &amp;&amp; mv grav-admin/.* .
rm -rf grav-admin 1.4.8</code></pre>



<p>After successful unpacking Change the owner of the <strong>/var/www/grav </strong>directory to<strong> nginx</strong></p>



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



<p>Run sudo vim <strong>/etc/php-fpm.d/www.conf</strong> and set the user and group to <strong>nginx</strong></p>



<pre class="wp-block-code"><code>sudo vim /etc/php-fpm.d/www.conf
# user = nginx
# group = nginx</code></pre>



<p>Restart the PHP-FPM service</p>



<pre class="wp-block-code"><code>sudo systemctl restart php-fpm.service</code></pre>



<p>Create<strong> /var/lib/php/session/</strong> directory and change the owner to <strong>nginx</strong></p>



<pre class="wp-block-code"><code>sudo mkdir -p /var/lib/php/session/ &amp;&amp; sudo chown -R nginx:nginx /var/lib/php/session/</code></pre>



<p>Open <strong>http://example.com</strong> in your web browser and follow the instructions on the screen, so that you have access to Grav admin add <strong>/admin</strong> your URL</p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-grav-cms-on-fedora-28/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Grav CMS on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-grav-cms-on-ubuntu-18-04/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 01 Dec 2020 11:40:10 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2627</guid>

					<description><![CDATA[In 2016, Grav CMS was named the best open source CMS. Also Voted &#8220;Best Flat File CMS&#8221; in 2017 and 2019. Grav has a powerful API and a sophisticated package manager, making it super flexible. It is written in PHP and its source code Grav is publicly posted on GitHub. [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>In 2016, <strong><a href="https://getgrav.org/">Grav</a></strong> CMS was named the best open source CMS. Also Voted &#8220;Best Flat File CMS&#8221; in 2017 and 2019. Grav has a powerful API and a sophisticated package manager, making it super flexible. It is written in  PHP and its source code Grav is publicly posted on GitHub. The Grav administration plugin is a very simple and intuitive interface. This makes setting up your content creation really nice and easy! In this article we will try to tell you in detail and describe the possibility of installing this CMS on Ubuntu 18.04. </p>



<h2 id="steps-to-be-taken-before-installation" >Steps To Be Taken Before Installation</h2>



<p>First, you need to check your version of Ubuntu OS. This can be done as follows:</p>



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



<p>Next, you must create a <span style="text-decoration: underline;">new</span> <strong>non-root</strong> user account with sudo access and then switch to it</p>



<pre class="wp-block-code"><code>adduser Username --gecos "User Name"
usermod -aG sudo usename
su - Username</code></pre>



<p>Set up  your necessary 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 <strong>unzip</strong></p>



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



<h2 id="install-php-and-required-php-extensions" >Install PHP and Required PHP Extensions</h2>



<p>You can install this using the following command:</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-gd php7.2-json php7.2-mbstring php7.2-xml php7.2-zip php7.2-opcache php-apcu
</code></pre>



<h2 id="install-and-configure-nginx" >Install and Configure Nginx</h2>



<p>You can install this web server using the following command:</p>



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



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



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

  listen 80;

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

  index index.html index.php;

  location / {
    try_files $uri $uri/ /index.php?$query_string;
  }

  location ~* /(\.git|cache|bin|logs|backup|tests)/.*$ { return 403; }
  location ~* /(system|vendor)/.*\.(txt|xml|md|html|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }
  location ~* /user/.*\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ { return 403; }
  location ~ /(LICENSE\.txt|composer\.lock|composer\.json|nginx\.conf|web\.config|htaccess\.txt|\.htaccess) { return 403; }

  location ~ \.php$ {
    fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_index index.php;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
  }

}</code></pre>



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



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



<p>Then, after activation, you need to test the configuration</p>



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



<p>Then. restart your Nginx server </p>



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



<h2 id="install-grav" >Install Grav</h2>



<p>Before installation, there is a need to create a document root directory</p>



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



<p>Change the owner of the <strong>/var/www/grav</strong> directory to <strong><em>username</em></strong>.</p>



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



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



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



<p>Download the latest <strong>Grav</strong> zip and <strong>unzip </strong>it.</p>



<pre class="wp-block-code"><code>wget https://getgrav.org/download/core/grav-admin/1.5.6
unzip 1.5.6
mv grav-admin/* . &amp;&amp; mv grav-admin/.* .
rm -rf grav-admin 1.5.6</code></pre>



<p>Change the owner of the <strong>/var/www/grav</strong> directory to <strong><span style="text-decoration: underline;"><em>www-data</em></span></strong>.</p>



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



<p>Open <strong>http://example.com</strong> in your web browser and follow the instructions on the screen. To access your admin panel, <strong>add/admin</strong> to your url.</p>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to install Joomla! on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-joomla-on-ubuntu-18-04/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-joomla-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 10 Dec 2019 10:48:54 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1065</guid>

					<description><![CDATA[Joomla! is a very popular content management system that, like Grav, is written in PHP. This is the second most popular CMS after WordPress and as of 2017, about 3.3% of the world’s sites on the Internet platform use Joomla! Install Apache Update your storage list Install web-server Apache Install [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://www.joomla.org/">Joomla</a></em></strong>! is a very popular content management system that, like <strong><em><a href="https://help.hostry.com/knowledge-base/how-to-install-grav-cms-on-fedora-28/">Grav</a></em></strong>, is written in PHP. This is the second most popular CMS after WordPress and as of 2017, about 3.3% of the world’s sites on the Internet platform use Joomla!</p>



<h2 id="install-apache" >Install Apache</h2>



<p>Update your storage list</p>



<pre class="wp-block-code"><code>apt-get update</code></pre>



<p>Install web-server Apache</p>



<pre class="wp-block-code"><code>apt-get install apache2</code></pre>



<h2 id="install-mysql" >Install MySQL</h2>



<p>Joomla! runs on top of the LAMP stack. We will need to install MySQL and link it to PHP</p>



<pre class="wp-block-code"><code>apt-get install mysql-server php7.0-mysql</code></pre>



<p>You will be prompted for a MySQL password. Enter it and then continue.</p>



<p>Complete the MySQL installation by running command:</p>



<pre class="wp-block-code"><code>/usr/bin/mysql_secure_installation</code></pre>



<p>Next, you will be prompted for a password, enter the MySQL password you just created. Continue the installation process</p>



<pre class="wp-block-code"><code>Would you like to setup VALIDATE PASSWORD plugin? [Y/N] N
Change the root password? [Y/N] N
Remove anonymous users? [Y/N] Y
Disallow root login remotely? [Y/N] Y
Remove test database and access to it? [Y/N] Y
Reload privilege tables now? [Y/N] Y</code></pre>



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



<p>Joomla!requires PHP, to install please enter the folowwing command:</p>



<pre class="wp-block-code"><code>apt-get install php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-xml php7.0-curl php7.0-json php7.0-cgi </code></pre>



<h2 id="confirmation-of-lamp-installation" >Confirmation of LAMP Installation</h2>



<p>To confirm that the LAMP installation was successful, open a web browser and go to the IP address of your server. You should see the Apache2 Ubuntu Default Page page. To confirm that PHP was successfully installed, please delete the default page </p>



<pre class="wp-block-code"><code>rm /var/www/html/index.html</code></pre>



<p>Then create a new file</p>



<pre class="wp-block-code"><code>touch /var/www/html/index.php</code></pre>



<p>Edit this:</p>



<pre class="wp-block-code"><code>nano /var/www/html/index.php</code></pre>



<p>Then enter a sample PHP code, for example:</p>



<pre class="wp-block-code"><code>&lt;?php
phpinfo();
?></code></pre>



<p>Go to your server in the browser. You should see a page with information about your PHP installation confirming that PHP was installed successfully.</p>



<p>After this, now remove <strong>index.php </strong>file</p>



<pre class="wp-block-code"><code>rm /var/www/html/index.php</code></pre>



<h2 id="install-joomla-files" >Install Joomla! files</h2>



<p>After successfully installing the LAMP stack, you can proceed with the installation of Joomla!. Go to the root of the Apache web server and download Joomla!.</p>



<pre class="wp-block-code"><code>cd /var/www/html
wget https://downloads.joomla.org/cms/joomla3/3-7-5/Joomla_3-7.5-Stable-Full_Package.zip</code></pre>



<p>Install <strong>unzip</strong>, then to be able to unzip the downloaded archive</p>



<pre class="wp-block-code"><code>apt-get install unzip</code></pre>



<p>Unzip the downloaded Joomla!archive</p>



<pre class="wp-block-code"><code>unzip Joomla_3-7.5-Stable-Full_Package.zip</code></pre>



<p>Activate the <strong>.htaccess</strong> file by renaming it</p>



<pre class="wp-block-code"><code>mv htaccess.txt .htaccess</code></pre>



<p>After activating the <strong>.htaccess</strong> file, you can set the appropriate permissions for the files</p>



<pre class="wp-block-code"><code>chown -R www-data.www-data /var/www/html
chmod -R 755 /var/www/html</code></pre>



<h2 id="creation-of-joomla-mysql-database" >Creation of Joomla! MySQL database</h2>



<p>Before proceeding with the installation, you will need a MySQL database for Joomla!. Log in to the MySQL console</p>



<pre class="wp-block-code"><code>mysql -u root -p</code></pre>



<p>Next, enter the root password created in step 2 to continue. After entering the MySQL console, create a new database for Joomla! </p>



<pre class="wp-block-code"><code>mysql>CREATE DATABASE joomla;</code></pre>



<p>Next, you need to create a new user and grant him Joomla privileges! database. You can replace username and password with the username and password of your choice</p>



<pre class="wp-block-code"><code>mysql>GRANT ALL PRIVILEGES on joomla.* to 'username'@'localhost' identified by 'password';
mysql>FLUSH PRIVILEGES</code></pre>



<p>Exit the MySQL console.</p>



<pre class="wp-block-code"><code>mysql>exit</code></pre>



<h2 id="install-joomla" >Install Joomla!</h2>



<p>Restart the Apache web-server</p>



<pre class="wp-block-code"><code>systemctl restart apache2</code></pre>



<p>Open a browser and browse to the IP address of your server. You will see Joomla! web interface. Continue the installation process. In the &#8220;<strong>Database Configuration</strong>&#8221; section, you must enter the username, password and MySQL database. The <strong>username</strong> and <strong>password</strong> must be taken above where you created it in the section &#8220;<strong>Creation of Joomla! MySQL database</strong>&#8220;</p>



<pre class="wp-block-code"><code>Database Type: MySQLi
Host Name: localhost
Username: username
Password: password
Database Name: joomla
Table Prefix: joomla_
Old Database Process: Remove</code></pre>



<p>After entering the data, click “<strong>Next</strong>” and continue the installation process. Your Joomla! Installation completed!</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-joomla-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>227</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Strapi on Ubuntu 18.04</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-strapi-on-ubuntu-18-04/</link>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 16 Dec 2020 09:00:26 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=2704</guid>

					<description><![CDATA[Strapi is the most popular open source CMS. Strapi gives developers the freedom to use their favorite tools and frameworks, allowing editors to easily manage their content and distribute it anywhere. This CMS is designed for build secure apps and API services. Install NodeJS and NPM To get started you [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://strapi.io/">Strapi</a></strong> is the most popular open source CMS. Strapi gives developers the freedom to use their favorite tools and frameworks, allowing editors to easily manage their content and distribute it anywhere. This CMS is designed for build secure apps and API services. </p>



<h2 id="install-nodejs-and-npm" >Install NodeJS and NPM</h2>



<p>To get started you need to install NodeJS and also NPM. To do this, run the following commands:</p>



<pre class="wp-block-code"><code>curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs</code></pre>



<p>To check the NodeJS and NPM versions, you can use the following commands:</p>



<pre class="wp-block-code"><code>node -v &amp;&amp; npm -v
# v10.x.x
# 6.x.x</code></pre>



<p>In order for some NPM packages to work correctly and well, you need to install the <strong>build-essential</strong> package:</p>



<pre class="wp-block-code"><code>sudo apt-get install build-essential</code></pre>



<h2 id="install-mongodb" >Install MongoDB</h2>



<p>Import the MongoDB GPG key into your system. To do this, issue the following command:</p>



<pre class="wp-block-code"><code>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6</code></pre>



<p>After you have successfully imported this GPG key, then you need to create a run list file:</p>



<pre class="wp-block-code"><code>echo "deb &#91; arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.list</code></pre>



<p>Next, update the list of all packages using the command:</p>



<pre class="wp-block-code"><code>sudo apt-get update</code></pre>



<p>Install all required MongoDB packages:</p>



<pre class="wp-block-code"><code>sudo apt-get install -y mongodb-org</code></pre>



<p>Start MongoDB daemon:</p>



<pre class="wp-block-code"><code>sudo service mongod start</code></pre>



<p>Connect to MongoDB shell:</p>



<pre class="wp-block-code"><code>mongo</code></pre>



<p>Create MongoDB database and select your project name:</p>



<pre class="wp-block-code"><code>use my_api_project_default</code></pre>



<h2 id="install-strapi" >Install Strapi</h2>



<p>To install Strapi, enter the following command:</p>



<pre class="wp-block-code"><code>npm install strapi@alpha -g</code></pre>



<h2 id="create-your-personal-project" >Create Your Personal Project</h2>



<pre class="wp-block-code"><code>strapi new  my_api_project_default</code></pre>



<p>Respond appropriately to the following queries. In our example, we will select MongoDB as our main database, enter the database name that was created earlier and press <strong>ENTER</strong> to select the default options. It will look like this:</p>



<pre class="wp-block-code"><code>Lets configurate the connection to your database:
? Choose your main database: MongoDB
? Database name: my-api-project
? Host: 127.0.0.1
? +srv connection: false
? Port (It will be ignored if you enable +srv): 27017
? Username:
? Password:
? Authentication database (Maybe "admin" or blank):
? Enable SSL connection: false</code></pre>



<p>This will create a new folder named my_api_project_default with the entire file structure of the Strapi application. Then start your server:</p>



<pre class="wp-block-code"><code>strapi start</code></pre>



<p>Now that the Strapi server is running, you can register your first user by going to <strong>http://your_server_ip:1337/admin</strong></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Install Tiki Wiki CMS Groupware on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-tiki-wiki-cms-groupware-on-centos-7/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-tiki-wiki-cms-groupware-on-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Wed, 15 Apr 2020 07:27:50 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1583</guid>

					<description><![CDATA[Tiki Wiki CMS is also known as Tiki, a completely free wiki management system that has open source code. This manual offers you a quick installation of this CMS for the CentOS 7 operating system Install Apache, MySQL, PHP Tiki runs on top of the LAMP stack. Before installing this [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://tiki.org/">Tiki Wiki</a></em></strong> CMS is also known as Tiki, a completely free wiki management system that has open source code. This manual offers you a quick installation of this CMS for the CentOS 7 operating system</p>



<h2 id="install-apache-mysql-php" > Install Apache, MySQL, PHP</h2>



<p>Tiki runs on top of the LAMP stack. Before installing this cms, you need to install Apache, MySQL, PHP. Install <strong>Apache</strong> Web Server</p>



<pre class="wp-block-code"><code>sudo yum install httpd -y
sudo systemctl enable httpd.service
sudo systemctl start httpd.service</code></pre>



<p>Open ports <strong>80 </strong>and <strong>443 </strong>through the firewall in order to access the server from the Internet</p>



<pre class="wp-block-code"><code>sudo firewall-cmd --permanent --zone=public --add-service=http 
sudo firewall-cmd --permanent --zone=public --add-service=https
sudo firewall-cmd --reload</code></pre>



<p>Add <strong>MySQL </strong>repository and install <strong>MySQL</strong></p>



<pre class="wp-block-code"><code>sudo wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
sudo yum install mysql-server -y</code></pre>



<p>Complete MySQL installation</p>



<pre class="wp-block-code"><code>sudo systemctl enable mysqld.service
sudo systemctl start mysqld.service
sudo mysql_secure_installation</code></pre>



<p>Next, the current password will be requested, during installation you will be asked to enter your root password.</p>



<pre class="wp-block-code"><code>Set root password? [Y/n] Y    
New password: &lt;Your Password>
Re-enter new password: &lt;Your Password>
Remove anonymous users? [Y/N] Y
Disallow root login remotely? [Y/N] Y
Remove test database and access to it? [Y/N] Y
Reload privilege tables now? [Y/N] Y</code></pre>



<p>Add the Remi repository and install <strong>PHP 7.2</strong> and all the necessary <strong>PHP </strong>modules that are also necessary for <strong>Tiki CMS</strong></p>



<pre class="wp-block-code"><code>sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php72
sudo yum install php-curl php libapache2-mod-php php-common php-sqlite3 php-intl php-mbstring php-xmlrpc php-mysql php-gd php-xml php-cli php-zip -y</code></pre>



<h2 id="create-mysql-database-for-tiki" >Create MySQL Database for Tiki</h2>



<p>Tiki requires a MySQL database. Log in to the MySQL console</p>



<pre class="wp-block-code"><code>sudo mysql -u root -p</code></pre>



<p>Next, you will be prompted to enter a password, then you must enter the root password for MySQL that you installed earlier (this was written in the previous step). After you have successfully logged in, create a MySQL database for Tiki</p>



<pre class="wp-block-code"><code>mysql>CREATE DATABASE tiki;</code></pre>



<p>Create a new MySQL user and give him privileges (you can replace username and password) with the data of your choice</p>



<pre class="wp-block-code"><code>mysql>GRANT ALL PRIVILEGES ON tiki.* TO 'username'@'localhost' IDENTIFIED BY 'password';
mysql>FLUSH PRIVILEGES;</code></pre>



<p>Log in to the MySQL console</p>



<pre class="wp-block-code"><code>mysql>exit</code></pre>



<h2 id="download-and-install-tiki" >Download and install Tiki</h2>



<p>Download the latest version of Tiki</p>



<pre class="wp-block-code"><code>sudo cd /var/www/html
sudo wget https://sourceforge.net/projects/tikiwiki/files/latest/download</code></pre>



<p>Unzip the downloaded archive and move all the files to the root of the Apache web server</p>



<pre class="wp-block-code"><code>sudo yum install unzip -y
sudo unzip download
sudo mv ./tiki-19.1/* . &amp;&amp; rm -rf download &amp;&amp; rm -rf tiki-19.1</code></pre>



<p>Set appropriate permissions for files</p>



<pre class="wp-block-code"><code>sudo chown -R apache:apache /var/www/html/
sudo chmod -R 755 /var/www/html/</code></pre>



<h2 id="configure-apache-for-tiki" >Configure Apache for Tiki</h2>



<p>Create Apache Virtual Host Configuration File</p>



<pre class="wp-block-code"><code>sudo vi /etc/httpd/conf.d/vhost.conf</code></pre>



<p>Add the following fragment to the file. You must replace <strong>example.com</strong> with your domain name</p>



<pre class="wp-block-code"><code>&lt;VirtualHost *:80>
     DocumentRoot /var/www/html/
     ServerName example.com
     &lt;Directory /var/www/html/>
          Options FollowSymlinks
          AllowOverride All
          Require all granted
     &lt;/Directory>
     ErrorLog /var/log/httpd/error.log
     CustomLog /var/log/httpd/access.log combined
&lt;/VirtualHost></code></pre>



<p>Restart  Apache web server</p>



<pre class="wp-block-code"><code>sudo systemctl restart httpd.service</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-tiki-wiki-cms-groupware-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install TYPO3 CMS on CentOS 7</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Mon, 03 Feb 2020 11:11:36 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1310</guid>

					<description><![CDATA[TYPO3 is a corporate content management system. It is free and open source. TYPO3 is written in PHP and uses MySQL to store its data. System update It is recommended that you upgrade your system before installing any packages that are used on CentOS. Run the following commands to do [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><em><a href="https://typo3.org/">TYPO3</a></em></strong> is a corporate content management system. It is free and open source. TYPO3 is written in PHP and uses MySQL to store its data.</p>



<h2 id="system-update" >System update </h2>



<p>It is recommended that you upgrade your system before installing any packages that are used on CentOS. Run the following commands to do this:</p>



<pre class="wp-block-code"><code>sudo yum -y install epel-release
sudo yum -y update
sudo shutdown -r no</code></pre>



<p>After rebooting, log in again as the root user and proceed further</p>



<h2 id="install-apache-web-server" >Install Apache Web Server </h2>



<p>To install Apache, enter the following command:</p>



<pre class="wp-block-code"><code>sudo yum -y install httpd</code></pre>



<p>Launch Apache and enable it to start automatically at boot time</p>



<pre class="wp-block-code"><code>sudo systemctl start httpd.service
sudo systemctl enable httpd.service</code></pre>



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



<p>To ensure stability, <strong>TYPO</strong> requires a PHP version greater than 7. First you need to enable the Remi repository</p>



<pre class="wp-block-code"><code>sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php71</code></pre>



<p>Install the latest version of PHP along with the modules that are required for TYPO3</p>



<pre class="wp-block-code"><code>sudo yum -y install php php-gd php-json php-mysqli php-curl php-cli php-apcu php-soap php-xml php-zip php-mbstring freetype php-bcmath php-fileinfo ImageMagick</code></pre>



<p>Using any text editor, configure <strong><em>php.ini</em></strong></p>



<pre class="wp-block-code"><code>sudo nano /etc/php.ini</code></pre>



<p>Next, find the following lines and change them as shown below: </p>



<pre class="wp-block-code"><code>max_execution_time = 30  // change it to 240
max_input_vars = 1000  // Uncomment and change the value to 1500</code></pre>



<h2 id="install-mariadb" >Install MariaDB </h2>



<p>MariaDB can be installed by following the following command: </p>



<pre class="wp-block-code"><code>sudo yum -y install mariadb mariadb-server</code></pre>



<p>To start and enable MariaDB, you must automatically enter the following: </p>



<pre class="wp-block-code"><code>sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service</code></pre>



<p>Before starting the database setup, you must protect MariaDB. This can be done by running the following script: </p>



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



<p>Next, you will be asked to enter the current root password for MariaDB. Press the <strong><em>ENTER</em> </strong>key, and set a strong password for the root user of your MariaDB server. Then press<strong> &#8220;Y&#8221;</strong> for all other questions that appear next.</p>



<h2 id="create-database-for-typo3" >Create Database for TYPO3 </h2>



<p>First you need to go into the MySQL shell as the root user as follows: </p>



<pre class="wp-block-code"><code>mysql -u root -p</code></pre>



<p>Provide a password for the MariaDB root user and then run the following prompts to create a database for installing TYPO3</p>



<pre class="wp-block-code"><code>CREATE DATABASE typo3_data CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER 'typo3_user'@'localhost' IDENTIFIED BY 'StrongPassword';
GRANT ALL PRIVILEGES ON typo3_data.* TO 'typo3_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;</code></pre>



<h2 id="install-typo3" >Install TYPO3 </h2>



<p>Switch to the Apache root web directory with the following command: </p>



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



<p>Download the TYPO3 archive </p>



<pre class="wp-block-code"><code>sudo wget https://get.typo3.org/8.7.3 -O typo3.tar.gz</code></pre>



<p>Unpack the archive: </p>



<pre class="wp-block-code"><code>sudo tar xzf typo3.tar.gz</code></pre>



<p>Rename the extracted directory for convenience:</p>



<pre class="wp-block-code"><code>sudo mv typo3*/ typo3/</code></pre>



<p>Rename the .<strong><em>htaccess</em></strong> file by running the following command:</p>



<pre class="wp-block-code"><code>sudo mv typo3/_.htaccess typo3/.htaccess</code></pre>



<p>Create an empty file with the file name FIRST_INSTALL. The web installer checks this file before starting the installation. </p>



<pre class="wp-block-code"><code>sudo touch /var/www/typo3/FIRST_INSTALL</code></pre>



<p>Then indicate the appropriate ownership, while running: </p>



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



<p>Allow HTTP traffic through port 80 on the firewall </p>



<pre class="wp-block-code"><code>sudo firewall-cmd --zone=public --permanent --add-service=http
sudo firewall-cmd --reload</code></pre>



<h2 id="create-a-virtual-host" >Create a virtual host </h2>



<p>Run the following command to create a virtual host for your TYPO3 site </p>



<pre class="wp-block-code"><code>sudo nano /etc/httpd/conf.d/cms.example.com.conf</code></pre>



<p>Fill out the file: </p>



<pre class="wp-block-code"><code>&lt;VirtualHost *:80>
    ServerName cms.example.com
    DocumentRoot /var/www/typo3
    &lt;Directory /var/www/typo3>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Order allow,deny
        allow from all
    &lt;/Directory>
&lt;/VirtualHost></code></pre>



<p>Restart Apache </p>



<pre class="wp-block-code"><code>sudo systemctl restart httpd</code></pre>



<h2 id="complete-installation" >Complete installation </h2>



<p>Completing the installation involves opening a web browser and navigating to the URL <strong><em>http://cms.example.com</em></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-typo3-cms-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<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>
