<?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>administration Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/administration/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sat, 07 Dec 2019 13:29:35 +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 Nginx from the source code on Debian 10 / Ubuntu 18.04 / Ubuntu 19.04?</title>
		<link>https://www.osradar.com/install-nginx-from-the-source-code-debian-ubuntu/</link>
					<comments>https://www.osradar.com/install-nginx-from-the-source-code-debian-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 09 Dec 2019 00:00:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8847</guid>

					<description><![CDATA[<p>There are many system administrators who prefer to install programs from their source code. Although it may seem strange to you, it is a very good practice, so you have total control of the program. That&#8217;s why today I&#8217;ll show you how to install Nginx from the source code on Debian 10 / Ubuntu 18.04 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nginx-from-the-source-code-debian-ubuntu/">How to install Nginx from the source code on Debian 10 / Ubuntu 18.04 / Ubuntu 19.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>There are many system administrators who prefer to install programs from their source code. Although it may seem strange to you, it is a very good practice, so you have total control of the program. That&#8217;s why today I&#8217;ll show you how to install Nginx from the source code on Debian 10 / Ubuntu 18.04 / Ubuntu 19.04.</p>
<p>A web server can be cataloged as an essential element of the network. Therefore, you must have a program that is the best and that is Nginx. <a href="http://ngnix.com" rel="noopener">Nginx</a> is a lightweight, open source and widely popular web server that bases its success on performance when processing websites. Along with <a href="https://www.osradar.com/how-to-install-apache-gui-on-debian-9/" rel="noopener">Apache web server</a> are the two references within Linux for that purpose.</p>
<p>So, let&#8217;s start.</p>
<h2>1. Upgrade the system</h2>
<p>The first step in this process is to keep your system up to date. Therefore, connect to your server and run.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<figure id="attachment_8972" aria-describedby="caption-attachment-8972" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8972" src="https://www.osradar.com/wp-content/uploads/2019/01/1-4.png" alt="1.- Upgrade the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/1-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/1-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/1-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/1-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/1-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/1-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8972" class="wp-caption-text">1.- Upgrade the system</figcaption></figure>
<p>With this, you will have a more stable system, robust and ready to start the installation.</p>
<h2>2. Install required packages</h2>
<p>To compile the Nginx source code, it is necessary to install some previous packages.</p>
<pre class="">:~$ sudo apt install build-essential libpcre3-dev zlib1g-dev libssl-dev libatomic-ops-dev libxml2-dev libxslt1-dev libgeoip1 libgeoip-dev libgd-dev google-perftools libgoogle-perftools-dev libperl-dev</pre>
<figure id="attachment_8973" aria-describedby="caption-attachment-8973" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8973" src="https://www.osradar.com/wp-content/uploads/2019/01/2-4.png" alt="2.- Install required packages for the installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/2-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/2-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/2-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/2-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/2-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/2-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8973" class="wp-caption-text">2.- Install required packages for the installation</figcaption></figure>
<p>So, as you can see in the image, many packages related to compilation and package construction are installed.</p>
<h2>3. Download and install Nginx</h2>
<p>Now proceed to download the latest stable version of Ngnix from your website. Use the following command to do it</p>
<pre class="">:~$ wget -c http://nginx.org/download/nginx-1.15.8.tar.gz</pre>
<figure id="attachment_8974" aria-describedby="caption-attachment-8974" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8974" src="https://www.osradar.com/wp-content/uploads/2019/01/3-4.png" alt="3.- Downloading Nginx source code" width="1365" height="309" srcset="https://www.osradar.com/wp-content/uploads/2019/01/3-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/3-4-300x68.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/3-4-768x174.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/3-4-1024x232.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/3-4-1068x242.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8974" class="wp-caption-text">3.- Downloading Nginx source code</figcaption></figure>
<p><em>Note: At the time of writing this post the latest stable version of Ngnix is 1.15.8. First, find out which version you want to download and modify the previous command. It also work with Nginx 1.17.6.<br />
</em></p>
<p>Now, decompress the file.</p>
<pre class="">:~$ tar -xvzf nginx-1.15.8.tar.gz</pre>
<figure id="attachment_8975" aria-describedby="caption-attachment-8975" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8975" src="https://www.osradar.com/wp-content/uploads/2019/01/4-4.png" alt="4.- Decompressing the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/4-4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/4-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/4-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/4-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/4-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/4-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8975" class="wp-caption-text">4.- Decompressing the file</figcaption></figure>
<p>Now, create a new user for Nginx.</p>
<pre class="">:~$ sudo useradd -s /sbin/nologin nginx</pre>
<p>Next, enter the created directory and start the configuration.</p>
<pre class="">:~$ cd nginx-1.15.8/
:~$ sudo ./configure --user=nginx --group=nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_xslt_module=dynamic --with-http_image_filter_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-http_geoip_module=dynamic --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-http_perl_module --with-http_perl_module=dynamic --with-mail --with-mail=dynamic --with-mail_ssl_module --with-stream --with-stream=dynamic --with-stream_ssl_module --with-stream_realip_module --with-stream_geoip_module --with-stream_geoip_module=dynamic --with-stream_ssl_preread_module --with-google_perftools_module --with-cpp_test_module --with-compat --with-pcre --with-pcre-jit  --with-zlib-asm=CPU --with-libatomic --with-debug --with-ld-opt="-Wl,-E"</pre>
<figure id="attachment_8976" aria-describedby="caption-attachment-8976" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8976" src="https://www.osradar.com/wp-content/uploads/2019/01/5-4.png" alt="5.- Configuring the package" width="1365" height="264" srcset="https://www.osradar.com/wp-content/uploads/2019/01/5-4.png 1365w, https://www.osradar.com/wp-content/uploads/2019/01/5-4-300x58.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/5-4-768x149.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/5-4-1024x198.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/5-4-1068x207.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8976" class="wp-caption-text">5.- Configuring the package</figcaption></figure>
<p>As you can see, the command is quite extensive because it requires that you indicate which modules or options will be enabled.</p>
<p>When you finish the configuration, you should see something like this.</p>
<figure id="attachment_8977" aria-describedby="caption-attachment-8977" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8977" src="https://www.osradar.com/wp-content/uploads/2019/01/6-3.png" alt="6.- End of the configure command" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/6-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/6-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8977" class="wp-caption-text">6.- End of the configure command</figcaption></figure>
<p>So, install it.</p>
<pre class="">:~$ sudo make &amp;&amp; sudo make install</pre>
<figure id="attachment_8978" aria-describedby="caption-attachment-8978" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8978" src="https://www.osradar.com/wp-content/uploads/2019/01/7-3.png" alt="7.- Install Ngnix from the source code" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/01/7-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/7-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8978" class="wp-caption-text">7.- Install Ngnix from the source code</figcaption></figure>
<p>And that&#8217;s it.</p>
<h2>4. Create a systemd service file for Nginx</h2>
<p>To better manage Ngnix, create a file to make it a systemd service.</p>
<pre class="">:~$ sudo nano /lib/systemd/system/nginx.service</pre>
<p>And add the following:</p>
<pre class="">[Unit]
Description=The Nginx 1.15.8 service
After=syslog.target network.target remote-fs.target nss-lookup.target

[Service]
Type=forking
PIDFile=/usr/local/nginx/logs/nginx.pid
ExecStartPre=/usr/sbin/nginx -t
ExecStart=/usr/sbin/nginx
ExecReload=/usr/sbin/nginx -s reload
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true

[Install]
WantedBy=multi-user.target
</pre>
<figure id="attachment_8980" aria-describedby="caption-attachment-8980" style="width: 863px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8980" src="https://www.osradar.com/wp-content/uploads/2019/01/8-2.png" alt="8.- Creating the systemd file for Ngnix" width="863" height="390" srcset="https://www.osradar.com/wp-content/uploads/2019/01/8-2.png 863w, https://www.osradar.com/wp-content/uploads/2019/01/8-2-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/8-2-768x347.png 768w" sizes="(max-width: 863px) 100vw, 863px" /><figcaption id="caption-attachment-8980" class="wp-caption-text">8.- Creating the systemd file for Ngnix</figcaption></figure>
<p>For these changes to take effect, it is necessary to reload the systemd configuration.</p>
<pre class="">:~$ sudo systemctl daemon-reload</pre>
<p>Now, start Ngnix.</p>
<pre class="">:~$ sudo systemctl start nginx</pre>
<figure id="attachment_8981" aria-describedby="caption-attachment-8981" style="width: 840px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8981" src="https://www.osradar.com/wp-content/uploads/2019/01/9-2.png" alt="9.- Start Nginx service" width="840" height="152" srcset="https://www.osradar.com/wp-content/uploads/2019/01/9-2.png 840w, https://www.osradar.com/wp-content/uploads/2019/01/9-2-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/9-2-768x139.png 768w" sizes="(max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-8981" class="wp-caption-text">9.- Start Nginx service</figcaption></figure>
<p>Finally, open your web browser and go to <code>http://IP_SERVER</code>. You should see this.</p>
<figure id="attachment_8982" aria-describedby="caption-attachment-8982" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8982" src="https://www.osradar.com/wp-content/uploads/2019/01/10-2.png" alt="10. Nginx welcome page" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2019/01/10-2.png 1366w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2019/01/10-2-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8982" class="wp-caption-text">10. Nginx welcome page</figcaption></figure>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>Nginx is a great application to set up a web server. The installation from the source code brings the advantage of being lighter. This is useful if you want to have total control over its operation.</p>
<p>Please share this article with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-nginx-from-the-source-code-debian-ubuntu/">How to install Nginx from the source code on Debian 10 / Ubuntu 18.04 / Ubuntu 19.04?</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-nginx-from-the-source-code-debian-ubuntu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Cockpit on CentOS 8?</title>
		<link>https://www.osradar.com/install-cockpit-centos-8/</link>
					<comments>https://www.osradar.com/install-cockpit-centos-8/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 04 Oct 2019 04:10:17 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[Cockpit]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[server]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=14146</guid>

					<description><![CDATA[<p>Managing a server is not always an easy task. You have to be aware of many processes and services that make life on that computer. So, it follows that it is necessary to have tools that can facilitate this whole process. Above all because, in general, the servers do not have a graphical environment that [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cockpit-centos-8/">How to install Cockpit on 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>Managing a server is not always an easy task. You have to be aware of many processes and services that make life on that computer. So, it follows that it is necessary to have tools that can facilitate this whole process. Above all because, in general, the servers do not have a graphical environment that allows processes to be carried out at the click of a mouse. For this reason, the great open source community has created Cockpit. Basically, it is a Linux server manager. In this post, you will learn how to install Cockpit on CentOS 8 and we will give you a look at some of its features.</p>
<h2>Cockpit makes server management much easier</h2>
<p><a href="https://cockpit-project.org/" target="_blank" rel="noopener noreferrer">Cockpit</a> is a web application that allows you to control one server or several Linux servers. Everything from a web interface that you can open from your favorite web browser. In this way, we can perform common and not so common tasks on the server with <strong>just a few clicks.</strong></p>
<p><strong>Using Cockpit It is easy to start containers, administer storage, configure networks, and inspect logs</strong>.</p>
<p>On the other hand, Cockpit gets along very well with after-server applications such as Ansible. This means that the integration with the server is practically complete. In addition, the application is quite well supported by its creators and is available for the largest Linux distributions.</p>
<p>So, we can say that Cockpit<strong> makes server management easier.</strong></p>
<h2>Install Cockpit on CentOS 8</h2>
<p>In order for Cockpit to be able to read the proper information from the system, it is a good idea to update it first. To do this, connect to your server using SSH and run the following:</p>
<pre>:~$ su<br>:~# dnf update</pre>
<p>Now the system is ready for Cockpit.</p>
<p>Fortunately, Cockpit comes by default in the default CentOS 8 repositories. This causes the installation to be condensed in a single command.</p>
<pre>:~# dnf install cockpit</pre>
<figure id="attachment_14177" aria-describedby="caption-attachment-14177" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14177" src="https://www.osradar.com/wp-content/uploads/2019/10/1-1.png" alt="1.- Install Cockpit on CentOS 8" width="1366" height="742" srcset="https://www.osradar.com/wp-content/uploads/2019/10/1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-300x163.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-768x417.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-1024x556.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-696x378.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-1068x580.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/1-1-773x420.png 773w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14177" class="wp-caption-text">1.- Install Cockpit on CentOS 8</figcaption></figure>
<p>Then, it will start downloading and installing all the necessary packages.</p>
<p>Cockpit is managed as a service. Therefore, we can start it, stop it and restart it in a similar way to <a href="https://osradar.com/tag/apache/" target="_blank" rel="noopener noreferrer">Apache</a> or <a href="https://osradar.com/tag/mariadb/" target="_blank" rel="noopener noreferrer">MariaDB</a> using systemctl. Then you have to start it:</p>
<pre>:~# systemctl start cockpit</pre>
<p>It is advisable that Cockpit is started with the system, if that is what you want, use this command:</p>
<pre>:~# systemctl enable cockpit</pre>
<p>Finally, to verify that everything has worked out correctly, you can check the status of the service.</p>
<pre>:~# systemctl status cockpit</pre>
<figure id="attachment_14178" aria-describedby="caption-attachment-14178" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-14178 size-full" src="https://www.osradar.com/wp-content/uploads/2019/10/2-1.png" alt="2.- The Cockpit service status" width="1366" height="394" srcset="https://www.osradar.com/wp-content/uploads/2019/10/2-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/2-1-300x87.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/2-1-768x222.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/2-1-1024x295.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/2-1-696x201.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/2-1-1068x308.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14178" class="wp-caption-text">2.- The Cockpit service status</figcaption></figure>
<p>After that, we need to open the Cockpit ports in the firewall so that we can run it from the web browser.</p>
<pre>:~# firewall-cmd --add-service=cockpit --permanent --zone=public<br>:~# firewall-cmd --reload<br>success</pre>
<p>Now, we can use it from the web browser.</p>
<h2>Using Cockpit</h2>
<p>Once we access <code>http://your-server:9090</code> we will see the following screen.</p>
<figure id="attachment_14179" aria-describedby="caption-attachment-14179" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14179" src="https://www.osradar.com/wp-content/uploads/2019/10/3-1.png" alt="3.- Cockpit login page on CentOS 8" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/3-1.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/3-1-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14179" class="wp-caption-text">3.- Cockpit login page on CentOS 8</figcaption></figure>
<p>In this screen, you will have to log in with your system credentials. Then, you will see the Dashboard.</p>
<figure id="attachment_14180" aria-describedby="caption-attachment-14180" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14180" src="https://www.osradar.com/wp-content/uploads/2019/10/4.png" alt="4.- Cockpit Dashboard" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/4.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/4-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/4-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/4-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/4-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/4-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/4-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/4-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14180" class="wp-caption-text">4.- Cockpit Dashboard</figcaption></figure>
<p>With Cockpit, you can see the system logs. But also the network settings. Even tasks like adding a bridge are done with a few clicks. You can also see the network activity.</p>
<figure id="attachment_14181" aria-describedby="caption-attachment-14181" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14181" src="https://www.osradar.com/wp-content/uploads/2019/10/5.png" alt="5.- Network screen on Cockpit" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14181" class="wp-caption-text">5.- Network screen on Cockpit</figcaption></figure>
<p>On the left side, you will have all the options available. Also, an important aspect of the application is that it allows the management of system services graphically.</p>
<p><figure id="attachment_14182" aria-describedby="caption-attachment-14182" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14182" src="https://www.osradar.com/wp-content/uploads/2019/10/6.png" alt="6.- Services screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/6-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/6-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/6-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/6-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/6-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/6-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14182" class="wp-caption-text">6.- Services screen</figcaption></figure><br>
<figure id="attachment_14183" aria-describedby="caption-attachment-14183" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14183" src="https://www.osradar.com/wp-content/uploads/2019/10/7.png" alt="7.- Sockets screen" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/7.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/7-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/7-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/7-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/7-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/7-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/7-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/7-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14183" class="wp-caption-text">7.- Sockets screen</figcaption></figure></p>
<p>Finally, the application has a terminal emulator integrated with the system. This if you need to perform a specific command or something else.</p>
<figure id="attachment_14184" aria-describedby="caption-attachment-14184" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-14184" src="https://www.osradar.com/wp-content/uploads/2019/10/8.png" alt="8.- Cockpit terminal on CentOS 8" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/10/8.png 1366w, https://www.osradar.com/wp-content/uploads/2019/10/8-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/10/8-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/10/8-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/10/8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/10/8-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/10/8-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/10/8-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-14184" class="wp-caption-text">8.- Cockpit terminal on CentOS 8</figcaption></figure>
<p>So, now you can use it.</p>
<h2>Conclusion</h2>
<p>There are many tools that allow us to manage a server more effectively. Cockpit is one of those tools that with a bright and polished graphical interface can perform common tasks and not so common on a Linux server. Thus, in this post, you have learned to install it on CentOS 8. And see some of its modules.</p>
<p>So, you can learn <a href="https://osradar.com/tag/centos-8" target="_blank" rel="noopener noreferrer">more about CentOS 8</a> reading our posts.</p>
<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noopener noreferrer">our Telegram channel</a>.</p>


<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-cockpit-centos-8/">How to install Cockpit on 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-cockpit-centos-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install Ejabberd on CentOS 7</title>
		<link>https://www.osradar.com/install-ejabberd-on-centos-7/</link>
					<comments>https://www.osradar.com/install-ejabberd-on-centos-7/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 13 Feb 2019 12:17:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[communications]]></category>
		<category><![CDATA[ejabberd]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[XMPP]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10736</guid>

					<description><![CDATA[<p>In today&#8217;s age, the age of security, many organizations like to have control of their communications. Fortunately, it has an open, secure and reliable protocol like XMPP. Thanks to this, it is possible to deploy various communication solutions for businesses and organization, specifically messaging. Therefore, today I will teach you how to install Ejabberd on [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ejabberd-on-centos-7/">Install Ejabberd on CentOS 7</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 today&#8217;s age, the age of security, many organizations like to have control of their communications. Fortunately, it has an open, secure and reliable protocol like XMPP. Thanks to this, it is possible to deploy various <a href="https://www.osradar.com/slack-a-great-application-for-team-communication/" rel="noopener">communication</a> solutions for businesses and organization, specifically messaging. Therefore, today I will teach you how to install Ejabberd on <a href="https://osradar.com/tag/centos/" rel="noopener">CentOS</a> 7 so that you too can take advantage of this protocol.</p>
<p>In case you did not know, <a href="https://www.process-one.net/en/ejabberd/" rel="noopener">Ejabberd</a> is a messaging server that uses the <a href="https://xmpp.org/" rel="noopener">XMPP</a> protocol. It is open source and has a community version that will save us money, ideal if our company is small. Its main objective is to be fast and scalable, so, that it can be used in almost any scenario.</p>
<p>So, let us start to install Ejabberd on CentOS 7.</p>
<h2>1. Upgrade the system and install glibc</h2>
<p>First, you need to update the system. You know, with this you will have installed the latest security patches and you will be able to enjoy a more stable and secure system.</p>
<pre class="">:~$ su
:~# yum update</pre>
<p><figure id="attachment_10739" aria-describedby="caption-attachment-10739" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10739" src="https://www.osradar.com/wp-content/uploads/2019/02/1-9.png" alt="1.- Upgrade the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-9.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10739" class="wp-caption-text">1.- Upgrade the system</figcaption></figure></p>
<p>Now, you have to install a required library. It is <code>glibc</code>.</p>
<pre class="">:~# yum install glibc</pre>
<p><figure id="attachment_10740" aria-describedby="caption-attachment-10740" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10740" src="https://www.osradar.com/wp-content/uploads/2019/02/2-9.png" alt="2.- Install glibc" width="1365" height="638" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-9.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-300x140.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-768x359.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-1024x479.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-696x325.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-1068x499.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/2-9-899x420.png 899w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10740" class="wp-caption-text">2.- Install glibc</figcaption></figure></p>
<p>So, now you have the system updated and with glibc installed, you can continue with the installation.</p>
<h2>2. Download and install Ejabberd</h2>
<p>The next step is to download the Ejabberd binaries from the <a href="https://www.process-one.net/en/ejabberd/downloads/" rel="noopener">website</a>. In this case, I will use the binary in. RPM format. At the time of writing this post, the latest stable version of Ejabberd is 18.12.1.</p>
<pre class="">:~# yum install wget
:~# wget https://www.process-one.net/downloads/downloads-action.php?file=/ejabberd/18.12.1/ejabberd-18.12.1-0.x86_64.rpm</pre>
<p><figure id="attachment_10741" aria-describedby="caption-attachment-10741" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10741" src="https://www.osradar.com/wp-content/uploads/2019/02/3-9.png" alt="3.- Donwload ejabberd" width="1365" height="430" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-9.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-300x95.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-768x242.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-1024x323.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-696x219.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-1068x336.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/3-9-1333x420.png 1333w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10741" class="wp-caption-text">3.- Download ejabberd</figcaption></figure></p>
<p>After that, install the downloaded package using yum.</p>
<pre class="">:~# mv downloads-action.php\?file\=%2Fejabberd%2F18.12.1%2Fejabberd-18.12.1-0.x86_64.rpm ejabberd.rpm
:~# rpm -ivh ejabberd.rpm</pre>
<p><figure id="attachment_10742" aria-describedby="caption-attachment-10742" style="width: 912px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10742" src="https://www.osradar.com/wp-content/uploads/2019/02/4-7.png" alt="4.- Install Ejabberd on CentOS" width="912" height="171" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-7.png 912w, https://www.osradar.com/wp-content/uploads/2019/02/4-7-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-7-768x144.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-7-696x131.png 696w" sizes="(max-width: 912px) 100vw, 912px" /><figcaption id="caption-attachment-10742" class="wp-caption-text">4.- Install Ejabberd on CentOS</figcaption></figure></p>
<p>Note the following, the ejabberd initialization script is located at <code>/etc/init.d/</code>. In addition, the <code>ejabberd</code> user will be created.</p>
<h2>3. Starting the Ejabberd service</h2>
<p>Now it is necessary to work with the Ejabberd service, to start it or restart it when it is convenient.</p>
<p>All you have to do is copy the <code>ejabberd.service</code> file located in the <code>/opt/ejabberd-18.12.1/bin/</code> folder to the <code>/etc/systemd/system/</code> folder.</p>
<pre class="">:~# cp /opt/ejabberd-18.12.1/bin/ejabberd.service /etc/systemd/system/</pre>
<p><figure id="attachment_10743" aria-describedby="caption-attachment-10743" style="width: 843px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10743" src="https://www.osradar.com/wp-content/uploads/2019/02/5-9.png" alt="5.- Working with the ejabberd service" width="843" height="110" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-9.png 843w, https://www.osradar.com/wp-content/uploads/2019/02/5-9-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-9-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-9-696x91.png 696w" sizes="(max-width: 843px) 100vw, 843px" /><figcaption id="caption-attachment-10743" class="wp-caption-text">5.- Working with the ejabberd service</figcaption></figure></p>
<p>In order for the service to be recognized by systemd, it is necessary to refresh the services.</p>
<pre class="">:~# systemctl daemon-reload</pre>
<p><figure id="attachment_10744" aria-describedby="caption-attachment-10744" style="width: 831px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10744" src="https://www.osradar.com/wp-content/uploads/2019/02/6-8.png" alt="6.- Reload the services" width="831" height="130" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-8.png 831w, https://www.osradar.com/wp-content/uploads/2019/02/6-8-300x47.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-8-768x120.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-8-696x109.png 696w" sizes="(max-width: 831px) 100vw, 831px" /><figcaption id="caption-attachment-10744" class="wp-caption-text">6.- Reload the services</figcaption></figure></p>
<p>After that, enable and start the service. Finally, it is a good idea to check the status of the service.</p>
<pre class="">:~# systemctl enable ejabberd
:~# systemctl start ejabberd
:~# systemctl status ejabberd</pre>
<p><figure id="attachment_10745" aria-describedby="caption-attachment-10745" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10745" src="https://www.osradar.com/wp-content/uploads/2019/02/7-8.png" alt="7.- Ejabberd service" width="1365" height="384" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-8.png 1365w, https://www.osradar.com/wp-content/uploads/2019/02/7-8-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-8-768x216.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-8-1024x288.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-8-696x196.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-8-1068x300.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-10745" class="wp-caption-text">7.- Ejabberd service</figcaption></figure></p>
<p>As you can see in the image above, everything is going well. It is now necessary to create an administrator account.</p>
<h2>4. Create an administrator account and access from the web browser</h2>
<p>To access the Ejabberd administration panel, it is necessary to create an administrator account. Let us go for it.</p>
<p>First, access the folder where the binary is.</p>
<pre class="">:~# cd /opt/ejabberd-18.12.1/bin/</pre>
<p>Then, use the following formula to create your user.</p>
<pre class="">:~# ./ejabberdctl register user localhost your_password</pre>
<p>Of course, replace user and your_password by yours. And localhost by your hostname.</p>
<p><figure id="attachment_10747" aria-describedby="caption-attachment-10747" style="width: 910px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10747" src="https://www.osradar.com/wp-content/uploads/2019/02/8-9.png" alt="8.- Creating the admin user" width="910" height="127" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-9.png 910w, https://www.osradar.com/wp-content/uploads/2019/02/8-9-300x42.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-9-768x107.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-9-696x97.png 696w" sizes="(max-width: 910px) 100vw, 910px" /><figcaption id="caption-attachment-10747" class="wp-caption-text">8.- Creating the admin user</figcaption></figure></p>
<p>After that, you have to edit one file to give administration rights to the new user.</p>
<pre class="">:~# nano /opt/ejabberd/conf/ejabberd.yml</pre>
<p><figure id="attachment_10751" aria-describedby="caption-attachment-10751" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-10751 size-full" src="https://www.osradar.com/wp-content/uploads/2019/02/9-11.png" alt="9.- Edit the configuration file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-11.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/9-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10751" class="wp-caption-text">9.- Edit the configuration file</figcaption></figure></p>
<p>Then, restart the service to apply the changes.</p>
<pre class="">:~# systemctl restart ejabberd</pre>
<p>After that, set the right rules in the firewall for ejabberd. Remember, ejabberd uses the 5280 port.</p>
<pre class="">:~# firewall-cmd --add-port=5280/tcp --permanent
:~# firewall-cmd --reload</pre>
<p><figure id="attachment_10750" aria-describedby="caption-attachment-10750" style="width: 926px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10750" src="https://www.osradar.com/wp-content/uploads/2019/02/10-8.png" alt="10.- Firewall settings" width="926" height="199" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-8.png 926w, https://www.osradar.com/wp-content/uploads/2019/02/10-8-300x64.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-8-768x165.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-8-696x150.png 696w" sizes="(max-width: 926px) 100vw, 926px" /><figcaption id="caption-attachment-10750" class="wp-caption-text">10.- Firewall settings</figcaption></figure></p>
<p>Finally, open your web browser and go to <code>http://SERVER_IP:5280/admin</code> and log in. Remember the user is complete including the hostname. In my case is <strong>angelo@osradar</strong>.</p>
<p><figure id="attachment_10752" aria-describedby="caption-attachment-10752" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10752" src="https://www.osradar.com/wp-content/uploads/2019/02/11-5.png" alt="11.- Administration dashboard" width="1366" height="666" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-768x374.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-1024x499.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-696x339.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-1068x521.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/11-5-861x420.png 861w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10752" class="wp-caption-text">11.- Administration dashboard</figcaption></figure></p>
<p>So, that is it.</p>
<h2>Conclusion</h2>
<p>Ejabberd is a great alternative to deploy an XMPP server quickly and easily. That&#8217;s why Ejabberd is listed as one of the leading solutions in this segment. Its installation in CentOS 7 is quite simple and does not present too many drawbacks.</p>
<p>Share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ejabberd-on-centos-7/">Install Ejabberd on CentOS 7</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-ejabberd-on-centos-7/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Install Ajenti Control Panel on Ubuntu 18.04 and Linux Mint 19</title>
		<link>https://www.osradar.com/install-ajenti-control-panel-on-ubuntu-18-04-and-linux-mint-19/</link>
					<comments>https://www.osradar.com/install-ajenti-control-panel-on-ubuntu-18-04-and-linux-mint-19/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 09 Feb 2019 12:22:57 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[ajenti]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=10601</guid>

					<description><![CDATA[<p>Many systems need a unique interface to be able to manage them. However, when we talk about servers, we find that they do not have a graphical interface for security reasons. In addition, not having a graphical interface on the server makes it better manage the resources of it devoting more to services and applications. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ajenti-control-panel-on-ubuntu-18-04-and-linux-mint-19/">Install Ajenti Control Panel on Ubuntu 18.04 and Linux Mint 19</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Many systems need a unique interface to be able to manage them. However, when we talk about servers, we find that they do not have a graphical interface for security reasons. In addition, not having a graphical interface on the server makes it better manage the resources of it devoting more to services and applications. On the other hand, it is much simpler to manage all the processes and information of a server using a graphical interface. So, that is why today I will show you how to install Ajenti in Ubuntu 18.04.</p>
<p><a href="http://ajenti.org/" rel="noopener">Ajenti</a> is a system administration panel compatible with many of the Linux distributions that exist. It is written in <a href="https://www.osradar.com/get-the-latest-python-on-linux/" rel="noopener">Python</a> and requires very few resources. So, it is a great tool if we want to <a href="https://www.osradar.com/using-gotop-a-graphical-system-monitor/" rel="noopener">monitor</a> the status and services of our system with a nice graphical interface, responsive and very functional. Of course, it is open source, under the <a href="https://opensource.org/licenses/BSD-3-Clause" rel="noopener">BSD</a> license which makes its source code be studied by those who want.</p>
<p>On the other hand, the application has a very friendly front-end created with Angular.js. This makes it compatible with most current browsers.</p>
<p>So, let us install Ajenti on Ubuntu 18.04 or Linux Mint 19.</p>
<h2>1. Upgrade the system</h2>
<p>It is always a good idea to update your system to receive the latest security updates. With this, you will have a more robust system and ready for action.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_10642" aria-describedby="caption-attachment-10642" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10642" src="https://www.osradar.com/wp-content/uploads/2019/02/1-6.png" alt="1.- Upgrade the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2019/02/1-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/1-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10642" class="wp-caption-text">1.- Upgrade the system</figcaption></figure></p>
<p>&nbsp;</p>
<p>Now, with the updated system, it is possible to continue with the installation without problems.</p>
<h2>2.- Install required packages and add the external repository</h2>
<p>Before installing Ajenti in Ubuntu it is necessary to install two necessary packages to do it. The first one is wget that will help us to download a file to add the repository. So, let us do it.</p>
<pre class="">:~$ sudo apt install wget</pre>
<p>The other package we must install as a dependency is python-imaging.</p>
<pre class="">:~$ wget http://security.ubuntu.com/ubuntu/pool/universe/p/pillow/python-imaging_4.1.1-3build2_all.deb
:~$ sudo dpkg -i python-imaging_4.1.1-3build2_all.deb</pre>
<p><figure id="attachment_10643" aria-describedby="caption-attachment-10643" style="width: 1344px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10643" src="https://www.osradar.com/wp-content/uploads/2019/02/2-6.png" alt="2.- Download the required package" width="1344" height="244" srcset="https://www.osradar.com/wp-content/uploads/2019/02/2-6.png 1344w, https://www.osradar.com/wp-content/uploads/2019/02/2-6-300x54.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/2-6-768x139.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/2-6-1024x186.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/2-6-696x126.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/2-6-1068x194.png 1068w" sizes="(max-width: 1344px) 100vw, 1344px" /><figcaption id="caption-attachment-10643" class="wp-caption-text">2.- Download the required package</figcaption></figure></p>
<p><figure id="attachment_10644" aria-describedby="caption-attachment-10644" style="width: 804px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10644" src="https://www.osradar.com/wp-content/uploads/2019/02/3-6.png" alt="3.- Install python-imaging" width="804" height="198" srcset="https://www.osradar.com/wp-content/uploads/2019/02/3-6.png 804w, https://www.osradar.com/wp-content/uploads/2019/02/3-6-300x74.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/3-6-768x189.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/3-6-696x171.png 696w" sizes="(max-width: 804px) 100vw, 804px" /><figcaption id="caption-attachment-10644" class="wp-caption-text">3.- Install python-imaging</figcaption></figure></p>
<p>After that, it is necessary to add the GPG key from the Ajenti repository to further improve package security and integrity.</p>
<pre class="">:~$ wget http://repo.ajenti.org/debian/key -O- | sudo apt-key add -</pre>
<p>Then, run the following command to add the Ajenti repository to the system repository list.</p>
<pre class="">:~$ echo "deb http://repo.ajenti.org/ng/debian main main ubuntu" | sudo tee /etc/apt/sources.list.d/ajenti.list</pre>
<p><figure id="attachment_10645" aria-describedby="caption-attachment-10645" style="width: 1351px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10645" src="https://www.osradar.com/wp-content/uploads/2019/02/4-5.png" alt="4.- Adding the repository" width="1351" height="358" srcset="https://www.osradar.com/wp-content/uploads/2019/02/4-5.png 1351w, https://www.osradar.com/wp-content/uploads/2019/02/4-5-300x79.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/4-5-768x204.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/4-5-1024x271.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/4-5-696x184.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/4-5-1068x283.png 1068w" sizes="(max-width: 1351px) 100vw, 1351px" /><figcaption id="caption-attachment-10645" class="wp-caption-text">4.- Adding the repository</figcaption></figure></p>
<p>Finally, install Ajenti.</p>
<pre class="">:~$ sudo apt update
:~$ sudo apt install ajenti</pre>
<p><figure id="attachment_10646" aria-describedby="caption-attachment-10646" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10646" src="https://www.osradar.com/wp-content/uploads/2019/02/5-6.png" alt="5.- Install ajenti on Ubuntu 18.04" width="1366" height="444" srcset="https://www.osradar.com/wp-content/uploads/2019/02/5-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-300x98.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-768x250.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-1024x333.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-696x226.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-1068x347.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/5-6-1292x420.png 1292w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10646" class="wp-caption-text">5.- Install ajenti on Ubuntu 18.04</figcaption></figure></p>
<p>After that, you have to enable and start the service. You can also check the service status. To do it, run these commands.</p>
<pre class="">:~$ sudo systemctl enable ajenti
:~$ sudo systemctl start ajenti
:~$ sudo systemctl status ajenti</pre>
<p><figure id="attachment_10647" aria-describedby="caption-attachment-10647" style="width: 1212px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10647" src="https://www.osradar.com/wp-content/uploads/2019/02/6-5.png" alt="6.- Check the service status" width="1212" height="503" srcset="https://www.osradar.com/wp-content/uploads/2019/02/6-5.png 1212w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-300x125.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-768x319.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-1024x425.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-696x289.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-1068x443.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/6-5-1012x420.png 1012w" sizes="(max-width: 1212px) 100vw, 1212px" /><figcaption id="caption-attachment-10647" class="wp-caption-text">6.- Check the service status</figcaption></figure></p>
<p>Ajenti runs through the port <code>8000</code>. So, if you are using a Firewall, remember to open that port.</p>
<p>So, you can open the web browser and go to <code>http://SERVER_IP:8000</code>.</p>
<p><figure id="attachment_10648" aria-describedby="caption-attachment-10648" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10648" src="https://www.osradar.com/wp-content/uploads/2019/02/7-5.png" alt="7.- Ajenti log in" width="1354" height="381" srcset="https://www.osradar.com/wp-content/uploads/2019/02/7-5.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/7-5-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/7-5-768x216.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/7-5-1024x288.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/7-5-696x196.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/7-5-1068x301.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10648" class="wp-caption-text">7.- Ajenti log in</figcaption></figure></p>
<h2>3. Install Ajenti V Plugin</h2>
<p>Ajenti V plugin is a set of plugins that are installed to Ajenti and increase its power. Thanks to this you will be able to manage <a href="https://www.osradar.com/install-mysql-8-0-on-fedora-29-28-centos-rhel-7-6-6-10/" rel="noopener">MySQL</a> or <a href="https://www.osradar.com/tag/apache" rel="noopener">Apache</a> and it is very useful. To do so, execute the following command:</p>
<pre class="">:~$ sudo apt install ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php7.2-fpm php7.2-mysql</pre>
<p><figure id="attachment_10649" aria-describedby="caption-attachment-10649" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10649" src="https://www.osradar.com/wp-content/uploads/2019/02/8-6.png" alt="8.- Install the Ajenti V plugin" width="1366" height="446" srcset="https://www.osradar.com/wp-content/uploads/2019/02/8-6.png 1366w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-300x98.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-768x251.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-1024x334.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-696x227.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-1068x349.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/8-6-1286x420.png 1286w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-10649" class="wp-caption-text">8.- Install the Ajenti V plugin</figcaption></figure></p>
<p>So, restart Ajenti.</p>
<pre class="">:~$ sudo systemctl restart ajenti</pre>
<p>And go back to the web browser to log in. The user is <strong>root</strong> and the password is <strong>admin</strong>.</p>
<p><figure id="attachment_10650" aria-describedby="caption-attachment-10650" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10650" src="https://www.osradar.com/wp-content/uploads/2019/02/9-6.png" alt="9.- Credentials" width="1354" height="381" srcset="https://www.osradar.com/wp-content/uploads/2019/02/9-6.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/9-6-300x84.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/9-6-768x216.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/9-6-1024x288.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/9-6-696x196.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/9-6-1068x301.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10650" class="wp-caption-text">9.- Credentials</figcaption></figure></p>
<p>Now, you will see this screen. In it, you have the main info system.</p>
<p><figure id="attachment_10651" aria-describedby="caption-attachment-10651" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10651" src="https://www.osradar.com/wp-content/uploads/2019/02/10-6.png" alt="10.- Main screen" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/10-6.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/10-6-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10651" class="wp-caption-text">10.- Main screen</figcaption></figure></p>
<p>After that, you can also see the plugins section.</p>
<p><figure id="attachment_10652" aria-describedby="caption-attachment-10652" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10652" src="https://www.osradar.com/wp-content/uploads/2019/02/11-3.png" alt="11.- Plugins" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/11-3.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/11-3-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10652" class="wp-caption-text">11.- Plugins</figcaption></figure></p>
<p>You also have a utility that will allow you to use a small program of notes in the application.</p>
<p><figure id="attachment_10653" aria-describedby="caption-attachment-10653" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10653" src="https://www.osradar.com/wp-content/uploads/2019/02/12-3.png" alt="12.- Notes" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/12-3.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/12-3-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10653" class="wp-caption-text">12.- Notes</figcaption></figure></p>
<p>So, you can also manage a MySQL instance.</p>
<p><figure id="attachment_10654" aria-describedby="caption-attachment-10654" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10654" src="https://www.osradar.com/wp-content/uploads/2019/02/13-3.png" alt="13.- MySQL window" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/13-3.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/13-3-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10654" class="wp-caption-text">13.- MySQL window</figcaption></figure></p>
<p>Or you can manage the Firewall.</p>
<p><figure id="attachment_10655" aria-describedby="caption-attachment-10655" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10655" src="https://www.osradar.com/wp-content/uploads/2019/02/14-4.png" alt="14.- Firewall section" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/14-4.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/14-4-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10655" class="wp-caption-text">14.- Firewall section</figcaption></figure></p>
<p>There is also a File manager utility.</p>
<p><figure id="attachment_10656" aria-describedby="caption-attachment-10656" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-10656" src="https://www.osradar.com/wp-content/uploads/2019/02/15-4.png" alt="15.- File manager" width="1354" height="670" srcset="https://www.osradar.com/wp-content/uploads/2019/02/15-4.png 1354w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-768x380.png 768w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-1024x507.png 1024w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2019/02/15-4-849x420.png 849w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-10656" class="wp-caption-text">15.- File manager</figcaption></figure></p>
<p>So, that&#8217;s it. Enjoy Ajenti.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ajenti-control-panel-on-ubuntu-18-04-and-linux-mint-19/">Install Ajenti Control Panel on Ubuntu 18.04 and Linux Mint 19</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-ajenti-control-panel-on-ubuntu-18-04-and-linux-mint-19/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Foreman on  Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-foreman-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-foreman-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Fri, 07 Dec 2018 02:25:04 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Foreman]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8064</guid>

					<description><![CDATA[<p>Managing servers on many occasions can become a difficult task for engineers. Especially because it doesn&#8217;t necessarily have to be one but several. With this, multiple circumstances increase significantly. So, today, I will teach you how to install Foreman an extraordinary application to help you with this task. Foreman is a complete lifecycle management tool [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-foreman-on-ubuntu-18-04/">How to install Foreman on  Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Managing servers on many occasions can become a difficult task for engineers. Especially because it doesn&#8217;t necessarily have to be one but several. With this, multiple circumstances increase significantly. So, today, I will teach you how to install Foreman an extraordinary application to help you with this task.</p>
<p><a href="https://www.theforeman.org/" rel="noopener">Foreman</a> is a complete lifecycle management tool for physical and virtual servers. One of its most powerful features is to provide the opportunity to manage multiple servers from a single web interface. In addition, you can perform multiple tasks on several occasions. That is, task automation</p>
<p>Moreover, it is configurable through plugins and an extensive API development. So, let&#8217;s install Foreman.</p>
<h1>1. Edit /etc/hosts file</h1>
<p>First of all, it is necessary to update the /etc/hosts file so that it points to the hostname of the server.</p>
<pre class="">:~$ sudo nano /etc/hosts</pre>
<p><figure id="attachment_8091" aria-describedby="caption-attachment-8091" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8091" src="https://www.osradar.com/wp-content/uploads/2018/12/1-5.png" alt="1.- Editing the /etc/hosts file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/1-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/1-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/1-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/1-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/1-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8091" class="wp-caption-text">1.- Editing the /etc/hosts file</figcaption></figure></p>
<p>Next, set the correct hostname.</p>
<pre class="">:~$ sudo hostnamectl set-hostname foreman.osradar.local</pre>
<p><figure id="attachment_8092" aria-describedby="caption-attachment-8092" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8092" src="https://www.osradar.com/wp-content/uploads/2018/12/2-5.png" alt="2.- Setting the hostname" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/2-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/2-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8092" class="wp-caption-text">2.- Setting the hostname</figcaption></figure></p>
<p>Now, you can continue.</p>
<h1>2. Install some required packages</h1>
<p>Before starting the Foreman installation it is necessary to install some necessary packages.</p>
<pre class="">:~$ sudo apt install ca-certificates wget</pre>
<p><figure id="attachment_8094" aria-describedby="caption-attachment-8094" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8094" src="https://www.osradar.com/wp-content/uploads/2018/12/3-5.png" alt="3.- Installing some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/3-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8094" class="wp-caption-text">3.- Installing some required packages</figcaption></figure></p>
<p>Among the installed packages is wget that I will use to download the file to add the Foreman repository.</p>
<h1>3. Install Foreman from an external repository</h1>
<p>Now the next step is to install Foreman, however, I will do it adding an external repository to do it later from APT.</p>
<p>First, add the puppet repository.</p>
<pre class="">:~$ wget https://apt.puppetlabs.com/puppet5-release-bionic.deb</pre>
<p><figure id="attachment_8115" aria-describedby="caption-attachment-8115" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8115" src="https://www.osradar.com/wp-content/uploads/2018/12/4-5.png" alt="4.- Getting the repository file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/4-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/4-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/4-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/4-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/4-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/4-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8115" class="wp-caption-text">4.- Getting the repository file</figcaption></figure></p>
<p>Then, install the package.</p>
<pre class="">:~$ sudo dpkg -i puppet5-release-bionic.deb</pre>
<p><figure id="attachment_8116" aria-describedby="caption-attachment-8116" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8116" src="https://www.osradar.com/wp-content/uploads/2018/12/5-5.png" alt="5.- Installing the repository package" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/5-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/5-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/5-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/5-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/5-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/5-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8116" class="wp-caption-text">5.- Installing the repository package</figcaption></figure></p>
<p>Now, you can add the Foreman repository.</p>
<pre class="">:~$ echo "deb http://deb.theforeman.org/ bionic 1.20" | sudo tee /etc/apt/sources.list.d/foreman.list
:~$ echo "deb http://deb.theforeman.org/ plugins 1.20" | sudo tee -a /etc/apt/sources.list.d/foreman.list
:~$ wget -q https://deb.theforeman.org/pubkey.gpg -O- | sudo apt-key add -</pre>
<p><figure id="attachment_8117" aria-describedby="caption-attachment-8117" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8117" src="https://www.osradar.com/wp-content/uploads/2018/12/6-5.png" alt="6.- Adding the Foreman repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/6-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/6-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/6-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/6-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/6-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/6-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8117" class="wp-caption-text">6.- Adding the Foreman repository</figcaption></figure></p>
<p>Then, install Foreman installer package.</p>
<pre class="">:~$ sudo apt install foreman-installer</pre>
<p><figure id="attachment_8118" aria-describedby="caption-attachment-8118" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8118" src="https://www.osradar.com/wp-content/uploads/2018/12/7-5.png" alt="7.- Installing some package" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/7-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/7-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/7-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/7-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/7-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/7-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8118" class="wp-caption-text">7.- Installing some package</figcaption></figure></p>
<p>Finally, run the installer.</p>
<pre class="">:~$ sudo foreman-installer</pre>
<p><figure id="attachment_8119" aria-describedby="caption-attachment-8119" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8119" src="https://www.osradar.com/wp-content/uploads/2018/12/8-5.png" alt="8.- Install Foreman on Ubuntu" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/8-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/8-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/8-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/8-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/8-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/8-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8119" class="wp-caption-text">8.- Install Foreman on Ubuntu</figcaption></figure></p>
<p>It will take a while because it will download several packages and perform the entire installation process. If all goes well, you will find the credentials to access along with the address to which you should go from the web browser.</p>
<p><figure id="attachment_8120" aria-describedby="caption-attachment-8120" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8120" src="https://www.osradar.com/wp-content/uploads/2018/12/9-4.png" alt="9.- Foreman log in screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/9-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/9-4-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8120" class="wp-caption-text">9.- Foreman log in screen</figcaption></figure></p>
<p>You will see this.</p>
<p><figure id="attachment_8121" aria-describedby="caption-attachment-8121" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8121" src="https://www.osradar.com/wp-content/uploads/2018/12/10-4.png" alt="10.- Foreman main screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/12/10-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/10-4-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8121" class="wp-caption-text">10.- Foreman main screen</figcaption></figure></p>
<p>If your Foreman host is not listed, then run this command.</p>
<pre class="">:~$ sudo /opt/puppetlabs/bin/puppet agent --test</pre>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>As you can notice, the installation of Foreman is something not very complex to do in <a href="https://www.osradar.com/install-vagrant-in-ubuntu-18-mint-19/">Ubuntu</a> 18.04. It is an extraordinary tool to manage multiple servers and services.</p>
<p>Any modern server is able to run this application without problems, however, take into account the number of dependencies needed. I would tell you that 16Gb of Ram should suffice.</p>
<p>If you want to broaden your knowledge, I recommend you visit <a href="https://www.theforeman.org/documentation.html">Foreman&#8217;s official documentation</a> to take full advantage of this great tool.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-foreman-on-ubuntu-18-04/">How to install Foreman on  Ubuntu 18.04?</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-foreman-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OSSEC HIDS on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-ossec-hids-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-ossec-hids-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 28 Nov 2018 23:48:00 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7787</guid>

					<description><![CDATA[<p>System administrators have a duty to constantly monitor the network. They do it to look for abnormal events in it, for example, a change in the registry of windows systems. With this in mind, this post will teach you how to install OSSEC on Ubuntu 18.04. There are many applications for detecting &#8220;intruders&#8221; on a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ossec-hids-ubuntu-18-04/">How to install OSSEC HIDS on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>System administrators have a duty to constantly monitor the network. They do it to look for abnormal events in it, for example, a change in the registry of windows systems. With this in mind, this post will teach you how to install OSSEC on <a href="https://www.osradar.com/how-to-install-ubuntu-18-04-lts/">Ubuntu</a> 18.04.</p>
<p>There are many applications for detecting &#8220;intruders&#8221; on a network. However, today I&#8217;ll tell you about <a href="https://www.ossec.net/" rel="noopener">OSSEC</a> which is open source and free, quite adaptable to many circumstances.</p>
<p>OSSEC is a Host Intrusion Detection System (HIDS). It is responsible for analyzing the event logs of the operating system, checking the integrity of the operating system, audits of Windows computer logs, detection of rootkits, real-time alerts and active response to attacks.</p>
<p>Today, I will install it on Ubuntu 18.04.</p>
<h1>1. Upgrade the system</h1>
<p>First, you need to update the system. This ensures that you have the latest security updates and improve system stability. Recommended before you start doing anything on the server.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_7790" aria-describedby="caption-attachment-7790" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7790" src="https://www.osradar.com/wp-content/uploads/2018/11/1-23.png" alt="1.- Upgrade the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/1-23-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-23-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-23-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-23-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/1-23-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7790" class="wp-caption-text">1.- Upgrade the system</figcaption></figure></p>
<p>In the end, you will have the system updated.</p>
<h1>2.- Install some required packages</h1>
<p>Now it is necessary to install some necessary packages to continue with the OSSEC installation. For example, <code>wget</code> to download it and <code>build-essential</code> for compile the program.</p>
<pre class="">:~$ sudo apt install -y wget unzip make gcc build-essential</pre>
<p><figure id="attachment_7791" aria-describedby="caption-attachment-7791" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7791" src="https://www.osradar.com/wp-content/uploads/2018/11/2-22.png" alt="2.- Installing some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-22-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-22-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-22-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-22-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/2-22-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7791" class="wp-caption-text">2.- Installing some required packages</figcaption></figure></p>
<p>Then, you can continue.</p>
<h1>3. Install Apache web server</h1>
<p>OSSEC requires a web server to run its web agent. There are many alternatives, but I will use <a href="https://www.osradar.com/how-to-install-apache-gui-on-debian-9/">Apache</a>.</p>
<pre class="">:~$ sudo apt install apache2</pre>
<p><figure id="attachment_7792" aria-describedby="caption-attachment-7792" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7792" src="https://www.osradar.com/wp-content/uploads/2018/11/3-21.png" alt="3.- Installing Apache web server" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-21-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-21-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-21-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-21-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/3-21-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7792" class="wp-caption-text">3.- Installing Apache web server</figcaption></figure></p>
<p>Next, enable and start the service.</p>
<pre class="">:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2</pre>
<p><figure id="attachment_7793" aria-describedby="caption-attachment-7793" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7793" src="https://www.osradar.com/wp-content/uploads/2018/11/4-23.png" alt="4.- Enabling the service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/4-23-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-23-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-23-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/4-23-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/4-23-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7793" class="wp-caption-text">4.- Enabling the service</figcaption></figure></p>
<h1>4. Install PHP and other packages</h1>
<p>The next step is to install PHP. <a href="https://www.osradar.com/how-to-install-php-7-on-centos-7-in-an-easy-way/">PHP</a> is a programming language for the web. I will use this section to install other packages useful and necessary for OSSEC.</p>
<pre class="">:~$ sudo apt install -y php php-cli php-common libapache2-mod-php apache2-utils sendmail inotify-tools</pre>
<p><figure id="attachment_7794" aria-describedby="caption-attachment-7794" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7794" src="https://www.osradar.com/wp-content/uploads/2018/11/5-21.png" alt="5.- Install PHP" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-21.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/5-21-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-21-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-21-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-21-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-21-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7794" class="wp-caption-text">5.- Install PHP</figcaption></figure></p>
<h1>5. Download and install OSSEC</h1>
<p>Now it&#8217;s time to install OSSEC in Ubuntu, but first, you must download it.</p>
<pre class="">:~$ wget https://github.com/ossec/ossec-hids/archive/3.1.0.tar.gz</pre>
<p><figure id="attachment_7795" aria-describedby="caption-attachment-7795" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7795" src="https://www.osradar.com/wp-content/uploads/2018/11/6-18.png" alt="6.- Download OSSEC" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/6-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/6-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/6-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/6-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7795" class="wp-caption-text">6.- Download OSSEC</figcaption></figure></p>
<p>Then, decompress it.</p>
<pre class="">:~$ tar -xvzf 3.1.0.tar.gz</pre>
<p><figure id="attachment_7796" aria-describedby="caption-attachment-7796" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7796" src="https://www.osradar.com/wp-content/uploads/2018/11/7-18.png" alt="7.- Decompressing the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/7-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/7-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/7-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/7-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/7-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/7-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7796" class="wp-caption-text">7.- Decompressing the file</figcaption></figure></p>
<p>Then, enter the unzipped folder and start the installation script. Look at the images to answer the questions properly. First, choose the installation language.</p>
<pre class="">:~$ cd ossec-hids-3.1.0/
:~$ sudo sh install.sh</pre>
<p><figure id="attachment_7797" aria-describedby="caption-attachment-7797" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7797" src="https://www.osradar.com/wp-content/uploads/2018/11/8-18.png" alt="8.- Starting the installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/8-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/8-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/8-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/8-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/8-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/8-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7797" class="wp-caption-text">8.- Starting the installation</figcaption></figure></p>
<p>The following questions are about the OSSEC services.</p>
<p><figure id="attachment_7798" aria-describedby="caption-attachment-7798" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7798" src="https://www.osradar.com/wp-content/uploads/2018/11/9-16.png" alt="9.- Continue the installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/9-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/9-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/9-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/9-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/9-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/9-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7798" class="wp-caption-text">9.- Continue the installation</figcaption></figure></p>
<p><figure id="attachment_7799" aria-describedby="caption-attachment-7799" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7799" src="https://www.osradar.com/wp-content/uploads/2018/11/10-13.png" alt="10.- Install OSSEC" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/10-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/10-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/10-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/10-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/10-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/10-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7799" class="wp-caption-text">10.- Install OSSEC</figcaption></figure></p>
<p>Next, the build process will start.</p>
<p><figure id="attachment_7800" aria-describedby="caption-attachment-7800" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7800" src="https://www.osradar.com/wp-content/uploads/2018/11/11-8.png" alt="11.- Install OSSEC with this script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/11-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/11-8-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/11-8-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/11-8-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/11-8-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/11-8-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7800" class="wp-caption-text">11.- Install OSSEC with this script</figcaption></figure></p>
<p>Finally, the installation will end. You will see this.</p>
<p><figure id="attachment_7801" aria-describedby="caption-attachment-7801" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7801" src="https://www.osradar.com/wp-content/uploads/2018/11/12-6.png" alt="12.- Installation finished" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/12-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/12-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/12-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/12-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/12-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/12-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7801" class="wp-caption-text">12.- Installation finished</figcaption></figure></p>
<p>So, start the OSSEC service.</p>
<pre class="">:~$ sudo /var/ossec/bin/ossec-control start</pre>
<p><figure id="attachment_7802" aria-describedby="caption-attachment-7802" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7802" src="https://www.osradar.com/wp-content/uploads/2018/11/13-5.png" alt="13.- Starting the service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/13-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/13-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/13-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/13-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/13-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/13-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7802" class="wp-caption-text">13.- Starting the service</figcaption></figure></p>
<p>So, if you want to stop the service, run:</p>
<pre class="">:~$ sudo /var/ossec/bin/ossec-control start</pre>
<h1>6. Install OSSEC web UI</h1>
<p>In order to manage better and an easy way, OSSEC is recommended to install its web interface.</p>
<pre class="">:~$ cd /srv/
:~$ sudo git clone https://github.com/ossec/ossec-wui.git</pre>
<p><figure id="attachment_7803" aria-describedby="caption-attachment-7803" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7803" src="https://www.osradar.com/wp-content/uploads/2018/11/14-5.png" alt="14.- Downloading OSSEC Web UI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/14-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/14-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/14-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/14-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/14-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/14-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7803" class="wp-caption-text">14.- Downloading OSSEC Web UI</figcaption></figure></p>
<p>Then, move it to <code>/var/www/html</code> folder.</p>
<pre class="">:~$ sudo mv /srv/ossec-wui /var/www/html</pre>
<p>Next, run the installation script.</p>
<pre class="">:~$ cd /var/www/html/ossec-wui
:~$ sudo ./setup</pre>
<p><figure id="attachment_7804" aria-describedby="caption-attachment-7804" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7804" src="https://www.osradar.com/wp-content/uploads/2018/11/14-1-1.png" alt="15.- Installing OSSEC web UI" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/14-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/14-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/14-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/14-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/14-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/14-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7804" class="wp-caption-text">15.- Installing OSSEC web UI</figcaption></figure></p>
<p>Now you have to assign permissions to the folder. In addition, it is also necessary to change the owner of the folder.</p>
<pre class="">:~$ cd 
:~$ sudo chown -R www-data:www-data /var/www/html/ossec-wui/
:~$ sudo chmod -R 755 /var/www/html/ossec-wui/</pre>
<p><figure id="attachment_7805" aria-describedby="caption-attachment-7805" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7805" src="https://www.osradar.com/wp-content/uploads/2018/11/15-4.png" alt="16.- Setting the right permission to the folder" width="1366" height="706" srcset="https://www.osradar.com/wp-content/uploads/2018/11/15-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/15-4-300x155.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/15-4-768x397.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/15-4-1024x529.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/15-4-1068x552.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/15-4-813x420.png 813w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7805" class="wp-caption-text">16.- Setting the right permission to the folder</figcaption></figure></p>
<p>Finally, enable the rewrite module on Apache2 and restart it.</p>
<pre class="">:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>
<p><figure id="attachment_7806" aria-describedby="caption-attachment-7806" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7806" src="https://www.osradar.com/wp-content/uploads/2018/11/16-4.png" alt="17.- Enabling the rewrite module" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/16-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/16-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/16-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/16-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/16-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/16-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7806" class="wp-caption-text">17.- Enabling the rewrite module</figcaption></figure></p>
<p>Now, open your web browser and go to <code>HTTP://IP_SERVER/ossec-wui/</code></p>
<p><figure id="attachment_7807" aria-describedby="caption-attachment-7807" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7807" src="https://www.osradar.com/wp-content/uploads/2018/11/17-4.png" alt="18.- OSSEC-Web UI" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/17-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/17-4-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7807" class="wp-caption-text">18.- OSSEC-Web UI</figcaption></figure></p>
<p>As you can see, everything is OK.</p>
<h1>Conclusion</h1>
<p>As you can see, the installation is really simple and should not take more than 1 hour. With this great application, you can keep track of events on your network in order to search for &#8220;intruders&#8221; and possible unfortunate situations.</p>
<p>You can also read <a href="https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/">How to install GLPI on Ubuntu 18.04?</a></p>
<p>Please share this post with your friends.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-ossec-hids-ubuntu-18-04/">How to install OSSEC HIDS on Ubuntu 18.04?</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-ossec-hids-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to install OrangeScrum on Ubuntu 18.04 LTS /Mint 19 / Debian 9 ?</title>
		<link>https://www.osradar.com/how-to-install-orangescrum-on-ubuntu-18-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-orangescrum-on-ubuntu-18-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 15 Nov 2018 02:24:34 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[OrangeScrum]]></category>
		<category><![CDATA[organization]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7319</guid>

					<description><![CDATA[<p>One of the main reasons why some organizational projects do not achieve their objectives is due to lack of planning. That is why today I will teach you how to install OrangeScrum on Ubuntu 18.04. OrangeScrum is a fantastic open source project management software. It is ideal for small and medium-sized companies or work teams [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orangescrum-on-ubuntu-18-04-lts/">How to install OrangeScrum on Ubuntu 18.04 LTS /Mint 19 / Debian 9 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the main reasons why some organizational projects do not achieve their objectives is due to lack of planning. That is why today I will teach you how to install OrangeScrum on Ubuntu 18.04.</p>
<p><a href="https://www.orangescrum.com/" rel="noopener">OrangeScrum</a> is a fantastic open source project management software. It is ideal for small and medium-sized companies or work teams that are looking for orders and systematize the steps to carry out the project in question.</p>
<p>With this program, you will be able to plan, start, scale and launch your project in a very orderly way.<strong> You can Create and assign tasks with utmost clarity and timelines</strong>. Track task progress, contribute to the discussion threads, provide timely updates and track time spent on tasks effortlessly.</p>
<p>So, let&#8217;s install OrangeScrum on Ubuntu 18.04 LTS.</p>
<h1>1. Upgrade the system</h1>
<p>First of all, it is convenient to update the system. This ensures that all security updates are installed.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_7322" aria-describedby="caption-attachment-7322" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7322" src="https://www.osradar.com/wp-content/uploads/2018/11/1-11.png" alt="1.- Upgrading the system" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/1-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7322" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>The consequence of doing this step is that you will have the safety patches installed and your system will be more reliable and safer.</p>
<h1>2. Install Apache web server</h1>
<p>To install OrangeScrum on Ubuntu 18.04 you need an HTTP web server. There are many options, but the most recommended for this program is Apache web server.</p>
<pre class="">:~$ sudo apt install apache2</pre>
<p><figure id="attachment_7323" aria-describedby="caption-attachment-7323" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7323" src="https://www.osradar.com/wp-content/uploads/2018/11/2-11.png" alt="2.- Installing apache web server" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/2-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7323" class="wp-caption-text">2.- Installing apache web server</figcaption></figure></p>
<p>Next, enable and start the apache service:</p>
<pre class="">:~$ sudo systemctl enable apache2
:~$ sudo systemctl start apache2</pre>
<p><figure id="attachment_7324" aria-describedby="caption-attachment-7324" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7324" src="https://www.osradar.com/wp-content/uploads/2018/11/3-10.png" alt="3.- Enabling apache service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/3-10-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7324" class="wp-caption-text">3.- Enabling apache service</figcaption></figure></p>
<p>Next, you can check the apache service.</p>
<pre class="">:~$ sudo systemctl status apache2</pre>
<p><figure id="attachment_7325" aria-describedby="caption-attachment-7325" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7325" src="https://www.osradar.com/wp-content/uploads/2018/11/4-11.png" alt="4.- Checking the apache service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-11.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/4-11-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7325" class="wp-caption-text">4.- Checking the apache service</figcaption></figure></p>
<p>Now, open your web browser and go to <code>HTTP://IP_SERVER</code>. If you this something like this, then, apache is correctly installed.</p>
<p><figure id="attachment_7326" aria-describedby="caption-attachment-7326" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7326" src="https://www.osradar.com/wp-content/uploads/2018/11/5-10.png" alt="5.- Apache default page on Ubuntu 18.04" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-10.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-10-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7326" class="wp-caption-text">5.- Apache default page on Ubuntu 18.04</figcaption></figure></p>
<p>Now is PHP&#8217;s turn.</p>
<h1>3. Install PHP</h1>
<p>OrangeScrum is developed in PHP. Specifically in CakePHP. Therefore, it is necessary to install this language and its modules. Here I will also install other packages necessary for OrangeScrum to run smoothly.</p>
<pre class="">:~$ sudo apt install unzip wget php7.2 php7.2-bcmath php7.2-cgi php7.2-cli php7.2-common php-curl php7.2-dba php7.2-enchant php7.2-fpm php7.2-gd php7.2-imap php7.2-intl php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-opcache php-imagick php-memcache php7.2-soap php7.2-tidy php7.2-xml php7.2-zip libapache2-mod-php7.2 xvfb libfontconfig wkhtmltopdf</pre>
<p><figure id="attachment_7327" aria-describedby="caption-attachment-7327" style="width: 800px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7327" src="https://www.osradar.com/wp-content/uploads/2018/11/6.jpg" alt="6.- Installing PHP 7.2 and others required packages" width="800" height="450" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6.jpg 800w, https://www.osradar.com/wp-content/uploads/2018/11/6-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-768x432.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/11/6-696x392.jpg 696w, https://www.osradar.com/wp-content/uploads/2018/11/6-747x420.jpg 747w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-7327" class="wp-caption-text">6.- Installing PHP 7.2 and others required packages</figcaption></figure></p>
<p>Then, you have to edit the PHP configuration file.</p>
<pre class="">:~$ sudo nano /etc/php/7.2/apache2/php.ini</pre>
<p>In this file, you have to set this options.</p>
<pre class="">post_max_size = 200M
upload_max_filesize = 200M
max_execution_time = 300
memory_limit = 512M
max_input_vars = 5000</pre>
<p><figure id="attachment_7328" aria-describedby="caption-attachment-7328" style="width: 1366px" class="wp-caption aligncenter"><img loading="lazy" class="size-full wp-image-7328" src="https://www.osradar.com/wp-content/uploads/2018/11/7-9.png" alt="7.- Editing PHP config file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/7-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/7-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7328" class="wp-caption-text">7.- Editing PHP config file</figcaption></figure></p>
<p><em>Note: To make the process easier, you can </em>press <em><code>CTRL + W</code></em> to<em> find exactly the parameter to edit.</em></p>
<p>Finally, restart apache2.</p>
<pre class="">:~$ sudo systemctl apache2</pre>
<p>Now, you can proceed with MariaDB.</p>
<h1>4. Install MariaDB</h1>
<p>MariaDB is a relational database manager derived from MySQL. To use OrangeScrum correctly you need to install it.</p>
<pre class="">:~$ sudo apt install mariadb-server</pre>
<p><figure id="attachment_7329" aria-describedby="caption-attachment-7329" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7329" src="https://www.osradar.com/wp-content/uploads/2018/11/8-9.png" alt="8.- Installing MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/8-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/8-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7329" class="wp-caption-text">8.- Installing MariaDB</figcaption></figure></p>
<p>Next, you can set a root password with <code>mysql_secure_installation script</code>. You can also configure other things.</p>
<pre class="">:~$ sudo mysql_secure_installation</pre>
<p><figure id="attachment_7330" aria-describedby="caption-attachment-7330" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7330" src="https://www.osradar.com/wp-content/uploads/2018/11/9-7.png" alt="9.- Using mysql_secure_installation to secure the MariaDB installation" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/9-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/9-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7330" class="wp-caption-text">9.- Using mysql_secure_installation to secure the MariaDB installation</figcaption></figure></p>
<p>After defining the root password, you will be asked other questions. I answered N, N, Y, Y.</p>
<p>Next, you have to create the Database and user for OrangeScrum.</p>
<pre class="">:~$ sudo mysql -u root -p
CREATE DATABASE orangescrum;
GRANT ALL PRIVILEGES ON orangescrum.* TO 'orangescrumuser'@'localhost' IDENTIFIED BY 'orangescrumbpss';
FLUSH PRIVILEGES;
exit;</pre>
<p><figure id="attachment_7331" aria-describedby="caption-attachment-7331" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7331" src="https://www.osradar.com/wp-content/uploads/2018/11/10-6.png" alt="10.- Creating the databse and user on MariaDB for OrangeScrum" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/10-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/10-6-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7331" class="wp-caption-text">10.- Creating the database and user on MariaDB for OrangeScrum</figcaption></figure></p>
<p>Next, create a file to disable strict mode for MariaDB.</p>
<pre class="">:~$ sudo nano /etc/mysql/conf.d/disable_strict_mode.cnf</pre>
<p>And add the following:</p>
<pre class="">[mysqld]
sql_mode="IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"</pre>
<p><figure id="attachment_7332" aria-describedby="caption-attachment-7332" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7332" src="https://www.osradar.com/wp-content/uploads/2018/11/11-4.png" alt="11.- Disabling the strict mode on MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/11-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/11-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7332" class="wp-caption-text">11.- Disabling the strict mode on MariaDB</figcaption></figure></p>
<p>Finally, restart MariaDB.</p>
<pre class="">:~$ sudo systemctl restart mariadb</pre>
<p>And that&#8217;s all for MariaDB.</p>
<h1>5. Install OrangeScrum</h1>
<p>Now, you can install OrangeScrum. However, first download it.</p>
<pre class="">:~$ cd /tmp
:~$ wget https://www.orangescrum.org/free-download/418ae4d8ef1309695804a7837cd4fc65/ubuntu18-php7 -O orangescrum-ubuntu18-php7.zip</pre>
<p><figure id="attachment_7333" aria-describedby="caption-attachment-7333" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7333" src="https://www.osradar.com/wp-content/uploads/2018/11/12-4.png" alt="12.- Download and install OrangeScrum" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/12-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/12-4-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7333" class="wp-caption-text">12.- Download and install OrangeScrum</figcaption></figure></p>
<p>Once the installation is complete, decompress the file.</p>
<pre class="">:~$ unzip orangescrum-ubuntu18-php7.zip</pre>
<p><figure id="attachment_7334" aria-describedby="caption-attachment-7334" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7334" src="https://www.osradar.com/wp-content/uploads/2018/11/13-3.png" alt="13.- Decompressing the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/13-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/13-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7334" class="wp-caption-text">13.- Decompressing the file</figcaption></figure></p>
<p>Next, copy the folder to the Apache document root on <code>/var/www/html/ </code></p>
<pre class="">:~$ sudo cp -r orangescrum-orangescrum-ubuntu18-php7 /var/www/html/orangescrum-master</pre>
<p>Change the directory to orangescrum-master.</p>
<pre class="">:~$ cd /var/www/html/orangescrum-master</pre>
<p>Now, copy the orangeScrum database to the local instance. This is necessary to initialize the database.</p>
<pre class="">:~$ sudo mysql -u orangescrumuser -p orangescrumdb &lt; database.sql</pre>
<p><figure id="attachment_7335" aria-describedby="caption-attachment-7335" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7335" src="https://www.osradar.com/wp-content/uploads/2018/11/14-3.png" alt="14.- Initializing the Database" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/14-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/14-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7335" class="wp-caption-text">14.- Initializing the Database</figcaption></figure></p>
<p>Then, it is necessary to place the MariaDB credentials in the <code>database.php</code> file of OrangeScrum.</p>
<pre class="">:~$ sudo nano app/Config/database.php</pre>
<p>And put your credentials.</p>
<pre>class DATABASE_CONFIG {

public $default = array(
'datasource' =&gt; 'Database/Mysql',
'persistent' =&gt; false,
'host' =&gt; 'localhost',
'login' =&gt; 'orangescrumuser',
'password' =&gt; 'password',
'database' =&gt; 'orangescrumdb',
'prefix' =&gt; '',
'encoding' =&gt; 'utf8',
);
}
</pre>
<p>Obviously, replace whatever you have to replace. For example, the password.</p>
<p><figure id="attachment_7336" aria-describedby="caption-attachment-7336" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7336" src="https://www.osradar.com/wp-content/uploads/2018/11/15-1-1.png" alt="15.- Setting the MariaDB credentials on OrangeScrum" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/15-1-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/15-1-1-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7336" class="wp-caption-text">15.- Setting the MariaDB credentials on OrangeScrum</figcaption></figure></p>
<p>Next, it is necessary to set the credentials to the SMTP email server.</p>
<pre class="">:~$ sudo nano app/Config/config.ini.php</pre>
<p>And put your information.</p>
<p><figure id="attachment_7337" aria-describedby="caption-attachment-7337" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7337" src="https://www.osradar.com/wp-content/uploads/2018/11/16-3.png" alt="16.- Setting the email server credentials" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/16-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/16-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7337" class="wp-caption-text">16.- Setting the email server credentials</figcaption></figure></p>
<p>Change the owner of the folder. Next, change the permissions.</p>
<pre class="">:~$ sudo chown -R www-data:www-data /var/www/html/orangescrum-master/
:~$ sudo chmod -R 775 /var/www/html/orangescrum-master/</pre>
<p>And enable the PHP and Apache modules. Finally, restart apache.</p>
<pre class="">:~$ sudo phpenmod mbstring
:~$ sudo a2enmod rewrite
:~$ sudo a2enmod headers
:~$ sudo systemctl restart apache2</pre>
<p><figure id="attachment_7338" aria-describedby="caption-attachment-7338" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7338" src="https://www.osradar.com/wp-content/uploads/2018/11/17-3.png" alt="17.- Changing the permissions to the folders." width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/17-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/17-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7338" class="wp-caption-text">17.- Changing the permissions to the folders.</figcaption></figure></p>
<p>Now, you have the complete the installation on the web browser.</p>
<h1>6. Accessing to the Web Interface</h1>
<p>The last step is to access the web interface through the web browser. To perform the Login process.</p>
<p>Go to <code>HTTP://IP_SERVER/orangescrum-master/</code></p>
<p><figure id="attachment_7339" aria-describedby="caption-attachment-7339" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7339" src="https://www.osradar.com/wp-content/uploads/2018/11/18-3.png" alt="18.- OrangeScrum log in screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/18-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/18-3-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7339" class="wp-caption-text">18.- OrangeScrum log in screen</figcaption></figure></p>
<p>Create the user and then log in.</p>
<p>Then, you will see this.</p>
<p><figure id="attachment_7340" aria-describedby="caption-attachment-7340" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7340" src="https://www.osradar.com/wp-content/uploads/2018/11/19-3.png" alt="19.- OrangeScrum dashboard" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/19-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/19-3-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7340" class="wp-caption-text">19.- OrangeScrum dashboard</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>In any organization it is necessary to have a planning before starting a large project or a more basic one. So, OrangeScrum emerges as a very appealing alternative for small and medium enterprises.</p>
<p>You can also read &#8220;<a href="https://www.osradar.com/how-to-install-wekan-in-debian-9/" target="_blank" rel="noopener">How to install Wekan on Debian 9</a>&#8220;.</p>
<p>Please share this article with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-orangescrum-on-ubuntu-18-04-lts/">How to install OrangeScrum on Ubuntu 18.04 LTS /Mint 19 / Debian 9 ?</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-orangescrum-on-ubuntu-18-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Open Source Social Network on Ubuntu Server 18.04?</title>
		<link>https://www.osradar.com/install-open-source-social-network-on-ubuntu/</link>
					<comments>https://www.osradar.com/install-open-source-social-network-on-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 13 Nov 2018 02:30:09 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Open Source Social Network]]></category>
		<category><![CDATA[OSSN]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=7204</guid>

					<description><![CDATA[<p>Social networks are a current event. With them, it is possible to follow in real time everything. Thanks to Open Source Social Network (OSSN) you can create one on your own server in an easy and simple way. So, it is important to a company to have one. Open Source Social Network emerges as a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-source-social-network-on-ubuntu/">How to install Open Source Social Network on Ubuntu Server 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Social networks are a current event. With them, it is possible to follow in real time everything. Thanks to Open Source Social Network (<a href="http://opensource-socialnetwork.org/">OSSN</a>) you can create one on your own server in an easy and simple way. So, it is important to a company to have one.</p>
<p>Open Source Social Network emerges as a response to the many data security issues of the major companies behind the major social networks in the world. With a powerful but very intuitive web interface, it allows you to create your own social network.</p>
<p>So, let&#8217;s install it on <a href="https://www.osradar.com/how-to-install-glpi-on-ubuntu-server-18-04/">Ubuntu Server 18.04</a>.</p>
<h1>1. Upgrade the system</h1>
<p>Before starting the whole installation process, it is advisable to update the whole system. This ensures that you have the security patches installed on your computer.</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_7205" aria-describedby="caption-attachment-7205" style="width: 800px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7205" src="https://www.osradar.com/wp-content/uploads/2018/11/1.jpg" alt="1. Upgrade the system" width="800" height="450" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1.jpg 800w, https://www.osradar.com/wp-content/uploads/2018/11/1-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-768x432.jpg 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-696x392.jpg 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-747x420.jpg 747w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-7205" class="wp-caption-text">1. Upgrade the system</figcaption></figure></p>
<p>As I said before, with this you will have a more stable and safer system.</p>
<h1>2. Install Apache web server</h1>
<p>Open Source Social Network is a web-based solution. Therefore, it is necessary to install an HTTP web server to host it on a server. In this case, the chosen one will be apache for its simplicity of use.</p>
<pre class="">:~$ sudo apt install apache2</pre>
<p><figure id="attachment_7206" aria-describedby="caption-attachment-7206" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7206" src="https://www.osradar.com/wp-content/uploads/2018/11/2-9.png" alt="2.- Installing Apache web server" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/2-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7206" class="wp-caption-text">2.- Installing Apache web server</figcaption></figure></p>
<p>Then, enable and start the service. Next, check the service status.</p>
<pre class="">:~$ sudo systemctl enable apache2 
:~$ sudo systemctl start apache2
:~$ sudo systemctl status apache2</pre>
<p><figure id="attachment_7207" aria-describedby="caption-attachment-7207" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7207" src="https://www.osradar.com/wp-content/uploads/2018/11/3-8.png" alt="3.- Starting the apache web server service" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/3-8-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7207" class="wp-caption-text">3.- Starting the Apache web server service</figcaption></figure></p>
<p><figure id="attachment_7208" aria-describedby="caption-attachment-7208" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7208" src="https://www.osradar.com/wp-content/uploads/2018/11/4-9.png" alt="4.- Apache service status" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/4-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7208" class="wp-caption-text">4.- Apache service status</figcaption></figure></p>
<p>Finally, open a web browser and go to <code>HTTP://IP_SERVER</code>. If you see something like this, apache is correctly installed.</p>
<p><figure id="attachment_7209" aria-describedby="caption-attachment-7209" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7209" src="https://www.osradar.com/wp-content/uploads/2018/11/5-9.png" alt="5.- Apache default page" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-9-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7209" class="wp-caption-text">5.- Apache default page</figcaption></figure></p>
<p>It Works!!</p>
<h1>3. Install PHP 7.1</h1>
<p>Here&#8217;s a little problem. Ubuntu 18.04 comes with PHP 7.2 in its official repositories, however, Open Source Social Network does not support PHP 7.2. So, you have to install PHP 7.1 from an external repository. It&#8217;s not complicated, you&#8217;ll see.</p>
<pre class="">:~$ sudo add-apt-repository ppa:ondrej/php</pre>
<p><figure id="attachment_7210" aria-describedby="caption-attachment-7210" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7210" src="https://www.osradar.com/wp-content/uploads/2018/11/6-9.png" alt="6.- Adding an external repository to install PHP 7.1" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6-9.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/6-9-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7210" class="wp-caption-text">6.- Adding an external repository to install PHP 7.1</figcaption></figure></p>
<p>Then, install PHP 7.1</p>
<pre class="">sudo apt install php7.1 php7.1-mysql php7.1-curl php7.1-json php7.1-cgi libapache2-mod-php7.1 php7.1-mcrypt php7.1-xmlrpc php7.1-gd php7.1-mbstring php7.1 php7.1-common php7.1-xmlrpc php7.1-soap php7.1-xml php7.1-intl php7.1-cli php7.1-ldap php7.1-zip php7.1-readline php7.1-imap php7.1-tidy php7.1-recode php7.1-sq php7.1-intl</pre>
<p><figure id="attachment_7211" aria-describedby="caption-attachment-7211" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7211" src="https://www.osradar.com/wp-content/uploads/2018/11/7-8.png" alt="7.- Installing PHP 7.1" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/7-8.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/7-8-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7211" class="wp-caption-text">7.- Installing PHP 7.1</figcaption></figure></p>
<p>Now you have to check that PHP is working properly with apache. Create a file named <code>example.php</code> in <code>/var/www/html</code> and add the following.</p>
<pre class="">:~$ nano /var/www/html/example.php</pre>
<pre class="">&lt;?php
phpinfo();
?&gt;</pre>
<p><figure id="attachment_7212" aria-describedby="caption-attachment-7212" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7212" src="https://www.osradar.com/wp-content/uploads/2018/11/8-7.png" alt="8.- Creating a PHP file to test it" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/8-7.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/8-7-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7212" class="wp-caption-text">8.- Creating a PHP file to test it</figcaption></figure></p>
<p>Now, open your web browser and open it. <code>HTTP://IP_SERVER/example.php</code> if you see the PHP info, then, everything is OK.</p>
<p><figure id="attachment_7213" aria-describedby="caption-attachment-7213" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7213" src="https://www.osradar.com/wp-content/uploads/2018/11/9-6.png" alt="9.- PHP info" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/9-6.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/9-6-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7213" class="wp-caption-text">9.- PHP info</figcaption></figure></p>
<h1>4. Install MariaDB</h1>
<p>Now you have to install and configure <a href="https://www.osradar.com/how-to-install-the-lastest-version-of-mariadb-on-debian-9/">MariaDB</a> as a database manager. This is the default Open Source Social Network. Fortunately, MariaDB is very popular and is available in the main repositories.</p>
<pre class="">:~$ sudo apt install mariadb-server</pre>
<p><figure id="attachment_7214" aria-describedby="caption-attachment-7214" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7214" src="https://www.osradar.com/wp-content/uploads/2018/11/10-5.png" alt="10.- Installing MariaDB" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/10-5.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/10-5-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7214" class="wp-caption-text">10.- Installing MariaDB</figcaption></figure></p>
<p>Next, you have to secure the installation with <code>mysql_secure_installation</code> script. With that script, you can set a root password and other things more.</p>
<pre class="">:~$ sudo mysql_secure_installation</pre>
<p><figure id="attachment_7215" aria-describedby="caption-attachment-7215" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7215" src="https://www.osradar.com/wp-content/uploads/2018/11/11-3.png" alt="11.- Using mysql_secure_installation script" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/11-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/11-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7215" class="wp-caption-text">11.- Using mysql_secure_installation script</figcaption></figure></p>
<p>As you can see, I answered the question that way: Y, N, Y, Y.</p>
<p>Next, you have to create a database and an user for Open Source Social Netwok.</p>
<pre class="">:~$ sudo mysql -u root -p</pre>
<pre class="">CREATE DATABASE ossndb;
USE ossndb;
GRANT ALL PRIVILEGES ON ossndb.* TO 'ossnuser'@'localhost' IDENTIFIED BY 'ossnpss';
FLUSH PRIVILEGES;
exit;</pre>
<p><figure id="attachment_7216" aria-describedby="caption-attachment-7216" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7216" src="https://www.osradar.com/wp-content/uploads/2018/11/12-3.png" alt="12.- Creating the databse for Open Source Social Network" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/12-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/12-3-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7216" class="wp-caption-text">12.- Creating the database for Open Source Social Network</figcaption></figure></p>
<p>You can install Open Source Social Network.</p>
<h1>5. Install Open Source Social Network</h1>
<p>Finally, you can install it. First, download it.</p>
<pre class="">:~$ cd /tmp/
:~$ wget https://www.opensource-socialnetwork.org/download_ossn/latest/build.zip</pre>
<p><figure id="attachment_7217" aria-describedby="caption-attachment-7217" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7217" src="https://www.osradar.com/wp-content/uploads/2018/11/13-2.png" alt="13.- Downloading the application" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/13-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/13-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7217" class="wp-caption-text">13.- Downloading the application</figcaption></figure></p>
<p>Then, decompress it.</p>
<pre class="">:~$ unzip build.zip</pre>
<p><figure id="attachment_7218" aria-describedby="caption-attachment-7218" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7218" src="https://www.osradar.com/wp-content/uploads/2018/11/14-2.png" alt="14.- Decompressing the file" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/14-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/14-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7218" class="wp-caption-text">14.- Decompressing the file</figcaption></figure></p>
<p>The next step is to copy the folder to the Apache directory. Create a new folder for the application data and assign them writing permission.</p>
<pre class="">:~$ sudo cp -r ossn /var/www/html/
:~$ sudo mkdir /var/www/html/ossn_data
:~$ sudo chown -R www-data:www-data /var/www/html/ossn/
:~$ sudo chmod -R 755 /var/www/html/ossn/
:~$ sudo chown -R www-data:www-data /var/www/html/ossn_data</pre>
<p><figure id="attachment_7219" aria-describedby="caption-attachment-7219" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7219" src="https://www.osradar.com/wp-content/uploads/2018/11/15-2.png" alt="15.- Setting folders permissions" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/15-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/15-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7219" class="wp-caption-text">15.- Setting folders permissions</figcaption></figure></p>
<p>Next, create a <a href="https://www.osradar.com/how-to-configure-an-apache-virtual-host-on-debian-9/">virtual host</a> for Open Source Social Network.</p>
<pre class="">:~$  sudo nano /etc/apache2/sites-available/ossn.conf</pre>
<p>And add the following:</p>
<pre class="">&lt;VirtualHost *:80&gt;
ServerAdmin angelo@osradar.com
DocumentRoot /var/www/html/ossn
ServerName ossn.osradar.local

&lt;Directory /var/www/html/ossn/&gt;
Options FollowSymlinks
AllowOverride All
Require all granted
&lt;/Directory&gt;

ErrorLog ${APACHE_LOG_DIR}/ossn_error.log
CustomLog ${APACHE_LOG_DIR}/ossn_access.log combined

&lt;/VirtualHost&gt;</pre>
<p><figure id="attachment_7220" aria-describedby="caption-attachment-7220" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7220" src="https://www.osradar.com/wp-content/uploads/2018/11/16-2.png" alt="16.- Creating a virtualhost for OSSN" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/16-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/16-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7220" class="wp-caption-text">16.- Creating a virtual host for OSSN</figcaption></figure></p>
<p>Then, enable it and enable the rewrite module. Finally, restart apache.</p>
<pre class="">:~$ sudo a2ensite ossn.conf
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>
<p><figure id="attachment_7221" aria-describedby="caption-attachment-7221" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7221" src="https://www.osradar.com/wp-content/uploads/2018/11/17-2.png" alt="17.- Enabling virtualhost" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/11/17-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/17-2-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7221" class="wp-caption-text">17.- Enabling virtual host</figcaption></figure></p>
<p>Next, edit your /etc/hosts.</p>
<pre class="">:~$ sudo nano /etc/hosts</pre>
<p>And add the configuration to access. In short, the IP address and the server name.</p>
<pre class="">192.168.1.36 www.ossn.osradar.local ossn.osradar.local</pre>
<p>And that&#8217;s it. You can finish the installation from the web interface.</p>
<h1>6. Completing the installation</h1>
<p>Now, access from the web browser. In my case, the direction is: HTTP://ossn.osradar.local. In the next screen, you will see all the installation prerequisites. If all of them are in green color, then you can continue.</p>
<p><figure id="attachment_7223" aria-describedby="caption-attachment-7223" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7223" src="https://www.osradar.com/wp-content/uploads/2018/11/18-2.png" alt="18.- All prerequisites complete" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/18-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/18-2-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7223" class="wp-caption-text">18.- All prerequisites complete</figcaption></figure></p>
<p>Next, you have to set the site settings. Add the database information previously configured.</p>
<p><figure id="attachment_7224" aria-describedby="caption-attachment-7224" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7224" src="https://www.osradar.com/wp-content/uploads/2018/11/19-2.png" alt="19.- Database settings" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/19-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/19-2-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7224" class="wp-caption-text">19.- Database settings</figcaption></figure></p>
<p>Next, create the admin account.</p>
<p><figure id="attachment_7225" aria-describedby="caption-attachment-7225" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7225" src="https://www.osradar.com/wp-content/uploads/2018/11/20-2.png" alt="20. Creating the admin account" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/20-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/20-2-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7225" class="wp-caption-text">20. Creating the admin account</figcaption></figure></p>
<p>If everything went right, you&#8217;ll see a screen like this.</p>
<p><figure id="attachment_7226" aria-describedby="caption-attachment-7226" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7226" src="https://www.osradar.com/wp-content/uploads/2018/11/21-1.png" alt="21.- Everything is OK" width="1366" height="615" srcset="https://www.osradar.com/wp-content/uploads/2018/11/21-1.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-768x346.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-1024x461.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-696x313.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-1068x481.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/21-1-933x420.png 933w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7226" class="wp-caption-text">21.- Everything is OK</figcaption></figure></p>
<p>Now, you can log in with your credentials.</p>
<p><figure id="attachment_7227" aria-describedby="caption-attachment-7227" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7227" src="https://www.osradar.com/wp-content/uploads/2018/11/22.png" alt="22.- Login screen" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/22.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/22-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/22-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/22-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/22-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/22-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/22-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/22-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/22-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7227" class="wp-caption-text">22.- Login screen</figcaption></figure></p>
<p>And you will see the dashboard.</p>
<p><figure id="attachment_7228" aria-describedby="caption-attachment-7228" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-7228" src="https://www.osradar.com/wp-content/uploads/2018/11/23.png" alt="23.- Open Source Social Network dashboard" width="1366" height="671" srcset="https://www.osradar.com/wp-content/uploads/2018/11/23.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/23-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/23-768x377.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/23-1024x503.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/23-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/11/23-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2018/11/23-696x342.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/23-1068x525.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/23-855x420.png 855w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-7228" class="wp-caption-text">23.- Open Source Social Network dashboard</figcaption></figure></p>
<p>And now you can use the program.</p>
<h1>Conclusion</h1>
<p>The OSSN installation is not duplicated in Ubuntu 18.04 and can help you to create your own social network using a web interface in an easy and dynamic way.</p>
<p>Please share this article with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-open-source-social-network-on-ubuntu/">How to install Open Source Social Network on Ubuntu Server 18.04?</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-open-source-social-network-on-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Tomcat on Fedora 29?</title>
		<link>https://www.osradar.com/how-to-install-tomcat-on-fedora-29/</link>
					<comments>https://www.osradar.com/how-to-install-tomcat-on-fedora-29/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Tue, 06 Nov 2018 02:00:40 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6988</guid>

					<description><![CDATA[<p>Java application development is a market that seems to have no end in the near future. More and more people are starting their way into programming with Java and JSP. However, to use servlets and JSP you need a server that can run it. Today, I will teach you how to install Tomcat on Fedora [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-tomcat-on-fedora-29/">How to install Tomcat on Fedora 29?</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 application development is a market that seems to have no end in the near future. More and more people are starting their way into programming with Java and JSP. However, to use servlets and JSP you need a server that can run it. Today, I will teach you how to install Tomcat on Fedora 29.</p>
<p><a href="http://tomcat.apache.org/" rel="noopener">Tomcat</a> is a software developed with Java that serves as a web server with support for servlets and JSPs. It is developed and updated by members of the Apache Software Foundation and independent volunteers. It is also very easy to set up to get up and running and has a lot of documentation.</p>
<p>So, let&#8217;s install it on <a href="https://www.osradar.com/how-to-install-fedora-29/" rel="noopener">Fedora 29</a>.</p>
<h2>1. Check the Java Version</h2>
<p>The first step to install Tomcat in Fedora is to check if you have Java installed. Most likely, yes, but it&#8217;s still better to be sure.</p>
<p>Open a terminal and run:</p>
<pre class="">:~$ java -version</pre>
<p><figure id="attachment_6990" aria-describedby="caption-attachment-6990" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6990" src="https://www.osradar.com/wp-content/uploads/2018/11/1-4.png" alt="1.- Checking the Java version installed" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/1-4.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/1-4-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6990" class="wp-caption-text">1.- Checking the Java version installed</figcaption></figure></p>
<p>As you can see in the image above Java is installed correctly. So, you can continue with the installation.</p>
<h2>2. Download and Install Tomcat on Fedora</h2>
<p>Now, proceed to download Tomcat from its website. At the time this article has been written, the latest stable version is 9.0.12. So, install <em>wget</em> and then download Tomcat.</p>
<pre class="">:~$ sudo dnf install wget</pre>
<pre class="">:~$ cd /usr/local
:~$ sudo wget http://www-us.apache.org/dist/tomcat/tomcat-9/v9.0.12/bin/apache-tomcat-9.0.12.tar.gz</pre>
<p><figure id="attachment_6991" aria-describedby="caption-attachment-6991" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6991" src="https://www.osradar.com/wp-content/uploads/2018/11/2-3.png" alt="2.- Downloading Tomcat" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/2-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/2-3-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6991" class="wp-caption-text">2.- Downloading Tomcat</figcaption></figure></p>
<p>Then, decompress the downloaded file.</p>
<pre class="">:~$ sudo tar -xvzf apache-tomcat-9.0.12.tar.gz</pre>
<p>Next, rename the folder to make the process easier.</p>
<pre class="">:~$ sudo mv apache-tomcat-9.0.12 tomcat9</pre>
<p><figure id="attachment_6992" aria-describedby="caption-attachment-6992" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6992" src="https://www.osradar.com/wp-content/uploads/2018/11/3-2.png" alt="3.- Rename the folder" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/3-2.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/3-2-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6992" class="wp-caption-text">3.- Rename the folder</figcaption></figure></p>
<p>Now, you need to configure environment variables. First, export the CATALINA_HOME variable.</p>
<pre class="">:~$ sudo echo "export CATALINA_HOME="/usr/local/tomcat9"" &gt;&gt; ~/.bashrc</pre>
<p>After that, refresh the bash.</p>
<pre class="">:~$ source ~/.bashrc</pre>
<p><figure id="attachment_6993" aria-describedby="caption-attachment-6993" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6993" src="https://www.osradar.com/wp-content/uploads/2018/11/4-3.png" alt="4.- Configuring the environment variables" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/4-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/4-3-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6993" class="wp-caption-text">4.- Configuring the environment variables</figcaption></figure></p>
<h2>3. Setting admin user</h2>
<p>In order to manage Tomcat, it is necessary to create an administrator user who can perform all the essential tasks that the application allows to do. To do this, you need to edit the file <code>tomcat-users.xml</code> localized on <code>/usr/local/tomcat9/conf/</code> directory.</p>
<pre class="">:~$ sudo nano /usr/local/tomcat9/conf/tomcat-users.xml</pre>
<p>And add the following before <code>&lt;/tomcat-users&gt;</code>:</p>
<pre class="">&lt;role rolename="admin-gui" /&gt;
&lt;user username="admin" password="Your_Password" roles="manager-gui, admin-gui" /&gt;</pre>
<p><figure id="attachment_6994" aria-describedby="caption-attachment-6994" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6994" src="https://www.osradar.com/wp-content/uploads/2018/11/5-3.png" alt="5.- Setting a admin user" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/5-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/5-3-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6994" class="wp-caption-text">5.- Setting an admin user</figcaption></figure></p>
<h2>4. Using Tomcat</h2>
<p>Before you start using Tomcat, you need to start it.</p>
<pre class="">:~$ cd /usr/local/tomcat9
:~$ sudo ./bin/startup.sh</pre>
<p><figure id="attachment_6995" aria-describedby="caption-attachment-6995" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6995" src="https://www.osradar.com/wp-content/uploads/2018/11/6-3.png" alt="6.- Starting tomcat" width="1366" height="731" srcset="https://www.osradar.com/wp-content/uploads/2018/11/6-3.png 1366w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-696x372.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/6-3-785x420.png 785w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6995" class="wp-caption-text">6.- Starting tomcat</figcaption></figure></p>
<p>Now, you can open the web browser and go to <code>http://IP_ADDRESS:8080/</code> and you will see this:</p>
<p><figure id="attachment_6996" aria-describedby="caption-attachment-6996" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6996" src="https://www.osradar.com/wp-content/uploads/2018/11/7-3.png" alt="7.- Tomcat default page" width="1354" height="620" srcset="https://www.osradar.com/wp-content/uploads/2018/11/7-3.png 1354w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/7-3-917x420.png 917w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-6996" class="wp-caption-text">7.- Tomcat default page</figcaption></figure></p>
<p>And to visit the manager page, go to <code>http://IP_ADDRESS:8080/manager/html</code></p>
<p><figure id="attachment_6997" aria-describedby="caption-attachment-6997" style="width: 1356px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6997" src="https://www.osradar.com/wp-content/uploads/2018/11/8-2.png" alt="8.- Access to manager page of Tomcat" width="1356" height="620" srcset="https://www.osradar.com/wp-content/uploads/2018/11/8-2.png 1356w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-768x351.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-1024x468.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-696x318.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-1068x488.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/8-2-919x420.png 919w" sizes="(max-width: 1356px) 100vw, 1356px" /><figcaption id="caption-attachment-6997" class="wp-caption-text">8.- Access to manager page of Tomcat</figcaption></figure></p>
<p>By entering your username and password, you will be able to access the manager section.</p>
<p><figure id="attachment_6998" aria-describedby="caption-attachment-6998" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6998" src="https://www.osradar.com/wp-content/uploads/2018/11/9-2.png" alt="9.- Manager page of Tomcat" width="1354" height="620" srcset="https://www.osradar.com/wp-content/uploads/2018/11/9-2.png 1354w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-300x137.png 300w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-768x352.png 768w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-1024x469.png 1024w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-696x319.png 696w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-1068x489.png 1068w, https://www.osradar.com/wp-content/uploads/2018/11/9-2-917x420.png 917w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-6998" class="wp-caption-text">9.- Manager page of Tomcat</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h2>Conclusion</h2>
<p>Tomcat is needed to develop applications with JSP. It is free which minimizes expenses for small or educational projects. It is also well documented and easy to use. Its installation in Fedora 29 is really easy and only requires a few essential commands.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-tomcat-on-fedora-29/">How to install Tomcat on Fedora 29?</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-tomcat-on-fedora-29/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Docker on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/how-to-install-docker-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-docker-on-ubuntu-18-04/#comments</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sat, 27 Oct 2018 01:35:09 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=6716</guid>

					<description><![CDATA[<p>It is very likely that you know or have heard about Docker. This wonder that it is a great solution to software deployment problems. However, it is easy to install. This article will show you how to install Docker on Ubuntu 18.04. Docker is an open source project designed to automate the large-scale deployment of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-docker-on-ubuntu-18-04/">How to install Docker on Ubuntu 18.04?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It is very likely that you know or have heard about Docker. This wonder that it is a great solution to software deployment problems. However, it is easy to install. This article will show you how to install Docker on Ubuntu 18.04.</p>
<p><a href="https://www.docker.com" rel="noopener">Docker</a> is an open source project designed to automate the large-scale deployment of applications within containers. The idea of doing this is to provide layers of abstraction that allow a program to run regardless of the operating system it runs. So, this is very useful for the sysadmin who manage many different computers.</p>
<p>Combining Docker with ubuntu 18.04 is practically a safe bet for the efficiency and ease of handling of containers.</p>
<h2>0. Prerequisites</h2>
<p>As you&#8217;ll see later, installing Docker on Ubuntu 18.04 is really simple. However, it requires that <strong>you have some knowledge</strong> about the use of the terminal.</p>
<p>In addition, your user should be able to<strong> run commands as root</strong>, because it requires installing additional packages and adding repositories.</p>
<p>Finally, it is recommended that you access the server <strong>using ssh</strong> with strong passwords.</p>
<h2>1. Upgrade the system</h2>
<p>The first step to install Docker in Ubuntu 18.04, is to update the system. I always recommend doing so because it is necessary to have a robust and secure system and this is obtained by installing the latest security patches issued by the Linux distribution you use, in this case, Ubuntu. So, run this command:</p>
<pre class="">:~$ sudo apt update &amp;&amp; sudo apt upgrade</pre>
<p><figure id="attachment_6736" aria-describedby="caption-attachment-6736" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6736" src="https://www.osradar.com/wp-content/uploads/2018/10/1-20.png" alt="1.- Upgrading the system" width="1366" height="503" srcset="https://www.osradar.com/wp-content/uploads/2018/10/1-20.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-300x110.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-768x283.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-1024x377.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-696x256.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-1068x393.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/1-20-1141x420.png 1141w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6736" class="wp-caption-text">1.- Upgrading the system</figcaption></figure></p>
<p>In the end, you will have a more secure system and ready to continue the installation.</p>
<h2>2. Add the Docker repository</h2>
<p>Docker does not come by default in Ubuntu repositories, therefore, you have to add the particular Docker repository to install it via APT in an easy and secure way. However, first, you need to install some necessary packages.</p>
<pre class="">:~$ sudo apt-get install apt-transport-https ca-certificates curl gnupg software-properties-common</pre>
<p><figure id="attachment_6737" aria-describedby="caption-attachment-6737" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6737" src="https://www.osradar.com/wp-content/uploads/2018/10/2-18.png" alt="2.- Install some required packages" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/2-18.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/2-18-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6737" class="wp-caption-text">2.- Install some required packages</figcaption></figure></p>
<p>Now add the GPG key from the Docker repository. This is to add even more security to the packages that will be downloaded.</p>
<pre class="">:~$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -</pre>
<p><figure id="attachment_6738" aria-describedby="caption-attachment-6738" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6738" src="https://www.osradar.com/wp-content/uploads/2018/10/3-19.png" alt="3.- Adding the GPG key for Docker repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/3-19.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/3-19-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6738" class="wp-caption-text">3.- Adding the GPG key for Docker repository</figcaption></figure></p>
<p>Then add the repository in question.</p>
<pre class="">:~$ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"</pre>
<p><figure id="attachment_6739" aria-describedby="caption-attachment-6739" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6739" src="https://www.osradar.com/wp-content/uploads/2018/10/4-14.png" alt="4.- Adding the Docker repository" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/4-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/4-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6739" class="wp-caption-text">4.- Adding the Docker repository</figcaption></figure></p>
<p>Now you can proceed with the installation.</p>
<h2>3. Install Docker on Ubuntu 18.04</h2>
<p>It&#8217;s time to install Docker. Run the following command.</p>
<pre class="">:~$ sudo apt install docker-ce</pre>
<p><figure id="attachment_6740" aria-describedby="caption-attachment-6740" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6740" src="https://www.osradar.com/wp-content/uploads/2018/10/5-14.png" alt="5.- Install Docker" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/5-14.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/5-14-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6740" class="wp-caption-text">5.- Install Docker</figcaption></figure></p>
<p>At the end of the installation. Have the service run at system startup.</p>
<pre class="">:~$ sudo systemctl enable docker
:~$ sudo systemctl start docker
</pre>
<p><figure id="attachment_6741" aria-describedby="caption-attachment-6741" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6741" src="https://www.osradar.com/wp-content/uploads/2018/10/6-12.png" alt="6.- Enabling and starting the Docker service" width="1365" height="375" srcset="https://www.osradar.com/wp-content/uploads/2018/10/6-12.png 1365w, https://www.osradar.com/wp-content/uploads/2018/10/6-12-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/6-12-768x211.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/6-12-1024x281.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/6-12-696x191.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/6-12-1068x293.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-6741" class="wp-caption-text">6.- Enabling and starting the Docker service</figcaption></figure></p>
<p>To ensure that Docker is fully functional, it is a good idea to check the status of the service.</p>
<pre class="">:~$ sudo systemctl status docker</pre>
<p><figure id="attachment_6742" aria-describedby="caption-attachment-6742" style="width: 800px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6742" src="https://www.osradar.com/wp-content/uploads/2018/10/7-12.png" alt="7.- Docker service status" width="800" height="360" srcset="https://www.osradar.com/wp-content/uploads/2018/10/7-12.png 800w, https://www.osradar.com/wp-content/uploads/2018/10/7-12-300x135.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/7-12-768x346.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/7-12-696x313.png 696w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-6742" class="wp-caption-text">7.- Docker service status</figcaption></figure></p>
<p>Finally, look at the Docker Version.</p>
<pre class="">:~$ docker -v</pre>
<p><figure id="attachment_6743" aria-describedby="caption-attachment-6743" style="width: 563px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6743" src="https://www.osradar.com/wp-content/uploads/2018/10/8-12.png" alt="8.-Docker Version" width="563" height="222" srcset="https://www.osradar.com/wp-content/uploads/2018/10/8-12.png 563w, https://www.osradar.com/wp-content/uploads/2018/10/8-12-300x118.png 300w" sizes="(max-width: 563px) 100vw, 563px" /><figcaption id="caption-attachment-6743" class="wp-caption-text">8.-Docker Version</figcaption></figure></p>
<p>Now that Docker is installed correctly, let&#8217;s do the first tests.</p>
<h2>4. First steps</h2>
<p>Docker has a lot of images for almost everything. It is necessary to look for the one we want, download it and use it. For example, I will look for an image that contains a LAMP server.</p>
<pre class="">:~$ sudo docker search</pre>
<p><figure id="attachment_6744" aria-describedby="caption-attachment-6744" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6744" src="https://www.osradar.com/wp-content/uploads/2018/10/9-13.png" alt="9.- Search for Docker images" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/9-13.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/9-13-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6744" class="wp-caption-text">9.- Search for Docker images</figcaption></figure></p>
<p>As you can see in the image, there are several options. Choose the one you want and then download it.</p>
<pre class="">:~$ sudo docker pull nickistre/ubuntu-lamp-wordpress</pre>
<p>&nbsp;</p>
<p><figure id="attachment_6745" aria-describedby="caption-attachment-6745" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6745" src="https://www.osradar.com/wp-content/uploads/2018/10/10-12.png" alt="10.- Downloading a Docker image" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/10/10-12.png 1366w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-696x391.png 696w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/10/10-12-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-6745" class="wp-caption-text">10.- Downloading a Docker image</figcaption></figure></p>
<p>Now you can use it. If you want to list all the images you have installed. You can do it with this command.</p>
<p>&nbsp;</p>
<pre class="">:~$ sudo docker images</pre>
<p><figure id="attachment_6746" aria-describedby="caption-attachment-6746" style="width: 875px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-6746" src="https://www.osradar.com/wp-content/uploads/2018/10/11-12.png" alt="11.- Listing all Docker images downloaded" width="875" height="128" srcset="https://www.osradar.com/wp-content/uploads/2018/10/11-12.png 875w, https://www.osradar.com/wp-content/uploads/2018/10/11-12-300x44.png 300w, https://www.osradar.com/wp-content/uploads/2018/10/11-12-768x112.png 768w, https://www.osradar.com/wp-content/uploads/2018/10/11-12-696x102.png 696w" sizes="(max-width: 875px) 100vw, 875px" /><figcaption id="caption-attachment-6746" class="wp-caption-text">11.- Listing all Docker images downloaded</figcaption></figure></p>
<h2>5. Run Docker without root privileges</h2>
<p>So far you have run Docker as a root user, but this is not advisable. To run Docker without user privileges, run.</p>
<pre class="">:~$ sudo usermod -aG docker $(whoami)</pre>
<p>Then restart the computer and it&#8217;s done.</p>
<h2>Conclusion</h2>
<p>Docker is a novel technology and comes in a frank ascent. Many sysadmins see it as an essential part of their work. As you may have noticed, installing Docker on Ubuntu 18.04 is not difficult.</p>
<p>Tell us, have you used Docker? Do you work with Docker?</p>
<p>You can also read &#8220;<a href="https://www.osradar.com/how-to-install-docker-ce-on-centos-7/">How to install Docker on CentOS 7?</a>&#8220;.</p>
<p>Please spread this article through your social networks</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-docker-on-ubuntu-18-04/">How to install Docker on Ubuntu 18.04?</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-docker-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
