<?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>Fuel &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/fuel/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:19:09 +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>Fuel &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>
	</channel>
</rss>
