<?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>Fedora &#8211; Hostry Help Center</title>
	<atom:link href="https://help.hostry.com/article-tags/fedora/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:25:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.13</generator>

<image>
	<url>https://help.hostry.com/wp-content/uploads/cache/2021/01/cropped-apple-icon-180x180-1/836712163.png</url>
	<title>Fedora &#8211; Hostry Help Center</title>
	<link>https://help.hostry.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To Install FFmpeg on Fedora</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-ffmpeg-on-fedora/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-ffmpeg-on-fedora/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Fri, 04 Sep 2020 07:41:32 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1971</guid>

					<description><![CDATA[FFmpeg is a free utility for decoding and encoding video or audio. Converting audio and video becomes very easy with this FFmpeg utility. It also provides a cross-platform solution for recording, converting and streaming audio and video. This article will focus on installing FFmpeg for the following Fedora Linux versions: [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong><a href="https://ffmpeg.org/">FFmpeg </a></strong> is a free utility for decoding and encoding video or audio. Converting audio and video becomes very easy with this FFmpeg utility. It also provides a cross-platform solution for recording, converting and streaming audio and video. This article will focus on installing FFmpeg for the following Fedora Linux versions: <strong>Fedora 31 </strong>and<strong> Fedora 32</strong></p>



<h2 id="mounting" >Mounting</h2>



<p>First you need to add the <em>RPM </em><strong>Fusion</strong> repository</p>



<pre class="wp-block-code"><code>$ sudo dnf -y install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
$ sudo dnf -y install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm</code></pre>



<p>Then you need to update the system to the latest packages</p>



<pre class="wp-block-code"><code>$ sudo dnf update</code></pre>



<p>After that, go directly to installing <strong>FFmpeg</strong></p>



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



<p>Finally, you need to make sure that <strong>FFmpeg</strong> is working properly. To do this, run the following command:</p>



<pre class="wp-block-code"><code>$ ffmpeg --help</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-ffmpeg-on-fedora/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 HTMLDoc on Fedora 29</title>
		<link>https://help.hostry.com/knowledge-base/how-to-install-htmldoc-on-fedora-29/</link>
					<comments>https://help.hostry.com/knowledge-base/how-to-install-htmldoc-on-fedora-29/#respond</comments>
		
		<dc:creator><![CDATA[Alex]]></dc:creator>
		<pubDate>Tue, 21 Apr 2020 07:47:28 +0000</pubDate>
				<guid isPermaLink="false">https://help.hostry.com/?post_type=ht_kb&#038;p=1612</guid>

					<description><![CDATA[HTMLDoc is a special dynamic postscript document parser (PDF 1.6). This guide is intended to install HTMLDoc on Fedora 29. After installing HTMLDoc, the creation of a simple one-page document will continue without any headers, footers, borders, or additional elements. Install HTMLDoc First you need to log in to your [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>HTMLDoc is a special dynamic postscript document parser (PDF 1.6). This guide is intended to install HTMLDoc on <strong>Fedora 29</strong>. After installing HTMLDoc, the creation of a simple one-page document will continue without any headers, footers, borders, or additional elements. </p>



<h2 id="install-htmldoc" >Install HTMLDoc </h2>



<p>First you need to log in to your server as <strong>root </strong>and install <strong><em>htmldoc</em></strong></p>



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



<p>After that, you need to move on to creating PDF documents from HTML markup</p>



<h2 id="create-the-first-pdf-from-html" > Create the First PDF from HTML </h2>



<p>You need to quickly test this feature from your command line. Go to <strong>/tpm/ </strong>directory for this test</p>



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



<p>Now you need to create a simple HTML file that will be used to create the PDF document. Let&#8217;s name it for example &#8220;<strong>example-doc.html</strong>&#8220;</p>



<pre class="wp-block-code"><code>nano example-doc.html</code></pre>



<p>Add the following HTML markup for it</p>



<pre class="wp-block-code"><code>&lt;html>
&lt;head>
&lt;title>My first PDF from HTML&lt;/title>
&lt;/head>
&lt;body>
This is the body of my first PDF document made from HTML.
&lt;/body>
&lt;/html></code></pre>



<p>Save the file by pressing CTRL + X then Y to save the changes. Next, you can instruct HTMLDoc by parsing the PDF from your&nbsp;<strong>example-doc.html</strong></p>



<pre class="wp-block-code"><code>htmldoc --webpage -f postscript-output.pdf  example-doc.html
</code></pre>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://help.hostry.com/knowledge-base/how-to-install-htmldoc-on-fedora-29/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
