<?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>Oracle Linux Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/oracle-linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 17 Nov 2019 01:13:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>How to install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8?</title>
		<link>https://www.osradar.com/how-to-install-webmin-on-centos-8-rhel-8-oracle-linux-8/</link>
					<comments>https://www.osradar.com/how-to-install-webmin-on-centos-8-rhel-8-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 00:08:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[webmin]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15654</guid>

					<description><![CDATA[<p>Monitoring a computer is always necessary to verify its operation. Especially if we are talking about a computer connected to an internal network. So, installing a tool with some computer tasks is always a good idea. Therefore, in this post, I will show you how to install Webmin on CentOS 8. This tutorial will also [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-webmin-on-centos-8-rhel-8-oracle-linux-8/">How to install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Monitoring a computer is always necessary to verify its operation.  Especially if we are talking about a computer connected to an internal network. So, installing a tool with some computer tasks is always a good idea. Therefore, in this post, I will show you <strong>how to install Webmin on CentOS 8.</strong> This tutorial will also work on RHEL 8 and Oracle Linux 8.</p>



<p><a href="http://www.webmin.com">Webmin</a> is a  web-based interface for managing UNIX systems. It has a new web interface where you can modify and manage several things on the computer. For example, user accounts, UNIX groups, DNS and others.</p>



<p>In addition, you will have no license problems with Webmin because it is released under the GPL3 license, which guarantees that you can use it, modify it and install it as you want.</p>



<p>So, let us start.</p>



<h2>Installing Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>



<p>Before you start installing Webmin, it is a good idea to update all the operating system packages. To do this, connect to your server using SSH or simply open a terminal session and run:</p>



<pre class="wp-block-preformatted">:~$ su<br>:~# dnf update</pre>



<p>This way your system will have the latest security patches installed. Therefore, it will be a more secure system.</p>



<p>Webmin offers us a repository of packages derived from RHEL 8 that facilitates the installation. So we must add the repository first, and do the installation like this.</p>



<p>So, create a file in <code>/etc/yum.repos.d/webmin.repo</code> and add the following:</p>



<pre class="wp-block-preformatted"> [Webmin]
 name=Webmin Distribution Neutral
 #baseurl=https://download.webmin.com/download/yum
 mirrorlist=https://download.webmin.com/download/yum/mirrorlist
 enabled=1</pre>



<figure class="wp-block-image"><img loading="lazy" width="862" height="202" src="https://www.osradar.com/wp-content/uploads/2019/11/1-11.png" alt="1.- Adding the webmin repository" class="wp-image-15671" srcset="https://www.osradar.com/wp-content/uploads/2019/11/1-11.png 862w, https://www.osradar.com/wp-content/uploads/2019/11/1-11-300x70.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/1-11-768x180.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/1-11-696x163.png 696w" sizes="(max-width: 862px) 100vw, 862px" /><figcaption>1.- Adding the webmin repository</figcaption></figure>



<p>Then download and add the GPG key to secure the repository. To download it we&#8217;ll use wget, but be sure to install it first in case you don&#8217;t have it.</p>



<pre class="wp-block-preformatted">:~# dnf install wget</pre>



<pre class="wp-block-preformatted">:~# wget http://www.webmin.com/jcameron-key.asc</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="211" src="https://www.osradar.com/wp-content/uploads/2019/11/2-11-1024x211.png" alt="2.- Add the GPG key for the repository" class="wp-image-15673" srcset="https://www.osradar.com/wp-content/uploads/2019/11/2-11-1024x211.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/2-11-300x62.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/2-11-768x158.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/2-11-696x143.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/2-11-1068x220.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/2-11.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Add the GPG key for the repository</figcaption></figure>



<p>And then add it with the following command:</p>



<pre class="wp-block-preformatted">:~# rpm --import jcameron-key.asc</pre>



<p>After this, we will be able to install Webmin in an easy and simple way as follows:</p>



<pre class="wp-block-preformatted">:~# dnf install webmin</pre>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="538" src="https://www.osradar.com/wp-content/uploads/2019/11/3-10-1024x538.png" alt="3.- Install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8" class="wp-image-15674" srcset="https://www.osradar.com/wp-content/uploads/2019/11/3-10-1024x538.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/3-10-300x158.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/3-10-768x403.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/3-10-696x366.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/3-10-1068x561.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/3-10-800x420.png 800w, https://www.osradar.com/wp-content/uploads/2019/11/3-10.png 1365w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure>



<p>At the end of the installation, we will be able to access the web interface of the program. However, first, you have to open port 10000 which is where the application works.</p>



<pre class="wp-block-preformatted">:~# firewall-cmd --add-port=10000/tcp --zone=public --permanent
:~# firewall-cmd --reload</pre>



<p>Now yes, open your favorite web browser and go to <code>http://your-server:10000</code> and you will see the following:</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2019/11/5-6-1024x502.png" alt="5.- Webmin login page" class="wp-image-15681" srcset="https://www.osradar.com/wp-content/uploads/2019/11/5-6-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/5-6-858x420.png 858w, https://www.osradar.com/wp-content/uploads/2019/11/5-6.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Webmin login page</figcaption></figure>



<p>Now you can log in with a user who has access to <a rel="noreferrer noopener" aria-label="sudo (opens in a new tab)" href="https://www.osradar.com/how-to-enable-sudo-on-centos-8/" target="_blank">sudo</a> or with the root user. Next, you will see the dashboard.</p>



<figure class="wp-block-image"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2019/11/6-1-1024x502.png" alt="6.- Webmin dashboard on CentOS 8 / RHEL 8 / Oracle Linux 8" class="wp-image-15682" srcset="https://www.osradar.com/wp-content/uploads/2019/11/6-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2019/11/6-1-858x420.png 858w, https://www.osradar.com/wp-content/uploads/2019/11/6-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Webmin dashboard on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure>



<p>So, enjoy it.</p>



<h2>Conclusion</h2>



<p>Webmin is an indispensable application if we have a server or equipment that we need to monitor. Of course, it is not the most advanced or the best but it does its functions efficiently without wasting a lot of system resources.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-webmin-on-centos-8-rhel-8-oracle-linux-8/">How to install Webmin on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-webmin-on-centos-8-rhel-8-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8?</title>
		<link>https://www.osradar.com/install-arangodb-centos-8-rhel-oracle-linux/</link>
					<comments>https://www.osradar.com/install-arangodb-centos-8-rhel-oracle-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 23 Aug 2019 23:01:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[NoSQL]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[oracle linux 8]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13133</guid>

					<description><![CDATA[<p>Relational database management systems dominate many segments of programming. However, it is increasingly common to see real alternatives to this type of database. Of those applications, it seems that MongoDB is one of the most popular but ArangoDB improves and improves every day. In this post, I will tell you about ArangoDB, some of the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-arangodb-centos-8-rhel-oracle-linux/">How to install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Relational database management systems dominate many segments of programming. However, it is increasingly common to see real alternatives to this type of database. Of those applications, it seems that MongoDB is one of the most popular but ArangoDB improves and improves every day. In this post, I will tell you about ArangoDB, some of the main features and more. Also, I will show you how to install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8.</p>
<h2>A little bit of ArangoDB</h2>
<p><a href="https://www.arangodb.com/" rel="noopener">ArangoDB</a> is a <a href="https://www.osradar.com/tag/nosql/" rel="noopener">NoSQL</a> <a href="https://www.osradar.com/tag/database/" rel="noopener">database</a> manager. It is built in<a href="https://www.osradar.com/install-codeblocks-on-linux/" rel="noopener"> C++</a> and is open source. Its main feature is that it is multi-model. That is, it supports different data models such as (JSON), graphs and key-value.</p>
<p>On the other hand, ArangoDB has two versions. The first one is paid and offers support at different levels. The second is communitarian, ideal for small or educational projects.</p>
<p>If you want to manage a server instance easily, ArangoDB allows it through a nice and intuitive web interface. Besides this, it has connectors for many programming languages, so this should not be a limitation. Of course, it has installers for many Linux distributions.</p>
<p>So let us get to work.</p>
<h2>Install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>
<p>ArangoDB is an application that takes documentation very seriously. In fact, it is a very well documented application that makes it easy to work with. And the installation process is available to many systems through its repository.</p>
<p>So the first step to install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8 is to add the repository.</p>
<p>Open a terminal and run the following:</p>
<pre>:~$ su
:~# cd /etc/yum.repos.d/</pre>
<p>Then, import the GPG key to secure the repository addition.</p>
<pre>:~# curl -OL https://download.arangodb.com/arangodb35/RPM/arangodb.repo</pre>
<p><figure id="attachment_13171" aria-describedby="caption-attachment-13171" style="width: 776px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13171" src="https://www.osradar.com/wp-content/uploads/2019/08/1-15.jpeg" alt="1.- Download the GPG key for the repository" width="776" height="103" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-15.jpeg 776w, https://www.osradar.com/wp-content/uploads/2019/08/1-15-300x40.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-15-768x102.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-15-696x92.jpeg 696w" sizes="(max-width: 776px) 100vw, 776px" /><figcaption id="caption-attachment-13171" class="wp-caption-text">1.- Download the GPG key for the repository</figcaption></figure></p>
<p>After this, you can install ArangoDB by typing the following command:</p>
<pre>:~# dnf install arangodb3-3.5.0</pre>
<p><figure id="attachment_13170" aria-describedby="caption-attachment-13170" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13170" src="https://www.osradar.com/wp-content/uploads/2019/08/2-13.jpeg" alt="2.- Install ArangoDB on CentOS 8 / RHEL 8 /Oracle Linux 8" width="1366" height="359" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-13.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/2-13-300x79.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-13-768x202.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-13-1024x269.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-13-696x183.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-13-1068x281.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13170" class="wp-caption-text">2.- Install ArangoDB on CentOS 8 / RHEL 8 /Oracle Linux 8</figcaption></figure></p>
<p>Now that ArangoDB is installed, you have to do some configuration before using it.</p>
<h2>Making some configuration before using ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8</h2>
<p>ArangoDB is already installed but does not have a key configured for the root user. As we know, this is vital because then, anyone can access the stored data.</p>
<p>So use the following command to set the password for the root user:</p>
<pre>:~# arango_secure_installation</pre>
<p><figure id="attachment_13172" aria-describedby="caption-attachment-13172" style="width: 986px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13172" src="https://www.osradar.com/wp-content/uploads/2019/08/3-14.jpeg" alt="3.- Set a password for the root user" width="986" height="179" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-14.jpeg 986w, https://www.osradar.com/wp-content/uploads/2019/08/3-14-300x54.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-14-768x139.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-14-696x126.jpeg 696w" sizes="(max-width: 986px) 100vw, 986px" /><figcaption id="caption-attachment-13172" class="wp-caption-text">3.- Set a password for the root user</figcaption></figure></p>
<p>With this you can now enter the ArangoDB shell and start working:</p>
<pre>:~# systemctl start arangodb3
:~# arangosh</pre>
<p><figure id="attachment_13173" aria-describedby="caption-attachment-13173" style="width: 1283px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13173" src="https://www.osradar.com/wp-content/uploads/2019/08/4-12.jpeg" alt="4.- ArangoDB shell on CentOS 8 / RHEL 8 / Oracle Linux 8" width="1283" height="296" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-12.jpeg 1283w, https://www.osradar.com/wp-content/uploads/2019/08/4-12-300x69.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-12-768x177.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-12-1024x236.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-12-696x161.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-12-1068x246.jpeg 1068w" sizes="(max-width: 1283px) 100vw, 1283px" /><figcaption id="caption-attachment-13173" class="wp-caption-text">4.- ArangoDB shell on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>One of the most outstanding potentials of ArangoDB is its web interface. Thanks to it, it is possible to administer the instance quickly and easily. In addition to visualizing the data in a better way.</p>
<p>So, open the file <code>/etc/arangodb3/arangod.conf</code>. At the beginning of the file, it changes the <code>endpoint</code> value and adds the IP address of the computer where ArangoDB is running. By default, it is configured for localhost. There you will also see the default port used by the application which is 8529.</p>
<pre>:~# nano /etc/arangodb3/arangod.conf</pre>
<p><figure id="attachment_13174" aria-describedby="caption-attachment-13174" style="width: 619px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13174" src="https://www.osradar.com/wp-content/uploads/2019/08/5-6.jpeg" alt="5.- Enabling the web interface for ArangoDB" width="619" height="359" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-6.jpeg 619w, https://www.osradar.com/wp-content/uploads/2019/08/5-6-300x174.jpeg 300w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption id="caption-attachment-13174" class="wp-caption-text">5.- Enabling the web interface for ArangoDB</figcaption></figure></p>
<p>This same process must be done in the file /etc/arangodb3/arangosh.conf.</p>
<pre>:~# nano /etc/arangodb3/arangosh.conf</pre>
<p><figure id="attachment_13175" aria-describedby="caption-attachment-13175" style="width: 478px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13175" src="https://www.osradar.com/wp-content/uploads/2019/08/6-3.jpeg" alt="6.- Configuring the web interface" width="478" height="143" srcset="https://www.osradar.com/wp-content/uploads/2019/08/6-3.jpeg 478w, https://www.osradar.com/wp-content/uploads/2019/08/6-3-300x90.jpeg 300w" sizes="(max-width: 478px) 100vw, 478px" /><figcaption id="caption-attachment-13175" class="wp-caption-text">6.- Configuring the web interface</figcaption></figure></p>
<p>For all this to work, it is necessary to add the corresponding rules in the Firewall. Specifically, open port 8529. Then, restart ArangoDB.</p>
<pre>:~# firewall-cmd --add-port=8529/tcp --permanent
success
:~# firewall-cmd --reload
success
:~# systemctl restart arangodb3</pre>
<p>Now, you can access to the web interface using your web browser. Go to http://your-server:8529</p>
<p><figure id="attachment_13176" aria-describedby="caption-attachment-13176" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13176" src="https://www.osradar.com/wp-content/uploads/2019/08/7-7.png" alt="7.- ArangoDB running on CentOS 8 / RHEL 8 / Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/7-7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/7-7-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13176" class="wp-caption-text">7.- ArangoDB running on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>Type your credentials and click on the Login button. You will have to select the database.</p>
<p><figure id="attachment_13177" aria-describedby="caption-attachment-13177" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13177" src="https://www.osradar.com/wp-content/uploads/2019/08/8-6.png" alt="8.- Select the database to connect the web interface" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/8-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/8-6-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13177" class="wp-caption-text">8.- Select the database to connect the web interface</figcaption></figure></p>
<p>Finally, you will see the dashboard. And you can start to work.</p>
<p><figure id="attachment_13178" aria-describedby="caption-attachment-13178" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13178" src="https://www.osradar.com/wp-content/uploads/2019/08/9-5.png" alt="9.- ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/9-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/9-5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13178" class="wp-caption-text">9.- ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>ArangoDB is a very popular database manager and increasingly influential in the world of programming. It is frequently used in IoT technology as well as in mobile phones. As you could see, it is easy to install and thus saves us a lot of work.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-arangodb-centos-8-rhel-oracle-linux/">How to install ArangoDB on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-arangodb-centos-8-rhel-oracle-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to create an Nginx Server Block on CentOS 8 / RHEL 8 / Oracle Linux 8?</title>
		<link>https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/</link>
					<comments>https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 14 Aug 2019 00:15:09 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12966</guid>

					<description><![CDATA[<p>Configuring Nginx to work with PHP is quite simple. However, many applications also require us to use a server block or as Apache calls it a Virtualhost. This means that we can set specific rules for each of our applications, as well as define different folders dedicated to each of them. It is quite simple [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/">How to create an Nginx Server Block on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/" rel="noopener">Configuring Nginx to work with PHP</a> is quite simple. However, many applications also require us to use a server block or as Apache calls it a Virtualhost. This means that we can set specific rules for each of our applications, as well as define different folders dedicated to each of them. It is quite simple and useful. So, in this post, you will learn to establish an Nginx server block on CentOS 8, RHEL 8 and Oracle Linux 8.</p>
<p>So, let us start.</p>
<h2>1. Install Nginx</h2>
<p>Of course, the first step is to install <a href="https://www.nginx.com/" rel="noopener">Nginx</a>. As we well know, it comes in the official repositories so there is a bigger problem in doing so.</p>
<p>Open a terminal and run:</p>
<pre>:~$ su
:~# dnf install nginx</pre>
<p><figure id="attachment_12988" aria-describedby="caption-attachment-12988" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12988" src="https://www.osradar.com/wp-content/uploads/2019/08/1-6.jpeg" alt="1.- Install Nginx on Centos 8 / RHEL 8 / Oracle Linux 8" width="1366" height="708" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-6.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-300x155.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-768x398.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-1024x531.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-696x361.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-1068x554.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/1-6-810x420.jpeg 810w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12988" class="wp-caption-text">1.- Install Nginx on Centos 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>When the installation is finished, the service must be started. It is also recommended to make it start together with the system.</p>
<pre>:~# systemctl start nginx
:~# systemctl enable nginx</pre>
<p>In order for Nginx to run correctly, it is necessary to open the ports in the Firewall. To do this, run the following:</p>
<pre>:~# firewall-cmd --permanent --add-service=http
success
:~# firewall-cmd --reload
success</pre>
<p>Now, open your web browser and go to your server. http://server-ip.</p>
<p><figure id="attachment_12989" aria-describedby="caption-attachment-12989" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12989" src="https://www.osradar.com/wp-content/uploads/2019/08/2.png" alt="2.- Nginx default page on Oracle Linux 8" width="1366" height="441" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/2-300x97.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-768x248.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-1024x331.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-696x225.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-1068x345.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/2-1301x420.png 1301w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12989" class="wp-caption-text">2.- Nginx default page on Oracle Linux 8</figcaption></figure></p>
<p>So, Nginx is working.</p>
<h2>2) Install and configure PHP</h2>
<p>The second step is to install PHP which is also in the official repositories.</p>
<pre>:~# dnf install php php-fpm php-mysqlnd php-cli</pre>
<p><figure id="attachment_12990" aria-describedby="caption-attachment-12990" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12990" src="https://www.osradar.com/wp-content/uploads/2019/08/3-6.jpeg" alt="3.- Install PHP on CentOS 8, RHEL 8, Oracle Linux 8" width="1366" height="544" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-6.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-300x119.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-768x306.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-1024x408.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-696x277.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-1068x425.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-6-1055x420.jpeg 1055w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12990" class="wp-caption-text">3.- Install PHP on CentOS 8, RHEL 8, Oracle Linux 8</figcaption></figure></p>
<p>Now you need to configure PHP to work with Nginx. First, edit PHP file.</p>
<pre>:~# nano /etc/php.ini</pre>
<p>And change the following value:</p>
<pre>cgi.fix_pathinfo=0</pre>
<p>Next, edit the <code>/etc/php-fpm.d/www.conf</code> file.</p>
<p>And uncomment the following values:</p>
<pre>pm.min_spare_servers = 5	 	 
pm.max_spare_servers = 35	 	 
</pre>
<p>And change the listen values.</p>
<pre>listen = 127.0.0.1:9000</pre>
<p>Next, save the changes and close the file.</p>
<p>Now, start and enable the <code>PHP-fpm</code> service.</p>
<pre>:~# systemctl start php-fpm
:~# systemctl enable php-fpm</pre>
<h2>3) Create a new Nginx Server Block</h2>
<p>Now we will create the new server block. For this also create a folder in <code>/usr/share/nginx/html/</code> i will name it <code>example</code>.</p>
<p>Inside it, I will make a file called <code>index.php</code> that will only contain a phpinfo method.</p>
<pre>:~# mkdir -p /usr/share/nginx/html/example
:~# nano /usr/share/nginx/html/example/index.php</pre>
<p>And add the following:</p>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p>Save the changes and close the file.</p>
<p>Now it is necessary to create the configuration file of the new Server Block. Create the file in <code>/etc/nginx/conf.d/</code> and call it <code>example.conf</code>.</p>
<pre>:~# nano /etc/nginx/conf.d/example.local.conf</pre>
<p>And add the following:</p>
<pre>server {
   server_name example.local;
   root /usr/share/nginx/html/example;

   location / {
       index index.html index.htm index.php;
   }

   location ~ \.php$ {
      include /etc/nginx/fastcgi_params;
      fastcgi_pass 127.0.0.1:9000;
      fastcgi_index index.php;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
   }
}</pre>
<p><figure id="attachment_12993" aria-describedby="caption-attachment-12993" style="width: 878px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12993 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/4-5.jpeg" alt="4.- Create a Nginx Server Block on CentOS 8 / RHEL 8 / Oracle Linux 8" width="878" height="263" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-5.jpeg 878w, https://www.osradar.com/wp-content/uploads/2019/08/4-5-300x90.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-5-768x230.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-5-696x208.jpeg 696w" sizes="(max-width: 878px) 100vw, 878px" /><figcaption id="caption-attachment-12993" class="wp-caption-text">4.- Create a Nginx Server Block on CentOS 8 / RHEL 8 / Oracle Linux 8</figcaption></figure></p>
<p>Save the file and then close it. Then, restart the services.</p>
<pre>:~# systemctl restart nginx
:~# systemctl restart php-fpm
</pre>
<p>Now, open your web browser and go to example.local.</p>
<p><figure id="attachment_12992" aria-describedby="caption-attachment-12992" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12992" src="https://www.osradar.com/wp-content/uploads/2019/08/5-1.png" alt="5.- PHP info" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/5-1-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12992" class="wp-caption-text">5.- PHP info</figcaption></figure></p>
<p>And that is it.</p>
<h2>Conclusion</h2>
<p>To manipulate different applications on the same web server, it is necessary to create a server block for each of them. As you have seen in the post, it is not complicated and allows to</p>
<p>Please share this post and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/">How to create an Nginx Server Block on CentOS 8 / RHEL 8 / Oracle Linux 8?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/create-nginx-server-block-centos-rhel-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set a static IP address on CentOS 8/ RHEL 8 / Oracle Linux 8</title>
		<link>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/</link>
					<comments>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 13 Aug 2019 00:11:35 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12956</guid>

					<description><![CDATA[<p>The entire ecosystem of the Red Hat Linux Enterprise family is used extensively on servers. Whether enterprise, small, or medium, RHEL-based distributions copy that segment along with Debian and Ubuntu. And in server management, it is common and frequent to use configurations over IP addresses. In this case, you will learn to establish a static [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/">How to set a static IP address on CentOS 8/ RHEL 8 / Oracle Linux 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The entire ecosystem of the Red Hat Linux Enterprise family is used extensively on servers. Whether enterprise, small, or medium, RHEL-based distributions copy that segment along with Debian and Ubuntu. And in server management, it is common and frequent to use configurations over IP addresses. In this case, you will learn to establish a static IP address on CentOS 8, RHEL 8 and Oracle Linux 8.</p>
<h2>How to set a static IP address on Centos 8 / RHEL 8 / Oracle Linux</h2>
<p>Linux is a fairly flexible system and this results in several ways of doing the same process. In this case, it is the same, we will be able to establish a static IP address in several ways. To avoid unnecessarily lengthening the post, I will only show one single way.</p>
<p>It is advisable to read about static and dynamic IP addresses. This is because it is not always good to have them, although in an internal network it helps a lot to manage the services of that server. Even, at cluster level and related things, <strong>it is necessary to assign a specific address to a node</strong>.</p>
<p>So, let us start.</p>
<h3>Using the Network scripts to set a static IP address</h3>
<p>I think this is the most basic way to set a static IP address in CentOS 8, RHEL 8 and Oracle Linux 8. Because this way we will not have to install or use third-party tools to do the configuration. On the other hand, it is a bit rough for newbies.</p>
<p>First of all, you have to know what the network interfaces you have active are called. Let us suppose that we are going to define a static IP address to the ethernet wired network.</p>
<p>So, open a terminal and run the following:</p>
<pre>:~$ ip addr show</pre>
<p><figure id="attachment_12970" aria-describedby="caption-attachment-12970" style="width: 742px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12970" src="https://www.osradar.com/wp-content/uploads/2019/08/1-5.jpeg" alt="1.- The network interface on CentOS 8 RHEL 8 Oracle Linux 8" width="742" height="265" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-5.jpeg 742w, https://www.osradar.com/wp-content/uploads/2019/08/1-5-300x107.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-5-696x249.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/1-5-741x265.jpeg 741w" sizes="(max-width: 742px) 100vw, 742px" /><figcaption id="caption-attachment-12970" class="wp-caption-text">1.- The network interface on CentOS 8 RHEL 8 Oracle Linux 8</figcaption></figure></p>
<p>In the screen output of the command, you will notice that they open several interfaces. In my case, there are only two. The local and another one called <code>enp0s3</code>. That is the one we want to change.</p>
<p>Now open the configuration file of that network interface. I will use <code>nano</code> for it, if you do not have it installed you can do it.</p>
<pre>:~$ su
:~# nano /etc/sysconfig/network-scripts/ifcfg-[network-interface]</pre>
<p>The content of the file is quite explicit. However, to configure the static IP, it is enough to modify these elements:</p>
<div id="primary" class="content-area">
<article id="post-926" class="post-926 post type-post status-publish format-standard has-post-thumbnail hentry category-centos-linux category-redhat-linux tag-centos-8 tag-rhel-8">
<header class="entry-header">
<div class="entry-meta"><span class="posted-on"><span class="screen-reader-text">Posted on</span> </span></div>
<pre>TYPE="Ethernet"
BOOTPROTO="none"
NAME="eth0"
IPADDR=192.168.250.105
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
BROADCAST=192.168.255.255
DEVICE="eth0"
ONBOOT="yes"</pre>
</header>
</article>
</div>
<p>Also, if you want to use DNS, add these two options.</p>
<pre>DNS1=[DNS_SERVER]
DNS2=[DNS_SERVER]</pre>
<p>Next, save the changes and close the file.</p>
<p><figure id="attachment_12971" aria-describedby="caption-attachment-12971" style="width: 947px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12971" src="https://www.osradar.com/wp-content/uploads/2019/08/2-6.jpeg" alt="2.- Set a static IP address on centos 8, RHEL 8 and Oracle Linux 8" width="947" height="397" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-6.jpeg 947w, https://www.osradar.com/wp-content/uploads/2019/08/2-6-300x126.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-6-768x322.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-6-696x292.jpeg 696w" sizes="(max-width: 947px) 100vw, 947px" /><figcaption id="caption-attachment-12971" class="wp-caption-text">2.- Set a static IP address on centos 8, RHEL 8 and Oracle Linux 8</figcaption></figure></p>
<p>It is now necessary to reload the networks profile so that the system knows that there have been changes.</p>
<pre>:~# nmcli connection reload</pre>
<p>Finally, restart the connection.</p>
<pre>:~# nmcli con down [network_interface]
:~# nmcli con up [network_interface]</pre>
<p>Now, check the new IP address with this command:</p>
<pre>:~# ip addr show</pre>
<p><figure id="attachment_12972" aria-describedby="caption-attachment-12972" style="width: 877px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12972" src="https://www.osradar.com/wp-content/uploads/2019/08/3-5.jpeg" alt="3.- Check the changes" width="877" height="295" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-5.jpeg 877w, https://www.osradar.com/wp-content/uploads/2019/08/3-5-300x101.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-5-768x258.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-5-696x234.jpeg 696w" sizes="(max-width: 877px) 100vw, 877px" /><figcaption id="caption-attachment-12972" class="wp-caption-text">3.- Check the changes</figcaption></figure></p>
<p>So, everything is OK.</p>
<h2>Conclusion</h2>
<p>In this post, you have learned to set a static IP address in CentOS 8, RHEL 8 and Oracle Linux 8. This way you will be able to manage some servers a little better and it is a very used network function. On the other hand, if you use any of these distributions as a personal system it is probably not useful.</p>
<p>You can also read <a href="https://www.osradar.com/set-a-static-ip-on-debian-10-buster/" rel="noopener noreferrer">How to set a static IP address on Debian 10 Buster?</a></p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/">How to set a static IP address on CentOS 8/ RHEL 8 / Oracle Linux 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-set-a-static-ip-address-on-centos-8-rhel-8-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install WordPress (with Nginx) on CentOS 8 / RHEL 8 / Oracle Linux 8</title>
		<link>https://www.osradar.com/install-wordpress-centos-rhel-oracle-linux-8/</link>
					<comments>https://www.osradar.com/install-wordpress-centos-rhel-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 06 Aug 2019 23:11:28 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Lemp]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12902</guid>

					<description><![CDATA[<p>Almost everyone knows that WordPress is the most popular CMS in the world. And nothing better than having it installed on our personal server to deploy websites quickly. If in addition to this, we add Nginx as a web server then we would have a website quite fast and with great performance. Therefore, in this [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wordpress-centos-rhel-oracle-linux-8/">Install WordPress (with Nginx) on CentOS 8 / RHEL 8 / Oracle Linux 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Almost everyone knows that WordPress is the most popular CMS in the world. And nothing better than having it installed on our personal server to deploy websites quickly. If in addition to this, we add Nginx as a web server then we would have a website quite fast and with great performance. Therefore, in this post, I will show you how to install WordPress on CentOS, RHEL and Oracle Linux 8 using <a href="https://www.osradar.com/install-nginx-from-the-source-code-ubuntu-18-04/" rel="noopener">Nginx</a>.</p>
<p>There are companies today that create websites only available from the business network. Many with the purpose of communicating with workers, or making available resources of the company. At least, in my environment, there are several companies that do it. And they use WordPress to deploy them. So, the utility of having it installed is maximum.</p>
<p>On the other hand, we may want a personal blog on our own server. Either in the cloud or we have the computer physically.</p>
<p>In any case, <a href="https://wordpress.com/" rel="noopener">WordPress</a> which is a <a href="https://www.osradar.com/tag/cms/" rel="noopener">CMS</a> is a software that allows you to make websites or blogs quickly and easily. It also manages the publication and realization of page entries. The ability to customize is quite extensive and almost everything can be done without advanced knowledge of HTML or CSS. In fact, most websites are designed with WordPress. This is where their potential lies.</p>
<p>So, let us install WordPress on CentOS, RHEL and Oracle Linux 8.</p>
<h2>1) Install LEMP on CentOS, RHEL and Oracle Linux 8</h2>
<p>In order to install WordPress, it is first necessary to have a ready and functional web server. In this case, we have opted for Nginx so we will have to have a LEMP server.</p>
<p>But it is not a problem, because we have done a complete tutorial to install LEMP on CentOS, RHEL and Oracle Linux 8.</p>
<p>Read <a href="https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/" rel="noopener">How to install LEMP on CentOS 8, RHEL 8 and Oracle Linux 8?</a></p>
<p>You just have to pay attention to have these PHP modules installed</p>
<pre>:~# dnf install php php-fpm php-common php-mysqlnd php-gd php-xml php-mbstring php-xml</pre>
<p>Once you have the LEMP server up and running, move on.</p>
<h2>2) Create a new database user for WordPress</h2>
<p>WordPress requires a database manager to store everything that is happening on the site. But not only that but other things more.</p>
<p>For security reasons, it is advisable to create a new user and database dedicated to WordPress. Then, go to the MariaDB console and type.</p>
<pre>:~# mysql -u root -p</pre>
<pre>&gt; CREATE DATABASE wordpressdb;
&gt; GRANT ALL PRIVILEGES ON wordpressdb.* TO 'wordpressuser'@'localhost' IDENTIFIED BY 'wordpresspss';
&gt; FLUSH PRIVILEGES;
&gt; exit;</pre>
<p><figure id="attachment_12915" aria-describedby="caption-attachment-12915" style="width: 887px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12915" src="https://www.osradar.com/wp-content/uploads/2019/08/1-1.jpeg" alt="1.- Creating the new user for WordPress" width="887" height="364" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-1.jpeg 887w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-300x123.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-768x315.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/1-1-696x286.jpeg 696w" sizes="(max-width: 887px) 100vw, 887px" /><figcaption id="caption-attachment-12915" class="wp-caption-text">1.- Creating the new user for WordPress</figcaption></figure></p>
<p>Of course, you can define the names you want.</p>
<h2>3) Install WordPress on CentOS, RHEL and Oracle Linux (I)</h2>
<p>Now we can install WordPress on CentOS / RHEL / Oracle Linux 8. To do this, first, you have to download it using wget. If you do not have it installed, you have to do it first.</p>
<pre>:~# cd /tmp/
:~# wget -c https://wordpress.org/latest.tar.gz</pre>
<p><figure id="attachment_12916" aria-describedby="caption-attachment-12916" style="width: 1325px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12916" src="https://www.osradar.com/wp-content/uploads/2019/08/2-1.jpeg" alt="2.- Downloading WordPress" width="1325" height="254" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-1.jpeg 1325w, https://www.osradar.com/wp-content/uploads/2019/08/2-1-300x58.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-1-768x147.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-1-1024x196.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-1-696x133.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-1-1068x205.jpeg 1068w" sizes="(max-width: 1325px) 100vw, 1325px" /><figcaption id="caption-attachment-12916" class="wp-caption-text">2.- Downloading WordPress</figcaption></figure></p>
<p>Next, decompress the file.</p>
<pre>:~# tar -xvzf latest.tar.gz</pre>
<p>Now, you have to move the generated folder to <code>/usr/share/nginx/html/</code>. Then, set the right permissions to the folder.</p>
<pre>:~# mv wordpress/ /usr/share/nginx/html/
:~# chown -R nginx:nginx /usr/share/nginx/html/
:~# chmod 755 -R /usr/share/nginx/html/</pre>
<p>Then, restart Nginx.</p>
<pre>:~# systemctl restart nginx</pre>
<h2>4) Install WordPress on CentOS, RHEL, Oracle Linux 8 (II)</h2>
<p>Now, open your browser and go your server and complete the installation.</p>
<p><figure id="attachment_12920" aria-describedby="caption-attachment-12920" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12920" src="https://www.osradar.com/wp-content/uploads/2019/08/5.png" alt="5.- Welcome screen" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12920" class="wp-caption-text">5.- Welcome screen</figcaption></figure></p>
<p>Now, type your DB credentials.</p>
<p><figure id="attachment_12922" aria-describedby="caption-attachment-12922" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-12922 size-full" src="https://www.osradar.com/wp-content/uploads/2019/08/6-1.png" alt="6.- DB credentials to install WordPress on CentOS, RHEL and Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/6-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/6-1-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12922" class="wp-caption-text">6.- DB credentials to install WordPress on CentOS, RHEL and Oracle Linux 8</figcaption></figure></p>
<p>Now, we can start the installation.</p>
<p><figure id="attachment_12923" aria-describedby="caption-attachment-12923" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12923" src="https://www.osradar.com/wp-content/uploads/2019/08/7.png" alt="7.- Start to install WordPress on Centos, RHEL and Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/7-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/7-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/7-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/7-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/7-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12923" class="wp-caption-text">7.- Start to install WordPress on Centos, RHEL and Oracle Linux 8</figcaption></figure></p>
<p>Then, type the site information.</p>
<p><figure id="attachment_12924" aria-describedby="caption-attachment-12924" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12924" src="https://www.osradar.com/wp-content/uploads/2019/08/8.png" alt="8.- Site information" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/8-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/8-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/8-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/8-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/8-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12924" class="wp-caption-text">8.- Site information</figcaption></figure></p>
<p>If everything went well, you will see the following screen.</p>
<p><figure id="attachment_12925" aria-describedby="caption-attachment-12925" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12925" src="https://www.osradar.com/wp-content/uploads/2019/08/9.png" alt="9.- WordPress is installed" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/9-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/9-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/9-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/9-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/9-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/9-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12925" class="wp-caption-text">9.- WordPress is installed</figcaption></figure></p>
<p>Now, you can log in to admin your WordPress instance.</p>
<p><figure id="attachment_12926" aria-describedby="caption-attachment-12926" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12926" src="https://www.osradar.com/wp-content/uploads/2019/08/10.png" alt="10.- WordPress Log in" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/10-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/10-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/10-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/10-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/10-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12926" class="wp-caption-text">10.- WordPress Login</figcaption></figure></p>
<p>Then, you will see the WordPress dashboard.</p>
<p><figure id="attachment_12927" aria-describedby="caption-attachment-12927" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12927" src="https://www.osradar.com/wp-content/uploads/2019/08/11.png" alt="11.- WordPress Dashboard" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/11-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/11-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/11-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/11-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/11-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/11-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12927" class="wp-caption-text">11.- WordPress Dashboard</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>In this post, you learned how to install WordPress on CentOS, RHEL and Oracle Linux 8. This way you can deploy quality websites using a reliable web server like Nginx on a robust operating system like those of the Red Hat family. As you can see, the installation is not complicated.</p>
<p>Please share this post and join <a href="https://t.me/osradar" rel="noopener noreferrer">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-wordpress-centos-rhel-oracle-linux-8/">Install WordPress (with Nginx) on CentOS 8 / RHEL 8 / Oracle Linux 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-wordpress-centos-rhel-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install LEMP on CentOS 8, Oracle Linux 8 / RHEL 8 /?</title>
		<link>https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/</link>
					<comments>https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 03 Aug 2019 02:22:08 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Lemp]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12811</guid>

					<description><![CDATA[<p>In this opportunity, I am going to explain step by step how to install LEMP stack on Oracle Linux 8, RHEL 8 and CentOS 8. LAMP vs LEMP is really Apache vs Nginx Both software stacks, allow having a fully functional webserver. With this, you can develop and run web applications created with PHP. Obviously, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/">How to install LEMP on CentOS 8, Oracle Linux 8 / RHEL 8 /?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In this opportunity, I am going to explain step by step how to install LEMP stack on Oracle Linux 8, RHEL 8 and CentOS 8.</p>
<h2>LAMP vs LEMP is really Apache vs Nginx</h2>
<p>Both software stacks, allow having a fully functional webserver. With this, you can develop and run web applications created with PHP. Obviously, if you install it on a server, they can be run from another computer on the network.</p>
<p>The components of LAMP are Linux &#8211; <a href="https://www.osradar.com/tag/apache/">Apache</a> &#8211; <a href="https://www.osradar.com/tag/mariadb/">MySQL/MariaDB</a> &#8211; <a href="https://www.osradar.com/tag/php/">PHP</a>. And they are exactly the same as in LEMP except that <a href="https://www.nginx.com/">Nginx</a> is preferred to Apache.</p>
<p>Also, you can read <a href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/">How to install the LAMP stack on Oracle Linux 8 / RHEL 8 / CentOS8?</a></p>
<p>Why should you?</p>
<p>Both web servers are very good. Too good. They are open-source, free and the user community provides good support. The detail is that <strong>Nginx performs better than Apache</strong>. Proven. However, it is less flexible in its configurations.</p>
<p>So let us get to work.</p>
<h2>Install LEMP on RHEL 8, CentOS 8 and Oracle Linux 8</h2>
<h3>1) LEMP on RHEL and CentOS 8: Install Nginx</h3>
<p>The first step is to install Nginx. So open a terminal session or connect to your server using SSH.</p>
<pre>:~$ su
:~# dnf install nginx</pre>
<p><figure id="attachment_12854" aria-describedby="caption-attachment-12854" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12854" src="https://www.osradar.com/wp-content/uploads/2019/07/1-11.jpeg" alt="1.- Install Nginx on RHEL 8, CentOS 8 and Oracle Linux 8" width="1366" height="709" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-11.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-300x156.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-768x399.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-1024x531.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-696x361.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-1068x554.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/07/1-11-809x420.jpeg 809w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12854" class="wp-caption-text">1.- Install Nginx on RHEL 8, CentOS 8 and Oracle Linux 8</figcaption></figure></p>
<p>Then you need to start the service.</p>
<pre>:~# systemctl start nginx</pre>
<p>It is a good idea to have it start with the system, so run this command:</p>
<pre>:~# systemctl enable nginx</pre>
<p>The next step is to open the ports in the Firewall so that we can use Nginx.</p>
<pre>:~# firewall-cmd --add-port=80/tcp --permanent
success
:~# firewall-cmd --add-port=443/tcp --permanent
success
:~# firewall-cmd --reload
success</pre>
<p>Finally, open your web browser and go to your server. <code>http://server-ip/</code> you will see something like this:</p>
<p><figure id="attachment_12855" aria-describedby="caption-attachment-12855" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12855" src="https://www.osradar.com/wp-content/uploads/2019/07/2-14.png" alt="2.- Nginx default page on Oracle Linux 8" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-14.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/2-14-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12855" class="wp-caption-text">2.- Nginx default page on Oracle Linux 8</figcaption></figure></p>
<p>So, Nginx is working.</p>
<h3>2) Install and configure PHP</h3>
<p>The next step is to install PHP. Both Oracle Linux and RHEL, as well as CentOS, come with PHP 7.2 in their official repositories. It is a good version to start working with. So what we have to do is install it along with some of its modules.</p>
<pre>:~# dnf install php php-mysqlnd php-fpm php-opcache php-gd php-xml php-mbstring</pre>
<p><figure id="attachment_12856" aria-describedby="caption-attachment-12856" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12856" src="https://www.osradar.com/wp-content/uploads/2019/07/3-6.jpeg" alt="3.- Install PHP" width="1366" height="557" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-6.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-300x122.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-768x313.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-1024x418.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-696x284.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-1068x435.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/07/3-6-1030x420.jpeg 1030w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12856" class="wp-caption-text">3.- Install PHP</figcaption></figure></p>
<p>Then, start and enable the<code> php-fpm</code> service.</p>
<pre>:~# systemctl start php-fpm
:~# systemctl enable php-fpm</pre>
<p>Once we have started the service, it is necessary to modify some settings to make it work with Nginx.</p>
<pre>:~# nano /etc/php-fpm.d/www.conf</pre>
<p>At the beginning of the file, look for the <code>user</code> and <code>group</code> parameters. You will find it with the value of <code>apache</code>, change it to <code>nginx</code>.</p>
<pre>user = nginx
group = nginx</pre>
<p>Then, look for the line that starts with &#8220;listen&#8221;. And verify that it is as follows.</p>
<pre>listen = /run/php-fpm/www.sock</pre>
<p><figure id="attachment_12857" aria-describedby="caption-attachment-12857" style="width: 722px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12857" src="https://www.osradar.com/wp-content/uploads/2019/07/4-3.jpeg" alt="4.- Configuring PHP to work with nginx" width="722" height="301" srcset="https://www.osradar.com/wp-content/uploads/2019/07/4-3.jpeg 722w, https://www.osradar.com/wp-content/uploads/2019/07/4-3-300x125.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/4-3-696x290.jpeg 696w" sizes="(max-width: 722px) 100vw, 722px" /><figcaption id="caption-attachment-12857" class="wp-caption-text">4.- Configuring PHP to work with Nginx</figcaption></figure></p>
<p>Then, reload the php-fpm service.</p>
<pre>:~# systemctl restart php-fpm</pre>
<p>Now it&#8217;s time to test PHP with Nginx.</p>
<p>Unlike Apache, the Nginx web directory in RHEL, CentOS and Oracle Linux 8 is <code>/usr/share/nginx/html</code>. Then, Nginx should be made the owner of that folder.</p>
<pre>:~# chown -R nginx:nginx /usr/share/nginx/html</pre>
<p>Then, create a new PHP file to test.</p>
<pre>:~# nano /usr/share/nginx/html/test.php
&lt;?php
phpinfo();
?&gt;</pre>
<p>After that, restart Nginx.</p>
<pre>:~# systemctl restart nginx</pre>
<p>Now, open the PHP file using your web browser. <code>http://server-ip/test.php</code>.</p>
<p><figure id="attachment_12858" aria-describedby="caption-attachment-12858" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12858" src="https://www.osradar.com/wp-content/uploads/2019/07/5-10.png" alt="5.- LEMP on RHEL, CentOS 8 and Oracle Linux is almost ready" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/07/5-10.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/5-10-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12858" class="wp-caption-text">5.- LEMP on RHEL, CentOS 8 and Oracle Linux is almost ready</figcaption></figure></p>
<p>So everything is working.</p>
<h3>3) Install MariaDB</h3>
<p>MariaDB is a pretty good database manager. It is a MySQL fork and therefore compatible with it. It is one of the open-source values. So let us install it.</p>
<pre>:~# dnf install mariadb-server</pre>
<p><figure id="attachment_12860" aria-describedby="caption-attachment-12860" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12860" src="https://www.osradar.com/wp-content/uploads/2019/07/6-2.jpeg" alt="6.- LEMP on RHEL, CentOS 8 and Oracle Linux 8 - Installing MariaDB" width="1366" height="621" srcset="https://www.osradar.com/wp-content/uploads/2019/07/6-2.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-300x136.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-768x349.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-1024x466.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-696x316.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-1068x486.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/07/6-2-924x420.jpeg 924w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12860" class="wp-caption-text">6.- LEMP on RHEL, CentOS 8 and Oracle Linux 8 &#8211; Installing MariaDB</figcaption></figure></p>
<p>Then, start and enable the service.</p>
<pre>:~# systemctl start mariadb
:~# systemctl enable mariadb</pre>
<p>Now it is necessary to define a password for the root user. In addition to this, the installation must be secured. For this the <code>mysql_secure_installation</code> script is available.</p>
<pre>:~# mysql_secure_installation</pre>
<p><figure id="attachment_12861" aria-describedby="caption-attachment-12861" style="width: 935px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12861" src="https://www.osradar.com/wp-content/uploads/2019/07/7.jpeg" alt="7.- Secure the MariaDB installation" width="935" height="708" srcset="https://www.osradar.com/wp-content/uploads/2019/07/7.jpeg 935w, https://www.osradar.com/wp-content/uploads/2019/07/7-300x227.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/7-768x582.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/7-80x60.jpeg 80w, https://www.osradar.com/wp-content/uploads/2019/07/7-696x527.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/7-555x420.jpeg 555w" sizes="(max-width: 935px) 100vw, 935px" /><figcaption id="caption-attachment-12861" class="wp-caption-text">7.- Secure the MariaDB installation</figcaption></figure></p>
<p>After defining the root password, you will be asked some configuration questions.</p>
<pre>Remove anonymous users? Y
Disallow root login remotely? Y
Remove test database and access to it? Y
Reload privilege tables now? Y</pre>
<p>Now, LEMP is complete.</p>
<h2>Conclusion</h2>
<p>The LEMP stack is widely used today because Nginx performs quite well with a lot of traffic. So it&#8217;s up to you to choose which one suits your needs.</p>
<p>Please share this post and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/">How to install LEMP on CentOS 8, Oracle Linux 8 / RHEL 8 /?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-lemp-on-oracle-linux-8-rhel-8-centos-8/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Java on RHEL 8 / CentOS 8 / Oracle Linux 8 ?</title>
		<link>https://www.osradar.com/install-java-on-rhel-8-centos-8-oracle-linux-8/</link>
					<comments>https://www.osradar.com/install-java-on-rhel-8-centos-8-oracle-linux-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 30 Jul 2019 23:11:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle java]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12836</guid>

					<description><![CDATA[<p>Java is one of the most popular programming languages out there. This is because it is the basis of many vital technologies in the professional field such as Jenkins or Tomcat. In this context, it is always convenient to have it in our operating systems. Therefore, in this post, we will teach you how to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-java-on-rhel-8-centos-8-oracle-linux-8/">How to install Java on RHEL 8 / CentOS 8 / Oracle Linux 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Java is one of the most popular programming languages out there. This is because it is the basis of many vital technologies in the professional field such as <a href="https://www.osradar.com/how-to-install-jenkins-in-ubuntu-18-04/">Jenkins</a> or <a href="https://www.osradar.com/install-apache-tomcat-debian-10/">Tomcat</a>. In this context, it is always convenient to have it in our operating systems. Therefore, in this post, we will teach you how to install Java on RHEL 8, <a href="https://www.osradar.com/tag/centos/">CentOS</a> 8 and Oracle Linux 8.</p>
<h2>OpenJDK vs Oracle Java</h2>
<p><a href="https://www.osradar.com/tag/java/">Java</a> is open source but its property belongs to Oracle. So, the community, taking advantage that Java is open source, has made a free oracle implementation called OpenJDK. Both do their job but there is more professional support if you use the Oracle version.</p>
<p>So today I will show you how to install both versions of Java on RHEL, CentOS and Oracle Linux 8.</p>
<h2>1) Install Java (OpenJDK) on RHEL, CentOS and Oracle Linux 8</h2>
<p>In the official distribution repositories, there are two versions of OpenJDK based on Java 8 and Java 11. Choose the one that best suits your needs or simply install both.</p>
<p>For OpenJDK Java 8:</p>
<pre>:~$ su
:~# dnf install java-1.8.0-openjdk-devel</pre>
<p>But, if you want to install version 11.</p>
<pre>:~# dnf install java-11-openjdk-devel
</pre>
<p>And that is it.</p>
<h2>2) Install Oracle Java on RHEL, CentOS and Oracle Linux 8</h2>
<p>Downloading the Oracle version on a server is a bit more complicated because for <a href="https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html" rel="noopener noreferrer">version 11</a> which is the last LTS, Log in is required. Then, you have to download it on another computer and upload it via FTP to the server.</p>
<p>Once you have done this, install it with the following command:</p>
<pre>:~# dnf install [file_path]</pre>
<p>On the same Oracle download site, you will be able to choose several versions of Java. However, keep in mind that 11 is the last LTS and is the safest.</p>
<h2>3) Set the default Java version</h2>
<p>Sometimes it&#8217;s a good idea to have several versions of Java installed. This is because there are many programs that although they are created with Java, they know how to make better use of one version than the other.</p>
<p>Then, you have to tell the system which is the default version that the operating system will take. Of course, you can change versions without any problem.</p>
<p>To do this, in the terminal run the following:</p>
<pre>:~# alternatives --config java</pre>
<p>And write the number corresponding to the Java version you want to leave by default.</p>
<p><figure id="attachment_12851" aria-describedby="caption-attachment-12851" style="width: 862px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12851" src="https://www.osradar.com/wp-content/uploads/2019/07/1-10.jpeg" alt="1.- Java on RHEL CentOS and Oracle Linux 8" width="862" height="221" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-10.jpeg 862w, https://www.osradar.com/wp-content/uploads/2019/07/1-10-300x77.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-10-768x197.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-10-696x178.jpeg 696w" sizes="(max-width: 862px) 100vw, 862px" /><figcaption id="caption-attachment-12851" class="wp-caption-text">1.- Java on RHEL CentOS and Oracle Linux 8</figcaption></figure></p>
<p>Next, check the version Java.</p>
<pre>:~# java --version
openjdk 11.0.2 2019-01-15 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.2+7-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+7-LTS, mixed mode, sharing)</pre>
<p>And that is it. Enjoy it.</p>
<h2>Conclusion</h2>
<p>Installing Java on a current operating system is quite easy and necessary. Especially if it is an application server that must be able to run multiple different applications. Today in this post, we have installed Java on RHEL CentOS and Oracle Linux 8.</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-java-on-rhel-8-centos-8-oracle-linux-8/">How to install Java on RHEL 8 / CentOS 8 / Oracle Linux 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-java-on-rhel-8-centos-8-oracle-linux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install the LAMP stack on Oracle Linux 8 / RHEL 8 / CentOS 8 ?</title>
		<link>https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/</link>
					<comments>https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 26 Jul 2019 22:11:13 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Oracle Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=12815</guid>

					<description><![CDATA[<p>Recently Oracle Linux 8 based on RHEL 8 was released. And we are also waiting for CentOS 8. They are distributions clearly designed for servers and large network infrastructures. Therefore, these servers require applications and services to provide some support to the network. And if this network wants to run web applications, then it must [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/">How to install the LAMP stack on Oracle Linux 8 / RHEL 8 / CentOS 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently Oracle Linux 8 based on RHEL 8 was released. And we are also waiting for CentOS 8. They are distributions clearly designed for servers and large network infrastructures. Therefore, these servers require applications and services to provide some support to the network. And if this network wants to run web applications, then it must have the right programs and libraries. Therefore, in this post, you will learn how to install the LAMP stack on Oracle Linux 8, RHEL 8 and CentOS 8.</p>
<h2>The LAMP stack</h2>
<p>LAMP is the set of several programs to perform the installation of a basic and functional web server. First of all, it is necessary to have a Linux distribution capable of being stable enough so that it does not fail. Nothing better than Oracle Linux, RHEL or <a href="https://www.osradar.com/tag/centos/">CentOS</a>; then, an HTTP server like Apache, a database manager like <a href="https://www.osradar.com/tag/mysql/">MySQL</a> and finally a web-oriented programming language like PHP.</p>
<p>Together they form the LAMP stack and it is basic to run web applications made in PHP as well as to develop new ones.</p>
<h3>Install Apache webserver</h3>
<p>We are going to install the <a href="https://www.osradar.com/tag/apache/" rel="noopener">Apache</a> webserver. Its name is <code>httpd</code> and it is in the official repositories of these Linux distributions. It is the most popular web server out there and most open source projects use it as the basis for their execution.</p>
<p>On the other hand, it is open source and is very well supported by the community.</p>
<p>Open a terminal session or connect to the server using <a href="https://www.osradar.com/termius-is-a-powefull-ssh-client/" rel="noopener">ssh</a>.</p>
<pre>:~$ su
:~# dnf install httpd</pre>
<p><figure id="attachment_12816" aria-describedby="caption-attachment-12816" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12816" src="https://www.osradar.com/wp-content/uploads/2019/07/1-7.jpeg" alt="1.- Install apache web server on Oracle Linux 8 RHEL 8 and CentOS 8" width="1366" height="412" srcset="https://www.osradar.com/wp-content/uploads/2019/07/1-7.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/1-7-300x90.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/1-7-768x232.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/1-7-1024x309.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/1-7-696x210.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/1-7-1068x322.jpeg 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12816" class="wp-caption-text">1.- Install an apache web server on Oracle Linux 8 RHEL 8 and CentOS 8</figcaption></figure></p>
<p>Then, you need to start the service.</p>
<pre>:~# systemctl start httpd</pre>
<p>If it is a production or development web server, then, it is a good idea for Apache to run at system startup. To do this, run this command as well:</p>
<pre>:~# systemctl enable httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.</pre>
<p>Then you have to open port <code>80</code> in the firewall. If you plan to use https, then open <code>443</code> as well.</p>
<pre>:~# firewall-cmd --add-port=80/tcp --zone=public --permanent
success
:~# firewall-cmd --add-port=443/tcp --zone=public --permanent
success
:~# firewall-cmd --reload
success</pre>
<p>Now, open your web browser and go to your server. For example, <code>http://server-ip</code> and you will see this.</p>
<p><figure id="attachment_12817" aria-describedby="caption-attachment-12817" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12817" src="https://www.osradar.com/wp-content/uploads/2019/07/2-13.png" alt="2.- Apache default page on Oracle Linux 8" width="1366" height="426" srcset="https://www.osradar.com/wp-content/uploads/2019/07/2-13.png 1366w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-300x94.png 300w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-768x240.png 768w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-1024x319.png 1024w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-696x217.png 696w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-1068x333.png 1068w, https://www.osradar.com/wp-content/uploads/2019/07/2-13-1347x420.png 1347w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12817" class="wp-caption-text">2.- Apache default page on Oracle Linux 8</figcaption></figure></p>
<p>So, the Apache webserver is running properly.</p>
<h3>Second step: PHP</h3>
<p>Then you have to install PHP so that the applications can be interpreted. PHP is also in the official repositories, so there will be no problems.</p>
<p>It is also a good idea to install several PHP extensions to extend its functionality.</p>
<pre>:~# dnf install php php-common php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql php-gd php-mbstring php-xml</pre>
<p><figure id="attachment_12818" aria-describedby="caption-attachment-12818" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12818" src="https://www.osradar.com/wp-content/uploads/2019/07/3-5.jpeg" alt="3.- Installing PHP on Oracle Linux 8 RHEL 8 and CentOS 8" width="1366" height="596" srcset="https://www.osradar.com/wp-content/uploads/2019/07/3-5.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-300x131.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-768x335.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-1024x447.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-696x304.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-1068x466.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/07/3-5-963x420.jpeg 963w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12818" class="wp-caption-text">3.- Installing PHP on Oracle Linux 8 RHEL 8 and CentOS 8</figcaption></figure></p>
<p>Now, it is time to test it. Create a new file called <code>test.php</code> on <code>/var/www/html</code> and add the following.</p>
<pre>:~# nano /var/www/html/test.php</pre>
<pre>&lt;?php
phpinfo();
?&gt;</pre>
<p>Next, restart Apache.</p>
<pre>:~# systemctl restart httpd</pre>
<p>Now, open the file using the web browser.</p>
<p>Now, Apache and PHP are working.</p>
<h3>The last component of the LAMP stack: MySQL</h3>
<p>Now the database manager is missing. To do this, we will use MySQL. To install it, run the following command:</p>
<pre>:~# dnf install mysql-server
or
:~# dnf install mariadb-server</pre>
<p><figure id="attachment_12819" aria-describedby="caption-attachment-12819" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-12819" src="https://www.osradar.com/wp-content/uploads/2019/07/4-2.jpeg" alt="4.- Install MySQL on Oracle Linux 8" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/07/4-2.jpeg 1366w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-300x169.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-768x432.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-1024x576.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-696x391.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-1068x600.jpeg 1068w, https://www.osradar.com/wp-content/uploads/2019/07/4-2-747x420.jpeg 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-12819" class="wp-caption-text">4.- Install MySQL on Oracle Linux 8</figcaption></figure></p>
<p>After installing it, as well as with Apache, start the service. It is also convenient to start the system.</p>
<pre>:~# systemctl start mysqld
:~# systemctl enable mysqld
or
:~# systemctl start mariadb
:~# systemctl enable mariadb</pre>
<p>However, the MySQL root password has not been defined and the installation has not been secured. To do this, run the following command:</p>
<pre>:~# mysql_secure_installation</pre>
<p>Then, after defining the root password, you will be asked other questions related to the security of the program.</p>
<pre class="">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</pre>
<p>Now, you can start to create the databases you want.</p>
<h2>Conclusion</h2>
<p>The LAMP stack is something fundamental in a modern server. Therefore, it is important to have it installed and configured correctly and run web applications. In this post, you have learned to install it in Oracle Linux 8, RHEL 8 and CentOS 8.</p>
<p>You can also read <a href="https://www.osradar.com/install-lamp-on-debian-10/">how to install LAMP on Debian 10 Buster</a>?</p>
<p>Please share this post with your friends and join <a href="https://t.me/osradar">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/">How to install the LAMP stack on Oracle Linux 8 / RHEL 8 / CentOS 8 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-lamp-stack-on-oracle-linux-8-rhel-8-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
