<?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>servers Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/servers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 04 Jan 2021 12:29:33 +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 master Linux Server Securities</title>
		<link>https://www.osradar.com/how-to-master-linux-server-securities/</link>
					<comments>https://www.osradar.com/how-to-master-linux-server-securities/#respond</comments>
		
		<dc:creator><![CDATA[rajneesh]]></dc:creator>
		<pubDate>Mon, 04 Jan 2021 07:39:26 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[security policies]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=27422</guid>

					<description><![CDATA[<p>Today, in this article we will discuss how to master Linux server securities. Default securities are good in Linux but, require some extra care. Hackers can sniff your system easily if not taken care of properly. This is going to be a detailed topic I will try to cover it up in 02 to 03 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-master-linux-server-securities/">How to master Linux Server Securities</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Today, in this article we will discuss how to master Linux server securities. <mark>Default securities are good in Linux but, require some extra care.</mark> Hackers can sniff your system easily if not taken care of properly. This is going to be a detailed topic I will try to cover it up in 02 to 03 writeups. </p>



<p>Key factors. </p>



<ul><li>Open Ports.</li><li>Insecure or non-updated software.</li><li>Weak passwords policy.     </li><li>Attacks on administrator accounts.</li><li>Lack of physical securities.</li></ul>



<h3>Open Ports.</h3>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="409" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-3-1024x409.png" alt="Open ports can be attacked easily. " class="wp-image-27442" srcset="https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-1024x409.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-300x120.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-768x307.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-696x278.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3-1068x427.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-3.png 1181w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p>Ports scanning is the first thing that any Attacker would do before attacking your servers. They could get an idea of which service can be compromised based upon open ports. There are multiple methods to scan and identify open ports <a href="https://nmap.org/">Nmap</a> is one of them. </p>



<pre class="wp-block-preformatted"># apt install nmap
# yum install nmap</pre>



<p></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="728" height="402" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-23.png" alt="use nmap to scan open ports." class="wp-image-27429" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-23.png 728w, https://www.osradar.com/wp-content/uploads/2021/01/image-23-300x166.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-23-696x384.png 696w" sizes="(max-width: 728px) 100vw, 728px" /></figure>



<h3>Insecure or non-updated software</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-1-1024x409.png" alt="Insecure or non-updated software can cause security issues." class="wp-image-27435" width="682" height="270"/></figure>



<p>If you are not updating the server regularly, attackers can gain access via using exploits. Misconfigures services can be harmful too. Always make sure to keep Operating System updated. Multiple tools are available to test vulnerabilities. OpenVAS is one of the famous tool that can be installed on the server to scan vulnurabitiels.  </p>



<p>Install <a href="http://www.openvas.com/">OpenVAS</a></p>



<pre class="wp-block-preformatted">#apt install openvas
#yum install openvas</pre>



<p>Start Service.</p>



<pre class="wp-block-preformatted"># openvas-start &amp;&amp; openvas-setup</pre>



<p>Login to get reports.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="770" height="578" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-28.png" alt="" class="wp-image-27455" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-28.png 770w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-768x576.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/image-28-696x522.png 696w" sizes="(max-width: 770px) 100vw, 770px" /></figure>



<h3>Weak passwords policy</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-2-1024x409.png" alt="Loose password can harm server securities. " class="wp-image-27436" width="679" height="267"/></figure>



<p>Using a tool like hydra attackers can gain access if your system is set up with weak passwords and have unwanted ports open. Always use complicated passwords and keeping them changing from time to time can reduce the chances of attacks. Let&#8217;s take a look at how hydra can be used to target servers with weak passwords. create a list of usernames and passwords with all possible combinations (userlist.txt &amp; passwd.txt are created in my scenario).</p>



<pre class="wp-block-preformatted"># apt install hydra</pre>



<p> Run command. </p>



<pre class="wp-block-preformatted"># hydra -L /root/userlist.txt -p /root/passwd.txt -u 127.0.0.1 ssh</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="758" height="325" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/image-27.png" alt="Run hydra command to gain access." class="wp-image-27446" srcset="https://www.osradar.com/wp-content/uploads/2021/01/image-27.png 758w, https://www.osradar.com/wp-content/uploads/2021/01/image-27-300x129.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/image-27-696x298.png 696w" sizes="(max-width: 758px) 100vw, 758px" /></figure>



<h3>Attacks on administrator accounts</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-1024x409.png" alt="Attacked on administrator accounts" class="wp-image-27433" width="709" height="282" srcset="https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-1024x409.png 1024w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-300x120.png 300w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-768x307.png 768w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-696x278.png 696w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design-1068x427.png 1068w, https://www.osradar.com/wp-content/uploads/2021/01/Untitled-design.png 1181w" sizes="(max-width: 709px) 100vw, 709px" /></figure>



<p>Remember, if an attacker can gain access to an administrator account. An attacker can gain access to other servers as well. Even after having to have good securities, the hackers were able to gain access. Always make sure not to share passwords with unauthorized persons.</p>



<h3>Lack of physical securities</h3>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/01/Untitled-design-4-1024x409.png" alt="" class="wp-image-27452" width="704" height="278"/></figure>



<p></p>



<p>Proving multi-factor authentications, providing physical locks can save servers from unwanted access. Do not provide any direct physical access like monitors or keyboards. Block all USB or other serial ports that can be attached directly to servers.  No media file sharing has to be with critical operational servers.  </p>



<h3>Conclusion.</h3>



<p>Today, we have learned how an attacker can gain easy access to servers &amp; how to avoid it. Scanning ports with Nmap, system&#8217;s health check with OpenVAS are part of security assessment.  <strong> In the next article, we will understand other aspects of security. </strong></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-master-linux-server-securities/">How to master Linux Server Securities</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-master-linux-server-securities/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install UVDesk on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/install-uvdesk-ubuntu/</link>
					<comments>https://www.osradar.com/install-uvdesk-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 16 Dec 2020 04:17:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[uvdesk]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=26796</guid>

					<description><![CDATA[<p>Hello, friends. In this post, you will learn how to install UVDesk on Ubuntu 20.04. UVdesk offers SaaS-based and Open Source helpdesk solution to easier the overall support process to deliver best customer service. All this information can be found on the project&#8217;s website. Install UDVesk on Ubuntu 20.04 1.- Install some required packages Before [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-uvdesk-ubuntu/">How to install UVDesk on Ubuntu 20.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><strong>Hello, friends. In this post, you will learn how to install UVDesk on Ubuntu 20.04.</strong></p>



<p><a href="https://www.uvdesk.com/en/" target="_blank" rel="noreferrer noopener">UVdesk</a> offers SaaS-based and Open Source helpdesk solution to easier the overall support process to deliver best customer service. All this information can be found on the project&#8217;s website.</p>



<h2>Install UDVesk on Ubuntu 20.04</h2>



<h3>1.- Install some required packages</h3>



<p>Before starting the whole installation process we have to install some necessary packages.</p>



<p>To do this, open a terminal or start an SSH session on your server and run:</p>



<pre class="wp-block-preformatted">sudo apt update<br>sudo apt upgrade</pre>



<p>Then it installs the necessary packages I referred to. Among them, <a href="https://www.osradar.com/install-git-ubuntu-20-04/" target="_blank" rel="noreferrer noopener">GIT</a>, Apache, and some modules of the latter.</p>



<pre class="wp-block-preformatted">sudo apt install git unzip apache2 libapache2-mod-fcgid</pre>



<p>Then enable the Apache modules needed to perform the installation.</p>



<pre class="wp-block-preformatted">sudo a2enmod actions fcgid alias proxy_fcgi rewrite</pre>



<p>And apply the changes by restarting Apache.</p>



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



<h3>2.- Preparing MariaDB for UVDesk</h3>



<p>The next step is to install and configure correctly MariaDB, for this we have a post where it is explained in detail</p>



<p><a href="https://www.osradar.com/install-mariadb-10-5-ubuntu-20-04-18-04/" target="_blank" rel="noreferrer noopener">How To Install MariaDB on Ubuntu 20.04?</a></p>



<p>After MariaDB is installed and configured, you have to create the database and the user so that UVDesk can work with it.</p>



<p>Open the MariaDB shell:</p>



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



<p>And then create the database, as well as the user with their permissions.</p>



<pre class="wp-block-preformatted">sudo mysql -u root -p<br>CREATE YOUR DATABASE uvdeskdb;<br>GRANT ALL PRIVILEGES ON uvdeskdb . * TO 'uvuser'@'localhost' IDENTIFIED BY 'uvpps';<br>FLUSH PRIVILEGES;<br>exit;</pre>



<p>So, now we can continue.</p>



<h3>3.- Install and configure PHP for UVDesk</h3>



<p>Now the next step is to install PHP along with some of its modules:</p>



<pre class="wp-block-preformatted">sudo apt install php-cli php-fpm php-pdo php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-bcmath php-imap php-intl php-mailparse php-pear</pre>



<p>And it is advisable to make some changes in the configuration of PHP to adapt it to UVDesk.</p>



<p>Open the PHP configuration file</p>



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



<p>And with the help of the key combination <strong>CTRL + W</strong> look for the parameter <code>memory_limit</code> and assign another higher value to it.</p>



<pre class="wp-block-preformatted">memory_limit = 256M</pre>



<p>You can also change the Timezone of PHP to your location.</p>



<p>Save the changes and close the editor.</p>



<h2>4.- Install UVDesk on Ubuntu 20.04</h2>



<p>The installation of UVDesk is through Composer, so we have to install it first.</p>



<p>Download it with the curl command:</p>



<pre class="wp-block-preformatted">curl -sS https://getcomposer.org/installer -o composer-setup.php</pre>



<p>And then install it with this command:</p>



<pre class="wp-block-preformatted">sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer --version=1.10.17</pre>



<p>You can check the status of Composer, by running</p>



<pre class="wp-block-preformatted">composer -V</pre>



<p>Now it&#8217;s time to create the folder where UVDesk will be and assign it as the owner of the current user:</p>



<pre class="wp-block-preformatted">sudo mkdir /var/www/udvesk<br>sudo chown -R $USER:$USER /var/www/</pre>



<p>And now start the installation with Composer from the created folder.</p>



<pre class="wp-block-preformatted">cd /var/www/udvesk<br>composer clear-cache<br>composer create-project uvdesk/community-skeleton helpdesk-project</pre>



<p>If the whole process has gone well, you will see a screen output similar to this one:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="564" src="https://www.osradar.com/wp-content/uploads/2020/12/1-5-1024x564.png" alt="1.- Install UVDesk on Ubuntu 20.04" class="wp-image-26797" srcset="https://www.osradar.com/wp-content/uploads/2020/12/1-5-1024x564.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/1-5-300x165.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/1-5-768x423.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/1-5-696x383.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/1-5-1068x588.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/1-5.png 1282w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>1.- Install UVDesk on Ubuntu 20.04</figcaption></figure>



<p>Now you need to create a new Virtualhost for the application:</p>



<pre class="wp-block-preformatted">sudo nano /etc/apache2/sites-enabled/uvdesk.conf</pre>



<p>And add the following content</p>



<p>Listen 8080<br>&lt;VirtualHost *:8080><br>ServerName uvdesk.osradar.test<br>DocumentRoot /var/www/udvesk/helpdesk-project/public</p>



<pre class="wp-block-preformatted">&lt;Directory /var/www/udvesk/helpdesk-project/public>
    Options -Indexes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
&lt;/Directory>

&lt;FilesMatch \.php$>
    # 2.4.10+ can proxy to unix socket
    SetHandler "proxy:unix:/var/run/php/php7.4-fpm.sock|fcgi://localhost"
&lt;/FilesMatch>

ErrorLog /var/log/apache2/uvdesk-error.log
CustomLog /var/log/apache2/uvdesk-access.log combined
&lt;/VirtualHost></pre>



<p>Replace <code>ServerName</code> with yours. And save the changes.</p>



<p>Then update the permissions and make Apache the new owner of the UVDesk folder.</p>



<pre class="wp-block-preformatted">sudo chown -R www-data:www-data /var/www/udvesk<br>sudo chmod -R 755 /var/www/udvesk</pre>



<p>And to apply all the changes, restart the service.</p>



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



<h3>5.- Complete the installation using the web interface</h3>



<p>So, open your web browser and go to <code>http://your-server:8080</code> and you will see the welcome screen</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/2-4-1024x506.png" alt="2.- Welcome screen" class="wp-image-26798" srcset="https://www.osradar.com/wp-content/uploads/2020/12/2-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/2-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/2-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/2-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/2-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/2-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>2.- Welcome screen</figcaption></figure>



<p>The installer will then perform a system check and if you meet all the requirements, you will see the following screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/3-5-1024x506.png" alt="3.- System Requirements" class="wp-image-26799" srcset="https://www.osradar.com/wp-content/uploads/2020/12/3-5-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/3-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/3-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/3-5-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/3-5-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/3-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- System Requirements</figcaption></figure>



<p>Then, it&#8217;s time to set up the parameters of the database that we have previously created. Set yours.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/4-4-1024x506.png" alt="4.- Set the database parameters" class="wp-image-26800" srcset="https://www.osradar.com/wp-content/uploads/2020/12/4-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/4-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/4-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/4-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/4-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/4-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- Set the database parameters</figcaption></figure>



<p>After this, it&#8217;s time to create the administrator user.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/5-4-1024x506.png" alt="5.- Creating the super admin account" class="wp-image-26801" srcset="https://www.osradar.com/wp-content/uploads/2020/12/5-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/5-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/5-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/5-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/5-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/5-4.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Creating the super admin account</figcaption></figure>



<p>Then you can configure the website. You can leave it as it is or you can modify the values by which you think convenient.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/6-3-1024x506.png" alt="6.- Website configuration" class="wp-image-26802" srcset="https://www.osradar.com/wp-content/uploads/2020/12/6-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/6-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/6-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/6-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/6-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/6-3.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Website configuration</figcaption></figure>



<p>Finally, you will see the screen where you can start the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/7-3-1024x506.png" alt="7.- Install UVDesk on Ubuntu 20.04" class="wp-image-26803" srcset="https://www.osradar.com/wp-content/uploads/2020/12/7-3-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/7-3-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/7-3-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/7-3-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/7-3-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/7-3.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Install UVDesk on Ubuntu 20.04</figcaption></figure>



<p>If everything goes well, you will see the following screen. There you have the links to the Front-end and the Admin Panel.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/8-1-1024x506.png" alt="8.- UVdesk installed" class="wp-image-26804" srcset="https://www.osradar.com/wp-content/uploads/2020/12/8-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/8-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/8-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/8-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/8-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/8-1.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- UVdesk installed</figcaption></figure>



<p>This is what the frontend looks like</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="506" src="https://www.osradar.com/wp-content/uploads/2020/12/9-1-1024x506.png" alt="9.- UVDesk front-end" class="wp-image-26805" srcset="https://www.osradar.com/wp-content/uploads/2020/12/9-1-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/9-1-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/9-1-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/9-1-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/9-1-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/9-1.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- UVDesk front-end</figcaption></figure>



<p>And so the login screen</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/12/10-1-1024x502.png" alt="10.- Login screen" class="wp-image-26806" srcset="https://www.osradar.com/wp-content/uploads/2020/12/10-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/10-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/10-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/10-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/10-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/10-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Login screen</figcaption></figure>



<p>When you log in you will see the administration screen.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="502" src="https://www.osradar.com/wp-content/uploads/2020/12/11-1-1024x502.png" alt="11.- UVDesk admin panel" class="wp-image-26807" srcset="https://www.osradar.com/wp-content/uploads/2020/12/11-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/12/11-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/12/11-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/12/11-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/12/11-1-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/12/11-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>11.- UVDesk admin panel</figcaption></figure>



<p>So enjoy it.</p>



<h2>Conclusion</h2>



<p>The open-source is gaining more and more ground in the business environment where applications such as UVDesk are becoming impractical for many organizations worldwide.</p>



<p>So, enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-uvdesk-ubuntu/">How to install UVDesk on Ubuntu 20.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-uvdesk-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install GLPI on Ubuntu 20.04?</title>
		<link>https://www.osradar.com/how-to-install-glpi-on-ubuntu-20-04/</link>
					<comments>https://www.osradar.com/how-to-install-glpi-on-ubuntu-20-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Mon, 04 May 2020 23:11:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[focal]]></category>
		<category><![CDATA[Focal Fossa]]></category>
		<category><![CDATA[GLPI]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=20096</guid>

					<description><![CDATA[<p>Ubuntu 20.04 is a very popular distribution on servers because it is quite stable and offers commercial support. That is why it is necessary to learn how to install administrative tools. So, in this post, you will learn how to install GLPI on Ubuntu 20.04. This French inventory system also allows you to have a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-glpi-on-ubuntu-20-04/">How to install GLPI on Ubuntu 20.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>Ubuntu 20.04 is a very popular distribution on servers because it is quite stable and offers commercial support. That is why it is necessary to learn how to install administrative tools. So, in this post, you will learn <strong>how to install GLPI on Ubuntu 20.04</strong>. This French inventory system also allows you to have a ticketing system that will allow you to give technical support in your organization in an orderly way.</p>
<p>According to Wikipedia:</p>
<blockquote>
<p>“<a href="https://glpi-project.org/" target="_blank" rel="noopener noreferrer">GLPI</a> is an open source IT Asset Management, issue tracking system and service desk system (..) The solution is able to build an inventory of all the organization&#8217;s assets and to manage administrative and financial tasks”</p>
</blockquote>
<p>It is open source because it is released under the GPLv2 license which makes it accessible to many. Moreover, it is perfectly compatible with many operating systems.</p>
<p>So, let us start the job.</p>
<h2 class="western">Install GLPI on Ubuntu 20.04</h2>
<h3 class="western">1.- Install LAMP on Ubuntu 20.04</h3>
<p>One of the main advantages of using and installing GLPI is that it is a web application, and is therefore compatible with many operating systems. Also, the installation is not complicated at all, but it requires that the LAMP stack is installed and working on the server.</p>
<p>So let&#8217;s get to work on this first.</p>
<p><a href="https://www.osradar.com/install-lamp-ubuntu-20-04/" target="_blank" rel="noopener noreferrer">How to install LAMP on Ubuntu 20.04?</a></p>
<p>Also, you have to install other PHP modules that become necessary. These are all of them:</p>
<pre>php7.4 php7.4-curl php7.4-zip php7.4-gd php7.4-intl php-pear php7.4-imagick php7.4-imap php-memcache php7.4-pspell php7. 4-tidy php7.4-xmlrpc php7.4-xsl php7.4-mb php7.4-ldap php-cas php-apcu libapache2-mod-php7.4 php7.4-mysql</pre>
<p>Once it is installed and correctly configured we can move on to GLPI.</p>
<h3 class="western">2.- Creating the new user and database for GLPI</h3>
<p>With MariaDB already working properly, we now have to create a new user and a new database.</p>
<p>The main reason for this is that GLPI needs to store different data and it is convenient that the root user is not the user that GLPI is going to use. This is for security reasons.</p>
<p>So, open the MariaDB console as the root user:</p>
<pre>:~$ sudo mysql -u root -p</pre>
<p>And then, create the database, the new user together with the privileges over the new database.</p>
<pre>&gt; CREATE DATABASE glpidb;<br />&gt;GRANT ALL PRIVILEGES ON glpidb.* TO 'glpiuser'@'localhost' IDENTIFIED BY 'password';<br />&gt; FLUSH PRIVILEGES;<br />&gt;EXIT;</pre>
<figure id="attachment_20103" aria-describedby="caption-attachment-20103" style="width: 1040px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20103" src="https://www.osradar.com/wp-content/uploads/2020/05/1-1.png" alt="1.- Creating a new database for GLPI" width="1040" height="403" srcset="https://www.osradar.com/wp-content/uploads/2020/05/1-1.png 1040w, https://www.osradar.com/wp-content/uploads/2020/05/1-1-300x116.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/1-1-1024x397.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/1-1-768x298.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/1-1-696x270.png 696w" sizes="(max-width: 1040px) 100vw, 1040px" /><figcaption id="caption-attachment-20103" class="wp-caption-text">1.- Creating a new database for GLPI</figcaption></figure>
<p>Remember that you can change the values set here to your own. Above all, the password has to be a strong one and must be safe.</p>
<h3 class="western">3.- Download GLPI on Ubuntu 20.04</h3>
<p>So, it&#8217;s time to download GLPI using the wget command. This will make the download faster and we&#8217;ll still be in a CLI environment.</p>
<p>Navigate to the /tmp/ folder and download it from there.</p>
<pre>:~$ cd /tmp/<br />:~$ wget -c https://github.com/glpi-project/glpi/releases/download/9.4.5/glpi-9.4.5.tgz</pre>
<p>Once the download is complete, decompress the file with the tar command.</p>
<pre>:~$ tar -xvf glpi-9.4.5.tgz</pre>
<p>Then, move it to the Apache root folder in Ubuntu and assign the correct permissions.</p>
<pre>:~$ sudo mv glpi /var/www/html/<br />:~$ sudo chmod 755 -R /var/www/html/</pre>
<p>And to make sure Apache has no problem running all GLPI, make Apache the owner of the folder.</p>
<pre>:~$ sudo chown www-data:www-data -R /var/www/html/</pre>
<p>After this, create a new Virtualhost for GLPI.</p>
<pre>:~$ sudo nano /etc/apache2/sites-available/glpi.conf</pre>
<p>And add the following content to the file:</p>
<pre>&lt;VirtualHost *:80&gt;<br />   ServerAdmin admin@your_domain.com<br />   DocumentRoot /var/www/html/glpi<br />   ServerName your-domain.com<br /><br />   &lt;Directory /var/www/html/glpi&gt;<br />        Options FollowSymlinks<br />        AllowOverride All<br />        Require all granted<br />   &lt;/Directory&gt;<br /><br />   ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.log<br />   CustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log combined<br /><br />&lt;/VirtualHost&gt;</pre>
<figure id="attachment_20104" aria-describedby="caption-attachment-20104" style="width: 946px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20104" src="https://www.osradar.com/wp-content/uploads/2020/05/2-3.png" alt="2.- Creating a new Virtualhost for GLPI" width="946" height="330" srcset="https://www.osradar.com/wp-content/uploads/2020/05/2-3.png 946w, https://www.osradar.com/wp-content/uploads/2020/05/2-3-300x105.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/2-3-768x268.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/2-3-696x243.png 696w" sizes="(max-width: 946px) 100vw, 946px" /><figcaption id="caption-attachment-20104" class="wp-caption-text">2.- Creating a new Virtualhost for GLPI</figcaption></figure>
<p>Replace the value &#8220;your-domain&#8221; with your own. You are also free to add new rules for this Virtualhost.</p>
<p>Then save the changes and close the text editor.</p>
<p>To enable the new Virtualhost, simply make a symbolic link from the file to the Apache-enabled sites.</p>
<pre>:~$ sudo ln -s /etc/apache2/sites-available/glpi.conf /etc/apache2/sites-enabled/glpi.conf</pre>
<p>Then, enable Apache&#8217;s rewrite module and apply the changes by restarting Apache.</p>
<pre>:~$ sudo a2enmod rewrite<br />:~$ sudo systemctl restart apache2</pre>
<p>Now to complete the installation.</p>
<h3 class="western">4.- Install GLPI on Ubuntu 20.04</h3>
<p>Now open a web browser and go to <code>http://your-domain</code> and you will see the following screen where you can choose the installation language:</p>
<figure id="attachment_20105" aria-describedby="caption-attachment-20105" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20105" src="https://www.osradar.com/wp-content/uploads/2020/05/3-3.png" alt="3.- GLPI language setup" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/3-3.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/3-3-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/3-3-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/3-3-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/3-3-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/3-3-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20105" class="wp-caption-text">3.- GLPI language setup</figcaption></figure>
<p>Then, you will have to accept the license terms:</p>
<figure id="attachment_20106" aria-describedby="caption-attachment-20106" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20106" src="https://www.osradar.com/wp-content/uploads/2020/05/4-2.png" alt="4.-GLPI  License terms" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/4-2.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/4-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/4-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/4-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/4-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/4-2-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20106" class="wp-caption-text">4.-GLPI License terms</figcaption></figure>
<p>In the next screen, you will have to specify if it is a new installation or an upgrade. In this case, it is a new installation:</p>
<figure id="attachment_20107" aria-describedby="caption-attachment-20107" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20107" src="https://www.osradar.com/wp-content/uploads/2020/05/5-2.png" alt="5.- Installing GLPI on Ubuntu 20.04" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/5-2.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/5-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/5-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/5-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/5-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/5-2-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20107" class="wp-caption-text">5.- Installing GLPI on Ubuntu 20.04</figcaption></figure>
<p>Then, the wizard will verify that the server meets all the requirements.</p>
<figure id="attachment_20108" aria-describedby="caption-attachment-20108" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20108" src="https://www.osradar.com/wp-content/uploads/2020/05/6-2.png" alt="6.- Server requisites" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/6-2.png 1354w, https://www.osradar.com/wp-content/uploads/2020/05/6-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/6-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/6-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/6-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/6-2-1068x528.png 1068w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-20108" class="wp-caption-text">6.- Server requisites</figcaption></figure>
<p>Now you will see the first step of the installation which is to configure the database credentiials. Just type the previously created credentials:</p>
<figure id="attachment_20109" aria-describedby="caption-attachment-20109" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20109" src="https://www.osradar.com/wp-content/uploads/2020/05/7-2.png" alt="7.- Database credentials on GLPI installation" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/7-2.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/7-2-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/7-2-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/7-2-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/7-2-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/7-2-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20109" class="wp-caption-text">7.- Database credentials on GLPI installation</figcaption></figure>
<p>Then, select the database created and continue the process:</p>
<figure id="attachment_20110" aria-describedby="caption-attachment-20110" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20110" src="https://www.osradar.com/wp-content/uploads/2020/05/8-1.png" alt="8.- Select the database for GLPI" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/8-1.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/8-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/8-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/8-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/8-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/8-1-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20110" class="wp-caption-text">8.- Select the database for GLPI</figcaption></figure>
<p>If the installer manages to connect to the database, you will be informed on this screen:</p>
<figure id="attachment_20111" aria-describedby="caption-attachment-20111" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20111" src="https://www.osradar.com/wp-content/uploads/2020/05/9-1.png" alt="9.- So far everything is ok" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/9-1.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/9-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/9-1-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/9-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/9-1-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/9-1-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20111" class="wp-caption-text">9.- So far everything is ok</figcaption></figure>
<p>GLPI is an open-source and improved by the community. Therefore you will be asked if you want to anonymously send statistics to the developers:</p>
<figure id="attachment_20112" aria-describedby="caption-attachment-20112" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20112" src="https://www.osradar.com/wp-content/uploads/2020/05/10.png" alt="10.- GLPI statistics" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/10.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/10-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/10-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/10-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/10-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20112" class="wp-caption-text">10.- GLPI statistics</figcaption></figure>
<p>Then, on the next screen, you will be informed that the installation was successful and you will see the default credentials for each GLPI role. Remember that you can change this.</p>
<figure id="attachment_20113" aria-describedby="caption-attachment-20113" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20113" src="https://www.osradar.com/wp-content/uploads/2020/05/11.png" alt="11.- GLPI installed" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/11.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/11-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/11-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/11-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/11-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/11-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20113" class="wp-caption-text">11.- GLPI installed</figcaption></figure>
<p>In the end, you will see the Login screen where you will enter the necessary credentials:</p>
<figure id="attachment_20114" aria-describedby="caption-attachment-20114" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20114" src="https://www.osradar.com/wp-content/uploads/2020/05/12.png" alt="12.- GLPI login page" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/12.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/12-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/12-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/12-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/12-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/12-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20114" class="wp-caption-text">12.- GLPI login page</figcaption></figure>
<p>Finally, you will see the main screen of the application and it will be ready for work.</p>
<figure id="attachment_20115" aria-describedby="caption-attachment-20115" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-20115" src="https://www.osradar.com/wp-content/uploads/2020/05/13.png" alt="13.- GLPI on Ubuntu 20.04" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/05/13.png 1366w, https://www.osradar.com/wp-content/uploads/2020/05/13-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/05/13-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/05/13-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/05/13-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/05/13-1068x523.png 1068w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-20115" class="wp-caption-text">13.- GLPI on Ubuntu 20.04</figcaption></figure>
<p>So, enjoy it.</p>
<h2 class="western">Conclusion</h2>
<p>GLPI is an application to control the informatics equipment of your company. It is an administrative tool, more than anything. It is created in PHP and uses MariaDB as a database manager.</p>
<p>We are talking about a solid tool used by many organizations worldwide. Free is not a problem for small projects but it is solid enough to be used in larger ones</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/how-to-install-glpi-on-ubuntu-20-04/">How to install GLPI on Ubuntu 20.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-glpi-on-ubuntu-20-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install XCart on Debian 10</title>
		<link>https://www.osradar.com/install-xcart-debian-10/</link>
					<comments>https://www.osradar.com/install-xcart-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 30 Apr 2020 23:35:00 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=19755</guid>

					<description><![CDATA[<p>As we know, Internet commerce is a fundamental part of any business. Fortunately, there are open source solutions that allow you to deploy an online store. In addition to the deployment, other more complex features are offered. There are many solutions of this type, but today we will show you how to install XCart on [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-xcart-debian-10/">Install XCart on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As we know, Internet commerce is a fundamental part of any business. Fortunately, there are open source solutions that allow you to deploy an online store. In addition to the deployment, other more complex features are offered. There are many solutions of this type, but today we will show you how to install XCart on Debian 10.</p>
<h2>Introducing XCart</h2>
<p>Xcart is an open-source application that allows you to intuitively create an online store. Not only creating it but also managing it. Xcart has a free version that is quite basic but can serve as an instruction to the application or if the store is quite small; it also has paid versions with many more advantages.</p>
<p>Thanks to Xcart you can create and manage an online store quickly. It was the first application of this type and the initial version is from 2000. This indicates the experience and maturity of the project and a well-earned reputation.</p>
<p>With Xcart you have all the features you need to achieve your goals, with a carefully designed interface, integration with multiple providers, themes to customize the store and a panel to manage it.</p>
<p>So let&#8217;s start installing XCart on Debian 10.</p>
<h2>Install XCart on Debian 10</h2>
<p>As with the vast majority of content site generators such as WordPress or prestashop, Xcart is built with web technologies. This means that you have to install a web server and PHP. In addition, for data manipulation, it requires MariaDB or a similar database manager.</p>
<p>So, you have to install LAMP.</p>
<p><a href="https://www.osradar.com/install-lamp-on-debian-10/" target="_blank" rel="noopener noreferrer">How to install LAMP on Debian 10?</a></p>
<p>Also, you have to include the following PHP modules:</p>
<pre>php php-cli libapache2-mod-php php-common php-mbstring php-curl php-mysql php-json php-xml php-phar php-pdo php-gd</pre>
<p>Then you can continue.</p>
<h3>Create a new database for MariaDB</h3>
<p>The next step is to create a new database for Xcart to store the generated data.</p>
<pre>:~$ sudo mysql -u root -p<br>&gt; CREATE YOUR DATABASE xcartdb;<br>&gt; GRANT ALL ON xcartdb.* TO 'xcartuser' IDENTIFIED BY 'xcartpss';<br>&gt; FLUSH PRIVILEGES;<br>&gt; exit;</pre>
<figure id="attachment_19798" aria-describedby="caption-attachment-19798" style="width: 949px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-19798" src="https://www.osradar.com/wp-content/uploads/2020/04/1-14.png" alt="1.- Create the new database for XCart" width="949" height="391" srcset="https://www.osradar.com/wp-content/uploads/2020/04/1-14.png 949w, https://www.osradar.com/wp-content/uploads/2020/04/1-14-300x124.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/1-14-768x316.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/1-14-696x287.png 696w" sizes="(max-width: 949px) 100vw, 949px" /><figcaption id="caption-attachment-19798" class="wp-caption-text">1.- Create the new database for XCart</figcaption></figure>
<p>So, continue.</p>
<h3>Download XCart on Debian 10</h3>


<p>Now we can really start the XCart download. To do this, use the<a href="https://www.osradar.com/the-wget-command/" target="_blank" rel="noreferrer noopener" aria-label=" wget command (opens in a new tab)"> wget command</a> and do it from the <strong>/tmp</strong> folder</p>



<pre class="wp-block-preformatted">:~$ cd /tmp/
:~$ wget -c http://img.x-cart.com/software/a/2f8a9fdc-c1c8-4f4f-814e-bb7a3e4d3b72/x-cart-5.4.0.10-en.tgz</pre>



<p>When the download is finished, you have to decompress the downloaded file but we will do it in the Apache root folder.</p>



<pre class="wp-block-preformatted">:~$ sudo tar xvzf x-cart-5.4.0.10-en.tgz -C /var/www/html/</pre>



<p>It then assigns the appropriate permissions to the folder so that the server can run it correctly.</p>



<pre class="wp-block-preformatted">:~$ sudo chown -R www-data:www-data /var/www/html/xcart
:~$ sudo chmod -R 755 /var/www/html/xcart</pre>



<p>Then, create a new Virtualhost for the XCart site.</p>



<pre class="wp-block-preformatted">:~$ sudo nano /etc/apache2/sites-available/xcart.conf</pre>



<p>And add the following:</p>



<pre class="wp-block-preformatted">&lt;VirtualHost *:80&gt;
    ServerAdmin admin@your_domain.com
    DocumentRoot /var/www/html/xcart
    ServerName shop.osradar.lan

    &lt;Directory /var/www/html/xcart&gt;
         Options FollowSymlinks
         AllowOverride All
         Require all granted
    &lt;/Directory&gt;       
ErrorLog ${APACHE_LOG_DIR}/shop.osradar.lan_error.log
CustomLog ${APACHE_LOG_DIR}/shop.osradar.lan_error.log
&lt;/VirtualHost&gt;</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="940" height="310" src="https://www.osradar.com/wp-content/uploads/2020/04/2-11.png" alt="2.- Virtuahost for XCart" class="wp-image-19800" srcset="https://www.osradar.com/wp-content/uploads/2020/04/2-11.png 940w, https://www.osradar.com/wp-content/uploads/2020/04/2-11-300x99.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/2-11-768x253.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/2-11-696x230.png 696w" sizes="(max-width: 940px) 100vw, 940px" /><figcaption>2.- Virtuahost for XCart<br></figcaption></figure>



<p>Remember to change the value of ServerName to your own.</p>



<p>Then, enable the new VirtualHost and enable Apache&#8217;s rewrite module. Finally, restart the Apache service.</p>



<pre class="wp-block-preformatted">:~$ sudo ln -s /etc/apache2/sites-available/xcart.conf /etc/apache2/sites-enabled/xcart.conf
:~$ sudo a2enmod rewrite
:~$ sudo systemctl restart apache2</pre>



<p>We will now complete the installation from the XCart web interface.</p>



<h3>Install XCart on Debian 10</h3>



<p>The next step is to open your favorite web browser and go to the server to complete the installation. In this case, it is shop.osradar.lan</p>



<p>You&#8217;ll see what follows:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/04/3-10-1024x501.png" alt="3.- Stating the installation" class="wp-image-19801" srcset="https://www.osradar.com/wp-content/uploads/2020/04/3-10-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/3-10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/3-10-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/3-10-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/3-10-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/3-10.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>3.- Stating the installation</figcaption></figure>



<p>Click on the Yes button to start the installation.</p>



<p>Then, you will see the license terms. Accept them to continue.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/04/4-8-1024x501.png" alt="4.- terms of License " class="wp-image-19802" srcset="https://www.osradar.com/wp-content/uploads/2020/04/4-8-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/4-8-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/4-8-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/4-8-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/4-8-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/4-8.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>4.- terms of License </figcaption></figure>



<p>Then, create the administrator user account.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/04/5-4-1024x501.png" alt="5.- Creating the admin account" class="wp-image-19803" srcset="https://www.osradar.com/wp-content/uploads/2020/04/5-4-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/5-4-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/5-4-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/5-4-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/5-4-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/5-4.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>5.- Creating the admin account</figcaption></figure>



<p>Next, the installer will verify all the requirements needed to perform the installation.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/04/6-7-1024x505.png" alt="6.- Installing XCart on Debian 10" class="wp-image-19804" srcset="https://www.osradar.com/wp-content/uploads/2020/04/6-7-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/6-7-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/6-7-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/6-7-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/6-7-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/6-7.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>6.- Installing XCart on Debian 10</figcaption></figure>



<p>Then you have to enter the credentials of the database you have created.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/04/7-5-1024x505.png" alt="7.- Databases credentials" class="wp-image-19805" srcset="https://www.osradar.com/wp-content/uploads/2020/04/7-5-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/7-5-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/7-5-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/7-5-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/7-5-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/7-5.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>7.- Databases credentials</figcaption></figure>



<p>Then, the installation will begin and you will see that everything has gone well.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/04/8-2-1024x505.png" alt="8.- Xcart on Debian 10" class="wp-image-19806" srcset="https://www.osradar.com/wp-content/uploads/2020/04/8-2-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/8-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/8-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/8-2-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/8-2-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/8-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>8.- Xcart on Debian 10</figcaption></figure>



<p>For security reasons, execute the commands that the installer proposes.</p>



<pre class="wp-block-preformatted">:~$ chmod 755 /var/www/html/xcart/
:~$ chmod 755 /var/www/html/xcart/etc/
:~$ chmod 644 /var/www/html/xcart/etc/config.php</pre>



<p>Then go to the administration panel but log in first.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="501" src="https://www.osradar.com/wp-content/uploads/2020/04/9-1-1024x501.png" alt="9.- XCart login page" class="wp-image-19807" srcset="https://www.osradar.com/wp-content/uploads/2020/04/9-1-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/9-1-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/9-1-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/9-1-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/9-1-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/9-1.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>9.- XCart login page</figcaption></figure>



<p>And finally, you will see the dashboard.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="505" src="https://www.osradar.com/wp-content/uploads/2020/04/10-2-1024x505.png" alt="10.- Xcart on Debian 10" class="wp-image-19808" srcset="https://www.osradar.com/wp-content/uploads/2020/04/10-2-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2020/04/10-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/04/10-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/04/10-2-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2020/04/10-2-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2020/04/10-2.png 1354w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>10.- Xcart on Debian 10</figcaption></figure>



<p>So, that is it.</p>



<h2>Conclusion</h2>



<p>Deploying an online store can be very difficult but thanks to tools like Xcart it can be made a little easier. Something as easy as installing it on Debian 10 that you now know.</p>



<p>It remains for you to take advantage of the tool and learn more.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel. (opens in a new tab)">our Telegram channel.</a></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-xcart-debian-10/">Install XCart on Debian 10</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-xcart-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install Cockpit on Debian 10?</title>
		<link>https://www.osradar.com/how-to-install-cockpit-on-debian-10/</link>
					<comments>https://www.osradar.com/how-to-install-cockpit-on-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Sun, 01 Mar 2020 23:26:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[Cockpit]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18613</guid>

					<description><![CDATA[<p>Monitoring is sometimes a bit complicated because there are very complete tools that sometimes get us a bit confused. Today I will show you how to install Cockpit on Debian 10. A tool that stands out for its simplicity and ease of use. Cockpit we like very much. It&#8217;s just that it&#8217;s pretty complete and [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cockpit-on-debian-10/">How to install Cockpit on Debian 10?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Monitoring is sometimes a bit complicated because there are very complete tools that sometimes get us a bit confused. <strong>Today I will show you how to install Cockpit on Debian 10</strong>. A tool that stands out for its simplicity and ease of use.</p>
<p><a href="https://cockpit-project.org/" target="_blank" rel="noopener noreferrer">Cockpit</a> we like very much. It&#8217;s just that it&#8217;s pretty complete and easy to use the tool. Beyond monitoring, it allows us to control a Linux server through a web interface. Great, isn&#8217;t it?</p>
<p>In order to be a program used by multiple teams working on a server is that Cockpit has been carefully designed. In addition, it is <strong>friendly</strong> enough for <strong>those new to Linux</strong> and useful for <strong>seasoned admins too</strong>.</p>
<p>As I mentioned before, the installation of Cockpit is really simple since it is <strong>included in the official repositories</strong> of many Linux distributions.</p>
<p>As expected many sysadmins are experts in the use of the terminal and therefore using Cockpit is perfectly compatible with it. <strong>There’s even an embedded terminal in Cockpit.</strong></p>
<p>In short, we are talking about a necessary program to complement the administration of a server efficiently.</p>
<p>So, let us start.</p>
<h2>Install Cockpit on Debian 10</h2>
<p>Cockpit is included in the official Debian 10 repositories. So we only need to use the following command:</p>
<pre>:~$ sudo apt update 
:~$ sudo apt install cockpit --install-recommends
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  cockpit-bridge cockpit-dashboard cockpit-networkmanager cockpit-packagekit cockpit-storaged cockpit-system cockpit-ws cracklib-runtime dirmngr dns-root-data
  dnsmasq-base dosfstools exfat-fuse exfat-utils exim4-base exim4-config exim4-daemon-light fuse gdisk glib-networking glib-networking-common glib-networking-services
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gsettings-desktop-schemas guile-2.2-libs libappstream4 libassuan0 libatasmart4
  libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-mdraid2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2
  libbluetooth3 libbytesize1 libcrack2 libevent-2.1-6 libfribidi0 libgc1c2 libglib2.0-bin libgnutls-dane0 libgpgme11 libgsasl7 libgstreamer1.0-0 libjansson4
  libjson-glib-1.0-0 libjson-glib-1.0-common libksba8 libkyotocabinet16v5 liblzo2-2 libmailutils5 libmbim-glib4 libmbim-proxy libmm-glib0 libmpfr6 libndp0 libnm0
  libnpth0 libntfs-3g883 libntlm0 libpackagekit-glib2-18 libparted-fs-resize0 libparted2 libpcap0.8 libproxy1v5 libpwquality-common libpwquality-tools libpwquality1
  libpython2.7 libqmi-glib5 libqmi-proxy libssh-4 libstemmer0d libteamdctl0 libudisks2-0 libunbound8 libvolume-key1 mailutils mailutils-common mdadm modemmanager
  network-manager ntfs-3g packagekit packagekit-tools parted pinentry-curses ppp psmisc udisks2
Suggested packages:
  cockpit-doc cockpit-pcp cockpit-docker xdg-utils pinentry-gnome3 tor exim4-doc-html | exim4-doc-info eximon4 spf-tools-perl swaks parcimonie xloadimage scdaemon
  gstreamer1.0-tools libparted-dev libparted-i18n mailutils-mh mailutils-doc dracut-core libteam-utils appstream parted-doc pinentry-doc btrfs-progs f2fs-tools
  nilfs-tools reiserfsprogs xfsprogs udftools udisks2-bcache udisks2-btrfs udisks2-lvm2 udisks2-vdo udisks2-zram
The following NEW packages will be installed:
  cockpit cockpit-bridge cockpit-dashboard cockpit-networkmanager cockpit-packagekit cockpit-storaged cockpit-system cockpit-ws cracklib-runtime dirmngr dns-root-data
  dnsmasq-base dosfstools exfat-fuse exfat-utils exim4-base exim4-config exim4-daemon-light fuse gdisk glib-networking glib-networking-common glib-networking-services
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gsettings-desktop-schemas guile-2.2-libs libappstream4 libassuan0 libatasmart4
  libblockdev-crypto2 libblockdev-fs2 libblockdev-loop2 libblockdev-mdraid2 libblockdev-part-err2 libblockdev-part2 libblockdev-swap2 libblockdev-utils2 libblockdev2
  libbluetooth3 libbytesize1 libcrack2 libevent-2.1-6 libfribidi0 libgc1c2 libglib2.0-bin libgnutls-dane0 libgpgme11 libgsasl7 libgstreamer1.0-0 libjansson4
  libjson-glib-1.0-0 libjson-glib-1.0-common libksba8 libkyotocabinet16v5 liblzo2-2 libmailutils5 libmbim-glib4 libmbim-proxy libmm-glib0 libmpfr6 libndp0 libnm0
  libnpth0 libntfs-3g883 libntlm0 libpackagekit-glib2-18 libparted-fs-resize0 libparted2 libpcap0.8 libproxy1v5 libpwquality-common libpwquality-tools libpwquality1
  libpython2.7 libqmi-glib5 libqmi-proxy libssh-4 libstemmer0d libteamdctl0 libudisks2-0 libunbound8 libvolume-key1 mailutils mailutils-common mdadm modemmanager
  network-manager ntfs-3g packagekit packagekit-tools parted pinentry-curses ppp psmisc udisks2
0 upgraded, 103 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.3 MB of archives.
After this operation, 138 MB of additional disk space will be used.
Do you want to continue? [Y/n</pre>
<p><figure id="attachment_18623" aria-describedby="caption-attachment-18623" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18623" src="https://www.osradar.com/wp-content/uploads/2020/02/1-19.png" alt="1.- Installing Cockpit on Debian 10" width="1365" height="602" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-19.png 1365w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-300x132.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-1024x452.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-768x339.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-696x307.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-1068x471.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/1-19-952x420.png 952w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-18623" class="wp-caption-text">1.- Installing Cockpit on Debian 10</figcaption></figure></p>
<p>The second command not only installs Cockpit but also other recommended packages.</p>
<p>When the installation is finished, the service will be active and running.</p>
<p>And to access Cockpit, just use a current web browser and go to the following address:</p>
<pre>https://your-server:9090</pre>
<p>Make sure that the port is available on the firewall.</p>
<p>Then, you will see this.</p>
<p><figure id="attachment_18624" aria-describedby="caption-attachment-18624" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18624" src="https://www.osradar.com/wp-content/uploads/2020/02/2-18.png" alt="2.- Cockpit on Debian 10" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-18.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/2-18-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18624" class="wp-caption-text">2.- Cockpit on Debian 10</figcaption></figure></p>
<h2>Using cockpit</h2>
<p>In that Log in screen, you only have to put your system credentials. Yes, the same ones you use to log in. If your user is in the sudo list you can check the option to <em>reuse my password for privileged tasks</em>. When you log in, you will see the following.</p>
<p><figure id="attachment_18625" aria-describedby="caption-attachment-18625" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18625" src="https://www.osradar.com/wp-content/uploads/2020/02/3-15.png" alt="3.- Cockpit main screen" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/3-15.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/3-15-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18625" class="wp-caption-text">3.- Cockpit main screen</figcaption></figure></p>
<p>On the left side, you have all the driving options. For example, you can check the system logs:</p>
<p><figure id="attachment_18626" aria-describedby="caption-attachment-18626" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18626" src="https://www.osradar.com/wp-content/uploads/2020/02/4-15.png" alt="4.- system logs" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/4-15.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/4-15-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18626" class="wp-caption-text">4.- system logs</figcaption></figure></p>
<p>In this case, there isn&#8217;t one in my system yet.</p>
<p>Then you can check the storage function.</p>
<p><figure id="attachment_18627" aria-describedby="caption-attachment-18627" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18627" src="https://www.osradar.com/wp-content/uploads/2020/02/5-13.png" alt="5.- Storage function on Cockpit" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-13.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/5-13-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18627" class="wp-caption-text">5.- Storage function on Cockpit</figcaption></figure></p>
<p>A very useful function of Cockpit is the ability to monitor the state of the computer networks.</p>
<p><figure id="attachment_18628" aria-describedby="caption-attachment-18628" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18628" src="https://www.osradar.com/wp-content/uploads/2020/02/6-10.png" alt="6.- Network status with Cockpit" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/6-10.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/6-10-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18628" class="wp-caption-text">6.- Network status with Cockpit</figcaption></figure></p>
<p>Also, managing system services such as <a href="https://www.osradar.com/tag/postgresql/" target="_blank" rel="noopener noreferrer">postgreSQL</a>, <a href="https://www.osradar.com/tag/mariadb/" target="_blank" rel="noopener noreferrer">MariaDB</a> or <a href="https://www.osradar.com/how-to-install-proftpd-on-rhel-8/" target="_blank" rel="noopener noreferrer">FTP</a> are very easy thanks to Cockpit.</p>
<p><figure id="attachment_18629" aria-describedby="caption-attachment-18629" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18629" src="https://www.osradar.com/wp-content/uploads/2020/02/7-5.png" alt="7.- Managing services with Cockpit" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/7-5.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/7-5-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18629" class="wp-caption-text">7.- Managing services with Cockpit</figcaption></figure></p>
<p>The sysadmin will appreciate that Cockpit includes a terminal ready to execute commands:</p>
<p><figure id="attachment_18630" aria-describedby="caption-attachment-18630" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18630" src="https://www.osradar.com/wp-content/uploads/2020/02/8-6.png" alt="8.- Cockpit terminal" width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/8-6.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/8-6-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18630" class="wp-caption-text">8.- Cockpit terminal</figcaption></figure></p>
<p>On the other hand, you can see the Cockpit dashboard there you will have information about the system resources.</p>
<p><figure id="attachment_18631" aria-describedby="caption-attachment-18631" style="width: 1360px" class="wp-caption alignnone"><img loading="lazy" class="wp-image-18631 size-full" src="https://www.osradar.com/wp-content/uploads/2020/02/9-5.png" alt="9.- Cockpit on Debian 10 " width="1360" height="665" srcset="https://www.osradar.com/wp-content/uploads/2020/02/9-5.png 1360w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-1024x501.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-696x340.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-1068x522.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/9-5-859x420.png 859w" sizes="(max-width: 1360px) 100vw, 1360px" /><figcaption id="caption-attachment-18631" class="wp-caption-text">9.- Cockpit on Debian 10</figcaption></figure></p>
<p>So, enjoy this wonderfull tool.</p>
<h2>Conclusion</h2>
<p>Cockpit is one of those tools that works quite well and easily. That is, without complicated interfaces we can control a Linux server through a web interface. Now you know how to install it in Debian 10.</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>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-cockpit-on-debian-10/">How to install Cockpit on Debian 10?</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-cockpit-on-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to install VestaCP on Ubuntu 18.04?</title>
		<link>https://www.osradar.com/install-vestacp-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/install-vestacp-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 20 Feb 2020 00:22:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bionic]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VestaCP]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=18260</guid>

					<description><![CDATA[<p>In this post, we will help you to install VestaCP on Ubuntu 18.04. VestaCP is a simple yet fantastic control panel hosting, but at the same time very intuitive and easy to use. It is used to manage user accounts, domains, web directories, FTP, Email, SSL Certificates, backups, etc.. VestaCP is very simple, but at [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-vestacp-ubuntu-18-04/">How to install VestaCP 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><strong>In this post, we will help you to install VestaCP on Ubuntu 18.04.</strong></p>
<p><a href="https://vestacp.com/" target="_blank" rel="noopener noreferrer"><strong>VestaCP</strong></a> is a simple yet fantastic control panel hosting, but at the same time very intuitive and easy to use. It is used to manage user accounts, domains, web directories, FTP, Email, SSL Certificates, backups, etc.. VestaCP is very simple, but at the same time very <strong>intuitive and easy to use</strong>. You can install vestaCP on many GNU/LINUX distributions, especially those focused on servers, such as <a href="https://www.osradar.com/?s=debian">Debian</a> or <a href="https://www.centos.org/">CentOS</a>.</p>
<h2>Main features of VestaCP</h2>
<p>Despite being simple and intuitive, it is also a powerful tool with many utilities. VestaCP offers us:</p>
<ul>
<li>A very neat <strong>Web interface</strong> open source and written in PHP. So compatibility is guaranteed.</li>
<li><strong>Vesta core</strong> is written in bash. It is native programming language of Linux server administrators. You can execute 381 commands on Core.</li>
<li>Its license is <strong>GNU GPL3</strong>. Its source code can be studied and modified</li>
<li><strong>A powerful CLI</strong> ready to give you control of what happens on the server.</li>
<li><strong>Commercial plugins</strong> extend the functionality of VestaCP.</li>
</ul>
<p>As you can see, it’s a ready-to-use application for everyday work.</p>
<p>So, let us start.</p>
<h2>Installing VestaCP on Ubuntu 18.04</h2>
<p>First, update the system completely to have everything ready.</p>
<pre>:~$ sudo apt update
:~$ sudo apt upgrade</pre>
<p>VestaCP has a pretty competent installer that you have to download using curl.</p>
<pre>:~$ curl -O http://vestacp.com/pub/vst-install.sh</pre>
<figure id="attachment_18271" aria-describedby="caption-attachment-18271" style="width: 824px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18271" src="https://www.osradar.com/wp-content/uploads/2020/02/1-9.png" alt="1.- Download the VestaCP installer" width="824" height="163" srcset="https://www.osradar.com/wp-content/uploads/2020/02/1-9.png 824w, https://www.osradar.com/wp-content/uploads/2020/02/1-9-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/1-9-768x152.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/1-9-696x138.png 696w" sizes="(max-width: 824px) 100vw, 824px" /><figcaption id="caption-attachment-18271" class="wp-caption-text">1.- Download the VestaCP installer</figcaption></figure>
<p>Once you download it, you can run it with the following command:</p>
<pre>:~$ sudo bash vst-install.sh</pre>
<figure id="attachment_18272" aria-describedby="caption-attachment-18272" style="width: 783px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18272" src="https://www.osradar.com/wp-content/uploads/2020/02/2-9.png" alt="2.- The VestaCP installer" width="783" height="476" srcset="https://www.osradar.com/wp-content/uploads/2020/02/2-9.png 783w, https://www.osradar.com/wp-content/uploads/2020/02/2-9-300x182.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/2-9-768x467.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/2-9-696x423.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/2-9-691x420.png 691w" sizes="(max-width: 783px) 100vw, 783px" /><figcaption id="caption-attachment-18272" class="wp-caption-text">2.- The VestaCP installer</figcaption></figure>
<p>This will start the wizard.</p>
<p>The first thing it will ask you is your Email and the FQDN of the server.</p>
<figure id="attachment_18273" aria-describedby="caption-attachment-18273" style="width: 891px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18273" src="https://www.osradar.com/wp-content/uploads/2020/02/3-9.png" alt="3.- Installing VestaCP on Ubuntu 18.04" width="891" height="245" srcset="https://www.osradar.com/wp-content/uploads/2020/02/3-9.png 891w, https://www.osradar.com/wp-content/uploads/2020/02/3-9-300x82.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/3-9-768x211.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/3-9-696x191.png 696w" sizes="(max-width: 891px) 100vw, 891px" /><figcaption id="caption-attachment-18273" class="wp-caption-text">3.- Installing VestaCP on Ubuntu 18.04</figcaption></figure>
<p>Then, it will start the whole installation. Be patient, the installation will take a while.</p>
<p>Once the installation is finished and if everything has gone well, you will see the following information:</p>
<figure id="attachment_18274" aria-describedby="caption-attachment-18274" style="width: 1217px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18274" src="https://www.osradar.com/wp-content/uploads/2020/02/4-8.png" alt="4.- VestaCP properly installed" width="1217" height="409" srcset="https://www.osradar.com/wp-content/uploads/2020/02/4-8.png 1217w, https://www.osradar.com/wp-content/uploads/2020/02/4-8-300x101.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/4-8-1024x344.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/4-8-768x258.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/4-8-696x234.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/4-8-1068x359.png 1068w" sizes="(max-width: 1217px) 100vw, 1217px" /><figcaption id="caption-attachment-18274" class="wp-caption-text">4.- VestaCP properly installed</figcaption></figure>
<p>The image shows all the information you need to access VestaCP. Remember that if you are working in a local network without internet access, the internal IP address is the one you should type.</p>
<p>Also, you can customize the installer with many options that you can generate on this <a href="https://vestacp.com/install/" target="_blank" rel="noopener noreferrer">site</a>.</p>
<figure id="attachment_18283" aria-describedby="caption-attachment-18283" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18283" src="https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install.png" alt="VestaCP installation options" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install.png 1354w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/Screenshot_2020-02-15-Vesta-Control-Panel-—-Install-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-18283" class="wp-caption-text">VestaCP installation options</figcaption></figure>
<h2>Test VestaCP on Ubuntu 18.04</h2>
<p>Now let&#8217;s access the tool. Open your favorite web browser and go to <code>https://your-server:8083</code> and you will see the login screen.</p>
<figure id="attachment_18275" aria-describedby="caption-attachment-18275" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18275" src="https://www.osradar.com/wp-content/uploads/2020/02/5-8.png" alt="5.- VestaCP log in screen" width="1366" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/5-8.png 1366w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-300x147.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-1024x502.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-768x376.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-533x261.png 533w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-696x341.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-1068x523.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/5-8-858x420.png 858w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-18275" class="wp-caption-text">5.- VestaCP log in screen</figcaption></figure>
<p>Now type in the credentials that were generated earlier and you will see the VestaCP dashboard.</p>
<figure id="attachment_18280" aria-describedby="caption-attachment-18280" style="width: 1081px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18280" src="https://www.osradar.com/wp-content/uploads/2020/02/6-6.png" alt="6.- VestaCP dashboard" width="1081" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/6-6.png 1081w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-300x186.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-1024x634.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-768x475.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-356x220.png 356w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-696x431.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-1068x661.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/6-6-679x420.png 679w" sizes="(max-width: 1081px) 100vw, 1081px" /><figcaption id="caption-attachment-18280" class="wp-caption-text">6.- VestaCP dashboard</figcaption></figure>
<p>Now you can see all the information on the server. For example, it&#8217;s a good idea to check the graphics:</p>
<figure id="attachment_18281" aria-describedby="caption-attachment-18281" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18281" src="https://www.osradar.com/wp-content/uploads/2020/02/7-2.png" alt="7.- Load average screen" width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/7-2.png 1354w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/7-2-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-18281" class="wp-caption-text">7.- Load average screen</figcaption></figure>
<p>Or check the cron tasks:</p>
<figure id="attachment_18282" aria-describedby="caption-attachment-18282" style="width: 1354px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-18282" src="https://www.osradar.com/wp-content/uploads/2020/02/8-4.png" alt="8.- Cron screen " width="1354" height="669" srcset="https://www.osradar.com/wp-content/uploads/2020/02/8-4.png 1354w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-1024x506.png 1024w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-696x344.png 696w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-1068x528.png 1068w, https://www.osradar.com/wp-content/uploads/2020/02/8-4-850x420.png 850w" sizes="(max-width: 1354px) 100vw, 1354px" /><figcaption id="caption-attachment-18282" class="wp-caption-text">8.- Cron screen</figcaption></figure>
<p>So, enjoy it.</p>


<h2>Conclusion</h2>



<p>VestaCP is a control panel for Linux with many features that facilitate the administration of a server. So today you have learned to install it in a very simple way.</p>



<p>Please share this post and join <a href="https://t.me/osradar" target="_blank" rel="noreferrer noopener" aria-label="our Telegram channel (opens in a new tab)">our Telegram channel</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-vestacp-ubuntu-18-04/">How to install VestaCP 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-vestacp-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install WildFly 18.0.1.Final &#038; Connecting to Eclipse IDE on Ubuntu 19.04</title>
		<link>https://www.osradar.com/how-to-install-wildfly-18-0-1-final-connecting-to-eclipse-ide-on-ubuntu-19-04/</link>
					<comments>https://www.osradar.com/how-to-install-wildfly-18-0-1-final-connecting-to-eclipse-ide-on-ubuntu-19-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 20 Dec 2019 12:19:27 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[eclipse ide]]></category>
		<category><![CDATA[install wildfly on ubuntu 19.04]]></category>
		<category><![CDATA[java development server]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[ubuntu 19.04]]></category>
		<category><![CDATA[web servers]]></category>
		<category><![CDATA[wildFly 18.0.1.Final]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=16569</guid>

					<description><![CDATA[<p>What is WildFly ? WildFly/JBoss is a Java Server used for the development of Java Projects and provides most of the features and being used by the Enterprises for its better performance &#38; almost all features required. So mostly it is used by main Enterprises as compared to its competitors like Apache, Tomcat, Glassfish, Jetty. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-wildfly-18-0-1-final-connecting-to-eclipse-ide-on-ubuntu-19-04/">How To Install WildFly 18.0.1.Final &amp; Connecting to Eclipse IDE on 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[
<h3><strong>What is WildFly</strong> <strong>?</strong></h3>



<p>WildFly/JBoss  is a Java Server used for the development of Java Projects and provides most of the features and being used by the Enterprises for its better performance &amp; almost all features required. So mostly it is used by main Enterprises as compared to its competitors like Apache, Tomcat, Glassfish, Jetty. Other servers do not provides the all features needed but all of them provides most of the enterprise features. WildFly is the community edition &amp; JBoss is the enterprise edition. JBoss is more secure but both are provided by Redhat Inc. So we recommend WildFly &amp; we&#8217;re going to Install it on Our Ubuntu system today. So , follow the steps to proceed further.<br>First of all you must have installed Java.</p>



<pre class="wp-block-verse">java -version</pre>



<h3><strong>Install WildFly 18 on Ubuntu 19.04</strong></h3>



<p>Download the WildFly 18 &amp; choose the location to install it .</p>



<pre class="wp-block-verse">mkdir -p ~/sabi/servers<br>cd ~/sabi/servers<br>wget https://download.jboss.org/wildfly/18.0.1.Final/wildfly-18.0.1.Final.zip<br>unzip wildfly-18.0.1.Final.zip</pre>



<p>Now add an admin to manage some sources (data sources).</p>



<pre class="wp-block-verse">cd wildfly-18.0.1.Final/bin/<br>./add-user.sh </pre>



<p>Fill the required details.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="513" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/adding-user-1024x513.jpg" alt="" class="wp-image-16570" srcset="https://www.osradar.com/wp-content/uploads/2019/12/adding-user-1024x513.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user-300x150.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user-768x385.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user-696x349.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user-1068x535.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user-838x420.jpg 838w, https://www.osradar.com/wp-content/uploads/2019/12/adding-user.jpg 1076w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Now, start WildFly server instance in standalone as shown below:</p>



<pre class="wp-block-verse">$ ./standalone.sh<br> JBoss Bootstrap Environment<br> JBOSS_HOME: /home/sabi/sabi/servers/wildfly-18.0.1.Final<br> JAVA: java<br> JAVA_OPTS:  -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true  --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED<br> =========================================================================<br> 22:16:09,321 INFO  <a href="main">org.jboss.modules</a> JBoss Modules version 1.9.1.Final<br> 22:16:12,711 INFO  <a href="main">org.jboss.msc</a> JBoss MSC version 1.4.11.Final<br> 22:16:12,775 INFO  <a href="main">org.jboss.threads</a> JBoss Threads version 2.3.3.Final<br> 22:16:13,655 INFO  [org.jboss.as] (MSC service thread 1-1) WFLYSRV0049: WildFly Full 18.0.1.Final (WildFly Core 10.0.3.Final) starting<br> 22:16:24,470 INFO  [org.wildfly.security] (ServerService Thread Pool -- 28) ELY00001: WildFly Elytron version 1.10.4.Final<br> 22:16:29,899 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.<br> 22:16:30,156 INFO  [org.jboss.as.controller.management-deprecated] (ServerService Thread Pool -- 9) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/subsystem=undertow/server=default-server/https-listener=https' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.<br> 22:16:30,795 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)<br> 22:16:31,359 INFO  [org.xnio] (MSC service thread 1-2) XNIO version 3.7.3.Final<br> 22:16:31,539 INFO  [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version 3.7.3.Final<br> 22:16:31,744 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 51) WFLYCLINF0001: Activating Infinispan subsystem.<br> 22:16:31,875 INFO  [org.wildfly.extension.microprofile.config.smallrye._private] (ServerService Thread Pool -- 60) WFLYCONF0001: Activating WildFly MicroProfile Config Subsystem<br> 22:16:31,934 INFO  [org.wildfly.extension.microprofile.opentracing] (ServerService Thread Pool -- 63) WFLYTRACEXT0001: Activating MicroProfile OpenTracing Subsystem<br> 22:16:31,945 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 64) WFLYNAM0001: Activating Naming Subsystem<br> 22:16:32,121 INFO  [org.wildfly.extension.microprofile.health.smallrye] (ServerService Thread Pool -- 61) WFLYHEALTH0001: Activating Eclipse MicroProfile Health Subsystem<br> 22:16:32,449 INFO  [org.wildfly.extension.microprofile.metrics.smallrye] (ServerService Thread Pool -- 62) WFLYMETRICS0001: Activating Eclipse MicroProfile Metrics Subsystem<br> 22:16:32,110 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 52) WFLYIO001: Worker 'default' has auto-configured to 4 core threads with 32 task threads based on your 2 available processors<br> 22:16:32,444 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 70) WFLYSEC0002: Activating Security Subsystem<br> 22:16:32,442 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 72) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.<br> 22:16:32,707 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 58) WFLYJSF0007: Activated the following JSF Implementations: [main]<br> 22:16:32,760 INFO  [org.jboss.as.security] (MSC service thread 1-2) WFLYSEC0001: Current PicketBox version=5.0.3.Final<br> 22:16:32,808 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 74) WFLYWS0002: Activating WebServices Extension<br> 22:16:32,803 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.4.17.Final)<br> 22:16:33,440 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 43) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.4)<br> 22:16:33,835 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 5.0.15.Final<br> 22:16:34,139 INFO  [org.jboss.as.jaxrs] (ServerService Thread Pool -- 53) WFLYRS0016: RESTEasy version 3.9.1.Final<br> 22:16:34,343 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service<br> 22:16:34,347 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-2) WFLYJCA0018: Started Driver service with driver-name = h2<br> 22:16:34,358 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]<br> 22:16:34,802 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0003: Undertow 2.0.27.Final starting<br> 22:16:35,888 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 73) WFLYUT0014: Creating file handler for path '/home/sabi/sabi/servers/wildfly-18.0.1.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']<br> 22:16:36,574 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 32 (per class), which is derived from thread worker pool sizing.<br> 22:16:36,574 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 8 (per class), which is derived from the number of CPUs on this host.<br> 22:16:37,074 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0012: Started server default-server.<br> 22:16:37,106 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018: Host default-host starting<br> 22:16:37,366 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0493: EJB subsystem suspension complete<br> 22:16:37,590 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080<br> 22:16:37,838 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]<br> 22:16:39,388 INFO  [org.jboss.as.patching] (MSC service thread 1-2) WFLYPAT0050: WildFly Full cumulative patch ID is: base, one-off patches include: none<br> 22:16:39,484 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-1) WFLYDM0111: Keystore /home/sabi/sabi/servers/wildfly-18.0.1.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost<br> 22:16:39,572 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) WFLYDS0013: Started FileSystemDeploymentService for directory /home/sabi/sabi/servers/wildfly-18.0.1.Final/standalone/deployments<br> 22:16:40,643 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443<br> 22:16:41,897 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBossWS 5.3.0.Final (Apache CXF 3.3.3) <br> 22:16:42,402 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server<br> 22:16:42,418 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management<br> 22:16:42,418 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990<br> 22:16:42,419 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 18.0.1.Final (WildFly Core 10.0.3.Final) started in 35444ms - Started 315 of 577 services (369 services are lazy, passive or on-demand)</pre>



<p>You can access the web management interface during the running of WildFly server by visiting <a href="http://localhost:9990/console">http://localhost:9990/console</a>. Provide the Authentication details to access Dashboard.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="539" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/authentication-1024x539.jpg" alt="" class="wp-image-16571" srcset="https://www.osradar.com/wp-content/uploads/2019/12/authentication-1024x539.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/authentication-300x158.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/authentication-768x404.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/authentication-696x366.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/authentication-1068x562.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/12/authentication-798x420.jpg 798w, https://www.osradar.com/wp-content/uploads/2019/12/authentication.jpg 1167w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<p>Now you can easily create, manage &amp; configure datasources, deployments &amp; server respectively.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="1024" height="513" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/dashboard-hal-1024x513.jpg" alt="" class="wp-image-16572" srcset="https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-1024x513.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-300x150.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-768x385.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-696x349.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-1068x535.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal-838x420.jpg 838w, https://www.osradar.com/wp-content/uploads/2019/12/dashboard-hal.jpg 1096w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<h3><strong>Adding WildFly 18 to Eclipse IDE</strong></h3>



<p>Navigate to <strong>Help&gt;Install New software..&gt;</strong> Work with:</p>



<p>Add JBoss Tools Plugin</p>



<p>Name: <strong>JBoss Tools</strong></p>



<p>Location: <a href="http://download.jboss.org/jbosstools/photon/development/updates/">http://download.jboss.org/jbosstools/photon/development/updates/</a></p>



<p>Choose the feature you want to Install &amp; click <strong>finish</strong>.</p>



<p>After it, restart and click on the server tab.</p>



<p>First time it will be blank with a  link to create a new server. Click on the link and configure the server.</p>



<p>Choose WildFly 18 from the JBoss Community.</p>



<p>Click <strong>Next</strong>.</p>



<p>Set the Home directory of installed WildFly.</p>



<p>Click <strong>Finish</strong>.</p>



<h3><strong>Testing WildFly 18 to Eclipse IDE integration</strong></h3>



<p>For testing purposes create a simple project.</p>



<p>You&#8217;ll see that you&#8217;ve successfully created new project &amp; the server is ready to use from now on your upcoming projects.</p>



<p>If have any queries regarding this tutorial, feel free to ask in comment section!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-wildfly-18-0-1-final-connecting-to-eclipse-ide-on-ubuntu-19-04/">How To Install WildFly 18.0.1.Final &amp; Connecting to Eclipse IDE on 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/how-to-install-wildfly-18-0-1-final-connecting-to-eclipse-ide-on-ubuntu-19-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configure iSCSI Initiator on CentOS / RHEL 8.</title>
		<link>https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 19:35:14 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[install iscsi initiator on rhel]]></category>
		<category><![CDATA[iscsi initiator on centos 8]]></category>
		<category><![CDATA[RHEL 8]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15772</guid>

					<description><![CDATA[<p>We&#8217;ve cover the installation of iSCSI Target on CentOS 8 / RHEL 8 in our previous tutorial. In this tutorial we&#8217;ll cover the configuration of iSCSI Initiator on CentOS / RHEL 8. So follow these steps to get started. Step 1: Install iscsi-initiator-utils on CentOS / RHEL 8. sudo dnf -y install iscsi-initiator-utils Step 2: [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/">How To Configure iSCSI Initiator on CentOS / RHEL 8.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>We&#8217;ve cover the installation of iSCSI Target on CentOS 8 / RHEL 8 in our previous tutorial. In this tutorial we&#8217;ll cover the configuration of iSCSI Initiator on CentOS / RHEL 8. So follow these steps to get started.</p>



<h3><strong>Step 1: Install iscsi-initiator-utils on CentOS / RHEL 8.</strong></h3>



<pre class="wp-block-verse">sudo dnf -y install iscsi-initiator-utils</pre>



<h3><strong>Step 2: Configure Initiator Name</strong></h3>



<p>Edit the file <strong>/etc/iscsi/initiatorname.iscsi/</strong> and name it to match the target server name you&#8217;ve used.</p>



<pre class="wp-block-verse">sudo vi /etc/iscsi/initiatorname.iscsi</pre>



<pre class="wp-block-verse">InitiatorName=iqn.2019-11.com.osradar:initiator01</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="542" height="39" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/initiator-name.png" alt="" class="wp-image-15776" srcset="https://www.osradar.com/wp-content/uploads/2019/11/initiator-name.png 542w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-300x22.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-533x39.png 533w, https://www.osradar.com/wp-content/uploads/2019/11/initiator-name-534x39.png 534w" sizes="(max-width: 542px) 100vw, 542px" /></figure></div>



<h3><strong>Step 3: Configure Credentials</strong></h3>



<p>Open the following file to set up credential details.</p>



<pre class="wp-block-verse">sudo vi /etc/iscsi/iscsid.conf</pre>



<p>Note: Use the credentials as you&#8217;ve done in setting up target so they match.</p>



<pre class="wp-block-verse">Uncomment "node.session.auth.authmethod=CHAP"<br>Uncomment "node.session.auth.username" and set username as "Initiator01"<br>Uncomment "node.session.auth.password" and set it as you've setup in previous setup.</pre>



<h3><strong>Step 4: Testing iSCSI Target discovery</strong></h3>



<p>Run the following command to confirm that iSCSI can discover our installed iSCSI Target.</p>



<pre class="wp-block-verse">iscsiadm -m discovery -t sendtargets -p 172.17.52.184</pre>



<p>Note: Use your iSCSI target server IP.</p>



<p>If the IP info and access details is displayed we can say the discovery is successful.</p>



<h3><strong>Step 5: Confirm Target&#8217;s status</strong></h3>



<p>Run the given command to check the status.</p>



<pre class="wp-block-verse">iscsiadm -m node -o show</pre>



<pre class="wp-block-verse"># BEGIN RECORD 6.2.0.874-10  node.name = <a href="https://osradar.com">iqn.2019-11.osradar.com</a>:target01  node.tpgt = 1  node.startup = automatic  node.leading_login = No  iface.hwaddress =   iface.ipaddress =   iface.iscsi_ifacename = default  iface.net_ifacename =   iface.gateway =   iface.subnet_mask =   iface.transport_name = tcp  iface.initiatorname =   iface.state =   iface.vlan_id = 0  iface.vlan_priority = 0  iface.vlan_state =   iface.iface_num = 0  iface.mtu = 0  </pre>



<h3><strong>Step 6: Access iSCSI Target on CentOS / RHEL 8</strong></h3>



<p>Login to your account by typing this command , you will see a success message at the end.</p>



<pre class="wp-block-verse">iscsiadm -m node --login</pre>



<pre class="wp-block-verse">Logging in to<a href="https://www.osradar.com"> iface: default, target: iqn.2019-11.osradar.com:target01, portal: 172.17.255.109,</a>3260 Login to [iface: default, target: , portal: 172.17.255.109,3260] <br> <a href="https://www.osradar.com/">iqn.2019-11.osradar.com:target01</a> successful.</pre>



<p>Make sure you&#8217;re logged into your iSCSI Target Server.</p>



<pre class="wp-block-verse">iscsiadm -m session -o show</pre>



<pre class="wp-block-verse">tcp: [1] 172.17.255.109:3260,1 <a href="https://www.osradar.com" target="_blank" rel="noreferrer noopener" aria-label="iqn.2019-11.osradar.com:target01 (opens in a new tab)">iqn.2019-11.osradar.com:target01</a> (non-flash)</pre>



<p><strong>Check disks if you&#8217;ve added Target&#8217;s disk</strong></p>



<p>We&#8217;ve created backstore of 5GB space in our previous tutorial.</p>



<pre class="wp-block-verse">lsb1k</pre>



<p>Format &amp; mount the new disk to make it ready for use.</p>



<p>In this tutorial we&#8217;ll use fdisk to set up LVM type. You are free to use your desired one.</p>



<pre class="wp-block-verse">fdisk /dev/sdb</pre>



<p>Confirm the new partition number.</p>



<pre class="wp-block-verse">lsb1k</pre>



<p>Look at the new partition , we have sdb1 as seen below. Now, add a file system on the new partition.</p>



<pre class="wp-block-verse"> NAME            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT  fd0               2:0    1    4K  0 disk  sda               8:0    0   20G  0 disk  ├─sda1            8:1    0  953M  0 part /boot  └─sda2            8:2    0 19.1G  0 part    ├─centos-root 253:0    0    6G  0 lvm  /    ├─centos-swap 253:1    0  956M  0 lvm  [SWAP]    ├─centos-home 253:2    0  7.5G  0 lvm  /home    └─centos-var  253:3    0  4.7G  0 lvm  /var  sdb               8:16   0    5G  0 disk  <strong>└─sdb1            8:17   0    5G  0 part</strong> <strong>##sdb1 Added</strong>  sr0              11:0    1 1024M  0 rom </pre>



<p><strong>Set file system on the partition</strong></p>



<p>Here, we&#8217;ll use xfs. You can use any (ext3,ext4,Btrfs etc) to fit your case.</p>



<pre class="wp-block-verse">mkfs.xfs /dev/sdb1</pre>



<p><strong>Mount your partition and confirm</strong></p>



<pre class="wp-block-verse">mount /dev/sdb1/mnt</pre>



<pre class="wp-block-verse">df -TH</pre>



<p>Congratulations! You&#8217;ve all done. If have any queries regarding this tutorial, you can ask in comments.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/">How To Configure iSCSI Initiator on CentOS / RHEL 8.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Configure iSCSI Target and Initiator on CentOS 8 /RHEL 8</title>
		<link>https://www.osradar.com/how-to-configure-iscsi-target-and-initiator-on-centos-8-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-configure-iscsi-target-and-initiator-on-centos-8-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Wed, 20 Nov 2019 19:34:07 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[install iscsi centos 8]]></category>
		<category><![CDATA[install iscsi on rhel 8]]></category>
		<category><![CDATA[iscsi target on centos 8]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15619</guid>

					<description><![CDATA[<p>In this tutorial, we are going to configure iSCSI Target &#38; Initiator on CentOS 8 / RHEL 8 using single server as Target &#38; Initiator as shown in figure. Step 1: Update your System Type this command to update your system. sudo dnf update Step 2: SELinux is in Enforcing Mode Make sure your SELinux [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-target-and-initiator-on-centos-8-rhel-8/">How To Configure iSCSI Target and Initiator on CentOS 8 /RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>In this tutorial, we are going to configure iSCSI Target &amp; Initiator on CentOS 8 / RHEL 8 using single server as Target &amp; Initiator as shown in figure.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="1024" height="731" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/iscsi-step-1-1024x731.jpg" alt="" class="wp-image-15756" srcset="https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-1024x731.jpg 1024w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-300x214.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-768x549.jpg 768w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-100x70.jpg 100w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-696x497.jpg 696w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-1068x763.jpg 1068w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-588x420.jpg 588w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-step-1-1920x1371.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure></div>



<h3><strong>Step 1: Update your System</strong></h3>



<p>Type this command to update your system.</p>



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



<h3><strong>Step 2: SELinux is in Enforcing Mode</strong></h3>



<p>Make sure your SELinux status is working.</p>



<pre class="wp-block-verse">getenforce</pre>



<p>As it will cover configuration of SELinux, make sure it is running in enforcing mode.</p>



<h3><strong>Step 3: Install Targetcli on CentOS / RHEL 8</strong></h3>



<p>The package for iSCSI Target is available as targetcli on your CentOS / RHEL 8 default AppStrean repositories. You can isnstall it by runnign following command.</p>



<pre class="wp-block-verse">sudo dnf -y install targetcli</pre>



<h3><strong>Step 4: Check available space on your system</strong></h3>



<p>Before proceeding further make sure you&#8217;ve enough space available for allocation. It is recommended to set a different partition for easier way to manage without interfering with the core CentOS files and system.</p>



<pre class="wp-block-verse">df -hT</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="738" height="502" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/df-hT-command.png" alt="" class="wp-image-15757" srcset="https://www.osradar.com/wp-content/uploads/2019/11/df-hT-command.png 738w, https://www.osradar.com/wp-content/uploads/2019/11/df-hT-command-300x204.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/df-hT-command-696x473.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/df-hT-command-617x420.png 617w" sizes="(max-width: 738px) 100vw, 738px" /></figure></div>



<p>It would be more easy if you&#8217;ve a secondary disk on the server so use it if you&#8217;ve.</p>



<h3><strong>Step 5: Configure iSCSI Target on CentOS / RHEL 8.</strong></h3>



<p>Create a directory in your configured disks e.g; in <strong>/var/</strong> or a mount point for your secondary disk, or a raid device.</p>



<pre class="wp-block-verse">sudo mkdir /var/targetdisk01</pre>



<p>Now move towards to create our targets through targetcli admin console.</p>



<pre class="wp-block-verse">sudo su -<br>targetcli</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="432" height="127" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/targetcli.png" alt="" class="wp-image-15758" srcset="https://www.osradar.com/wp-content/uploads/2019/11/targetcli.png 432w, https://www.osradar.com/wp-content/uploads/2019/11/targetcli-300x88.png 300w" sizes="(max-width: 432px) 100vw, 432px" /></figure></div>



<p>List its contents to look over.</p>



<pre class="wp-block-verse">ls</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="432" height="127" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/targetcli-1.png" alt="" class="wp-image-15759" srcset="https://www.osradar.com/wp-content/uploads/2019/11/targetcli-1.png 432w, https://www.osradar.com/wp-content/uploads/2019/11/targetcli-1-300x88.png 300w" sizes="(max-width: 432px) 100vw, 432px" /></figure></div>



<p>After listing you will see that everything is empty. You will notice that the first thing in the content is the back-stores. </p>



<h6><strong>What are Backstores?</strong></h6>



<p>Backstores are for the purpose of providing different ways of  keeping data locally that can be later exported or made available to an external system such as an initiator. The available options for backstores are block, fileio,pscsi, and ramdisk.</p>



<p>Block backstore can be a Linux block device like hard drive. If you&#8217;ve disk in your target you can use this option. Fileio refered to a normal file on the file system that has been created with a predefined size. We will use this option in our set up. Genearally, a block backstore performs better than a single file.</p>



<h3><strong>Create a fileio backstore of 5GB.</strong></h3>



<p>Change path to <strong>backstores/fileio</strong> while on the targetcli console and create the backstore.</p>



<pre class="wp-block-verse">cd backstores/fileio</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="597" height="72" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/fileio.png" alt="" class="wp-image-15760" srcset="https://www.osradar.com/wp-content/uploads/2019/11/fileio.png 597w, https://www.osradar.com/wp-content/uploads/2019/11/fileio-300x36.png 300w" sizes="(max-width: 597px) 100vw, 597px" /></figure></div>



<p>Make sure it is created by listing the content.</p>



<pre class="wp-block-verse">ls</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="730" height="118" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/ls-fileio.png" alt="" class="wp-image-15761" srcset="https://www.osradar.com/wp-content/uploads/2019/11/ls-fileio.png 730w, https://www.osradar.com/wp-content/uploads/2019/11/ls-fileio-300x48.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/ls-fileio-696x113.png 696w" sizes="(max-width: 730px) 100vw, 730px" /></figure></div>



<h3><strong>Create the iSCSI Target</strong></h3>



<p>Move to the iSCSI path in your server for creating the iSCSI Target.</p>



<pre class="wp-block-verse">cd /iscsi</pre>



<p>As we are now inside iscsi path so it is possible to create the iscsi target with a name. The naming convention is standard and be like this.</p>



<pre class="wp-block-verse">[ iqn.(year)-(month).(reverse of domain name):(Your favourite name) ].</pre>



<p>Our domain is osradar.com, the reverse of it will be the com.osradar. You can select your desired domain according to this method. So, let&#8217;s create our first target.</p>



<pre class="wp-block-verse">create iqn.2019.11.osradar.com:iSCSITarget1</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="667" height="100" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/create-target.png" alt="" class="wp-image-15762" srcset="https://www.osradar.com/wp-content/uploads/2019/11/create-target.png 667w, https://www.osradar.com/wp-content/uploads/2019/11/create-target-300x45.png 300w" sizes="(max-width: 667px) 100vw, 667px" /></figure></div>



<p>Have a look at the changes by typing ls command.</p>



<pre class="wp-block-verse">ls</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="723" height="159" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/ls-target.png" alt="" class="wp-image-15763" srcset="https://www.osradar.com/wp-content/uploads/2019/11/ls-target.png 723w, https://www.osradar.com/wp-content/uploads/2019/11/ls-target-300x66.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/ls-target-696x153.png 696w" sizes="(max-width: 723px) 100vw, 723px" /></figure></div>



<h4><strong>Create a LUN</strong></h4>



<p>LUN is a logical unit of storage. A target can offer one or more LUNs to the iSCSI clients, who initiates a connection with the iSCSI server. Navigate to the option target portal group (TPG) we created earlier in the previous command. Notice &#8220;Created TPG 1&#8221; from above.</p>



<pre class="wp-block-verse">cd iqn.2019-11.osradar.com:target01/tpg1/luns</pre>



<p>Now create the LUN from the targetdisk1. Use your selected disk.</p>



<pre class="wp-block-verse">create /backstores/fileio/targetdisk1</pre>



<p>List content to verify.</p>



<pre class="wp-block-verse">ls</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="726" height="101" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/LUN-creation.png" alt="" class="wp-image-15765" srcset="https://www.osradar.com/wp-content/uploads/2019/11/LUN-creation.png 726w, https://www.osradar.com/wp-content/uploads/2019/11/LUN-creation-300x42.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/LUN-creation-696x97.png 696w" sizes="(max-width: 726px) 100vw, 726px" /></figure></div>



<h4><strong>Configur Access Control List (ACL)</strong></h4>



<p>ACL is used to connect only known initiators to our Target. Go to file <strong>/etc/iscsi/iniatorname.iscsi </strong>file on the client/initiator and check the name of initiator. You can use your own according to your requirements.</p>



<pre class="wp-block-verse">sudo vi /etc/iscsi/initiatorname.iscsi</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="614" height="100" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/acl.png" alt="" class="wp-image-15766" srcset="https://www.osradar.com/wp-content/uploads/2019/11/acl.png 614w, https://www.osradar.com/wp-content/uploads/2019/11/acl-300x49.png 300w" sizes="(max-width: 614px) 100vw, 614px" /></figure></div>



<p>While staying on the same path as above navigate to acls</p>



<pre class="wp-block-verse">cd acls</pre>



<p>Now run the following command with the iqn of the initiator in the acls path.</p>



<pre class="wp-block-verse">create iqn.2019-11.com.osradar:initiator1</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="681" height="76" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/acls-creation.png" alt="" class="wp-image-15767" srcset="https://www.osradar.com/wp-content/uploads/2019/11/acls-creation.png 681w, https://www.osradar.com/wp-content/uploads/2019/11/acls-creation-300x33.png 300w" sizes="(max-width: 681px) 100vw, 681px" /></figure></div>



<h3><strong>Set up Credential details</strong></h3>



<p>Set up username and password to authenticate the initiator while it sends a request to the target.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="721" height="141" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/credential-details.png" alt="" class="wp-image-15768" srcset="https://www.osradar.com/wp-content/uploads/2019/11/credential-details.png 721w, https://www.osradar.com/wp-content/uploads/2019/11/credential-details-300x59.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/credential-details-696x136.png 696w" sizes="(max-width: 721px) 100vw, 721px" /></figure></div>



<p>Make sure your settings are properly done by navigating to /iscsi and then save it by exiting.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="733" height="227" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/iscsi-final.png" alt="" class="wp-image-15769" srcset="https://www.osradar.com/wp-content/uploads/2019/11/iscsi-final.png 733w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-final-300x93.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/iscsi-final-696x216.png 696w" sizes="(max-width: 733px) 100vw, 733px" /></figure></div>



<p>Enable the target and allow firewall rules.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="740" height="277" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/relaod-.png" alt="" class="wp-image-15770" srcset="https://www.osradar.com/wp-content/uploads/2019/11/relaod-.png 740w, https://www.osradar.com/wp-content/uploads/2019/11/relaod--300x112.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/relaod--696x261.png 696w" sizes="(max-width: 740px) 100vw, 740px" /></figure></div>



<h3><strong>Step 6: Configure iSCSI Initiator</strong></h3>



<p>We have all done except configuring our initiator. Follow our following tutorial to learn configuring iSCSI initiator.</p>



<p><a href="https://www.osradar.com/how-to-configure-iscsi-initiator-on-centos-rhel-8/" target="_blank" rel="noreferrer noopener" aria-label="How To Configure iSCSI Initiator on CentOS / RHEL 8. (opens in a new tab)">How To Configure iSCSI Initiator on CentOS / RHEL 8.</a></p>



<p>Congratulations! You&#8217;ve all done if have any queries regarding this tutorial leave a comment.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-configure-iscsi-target-and-initiator-on-centos-8-rhel-8/">How To Configure iSCSI Target and Initiator on CentOS 8 /RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-configure-iscsi-target-and-initiator-on-centos-8-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Varnish cache 6 for Apache/Nginx on Centos / RHEL 8</title>
		<link>https://www.osradar.com/how-to-install-varnish-cache-6-for-apache-nginx-on-centos-rhel-8/</link>
					<comments>https://www.osradar.com/how-to-install-varnish-cache-6-for-apache-nginx-on-centos-rhel-8/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 15 Nov 2019 08:33:21 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Centos 8]]></category>
		<category><![CDATA[Install Varnish]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Varnish Cache on CentOS 8]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=15600</guid>

					<description><![CDATA[<p>What is Varnish Cache? As you know about Cache, it enhances the loading speed by saving web pages, cookies and other data. It saves into memory the requested data and provide faster results. Because of its faster response, it is also used in Linux like Centos to provide faster results. It is also called caching [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-varnish-cache-6-for-apache-nginx-on-centos-rhel-8/">How to Install Varnish cache 6 for Apache/Nginx on Centos / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h3><strong>What is Varnish Cache?</strong></h3>



<p>As you know about Cache, it enhances the loading speed by saving web pages, cookies and other data. It saves into memory the requested data and provide faster results. Because of its faster response, it is also used in Linux like Centos to provide faster results. It is also called <strong>caching HTTP reverse proxy</strong> which is a leading web application accelerator, capturing the visits and boost upon delivery on again request. It saves the web servers time by providing them the same data as saved earlier. Hence, in this tutorial we are going to learn how you can install and configure Varnish Cache 6 on CentOS 8 / RHEL 8.</p>



<h3><strong>Step 1: Update System</strong></h3>



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



<pre class="wp-block-verse">sudo dnf -y update</pre>



<h3><strong>Step 2: Install Varnish Cache 6 on CentOS 8 / RHEL 8</strong></h3>



<p>You can use the following command to install varnish cache on CentOS / RHEL 8.</p>



<pre class="wp-block-verse">sudo dnf install @varnish</pre>



<p>Allow to continue with the installation process by pressing y key.</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="734" height="499" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/varnish-install-alert.png" alt="" class="wp-image-15601" srcset="https://www.osradar.com/wp-content/uploads/2019/11/varnish-install-alert.png 734w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-install-alert-300x204.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-install-alert-696x473.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-install-alert-618x420.png 618w" sizes="(max-width: 734px) 100vw, 734px" /></figure></div>



<p>If you want to see more information on installed package you can type the following command.</p>



<pre class="wp-block-verse">rpm -qi varnish</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="732" height="501" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/rpm-qi-varnish.png" alt="" class="wp-image-15602" srcset="https://www.osradar.com/wp-content/uploads/2019/11/rpm-qi-varnish.png 732w, https://www.osradar.com/wp-content/uploads/2019/11/rpm-qi-varnish-300x205.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/rpm-qi-varnish-218x150.png 218w, https://www.osradar.com/wp-content/uploads/2019/11/rpm-qi-varnish-696x476.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/rpm-qi-varnish-614x420.png 614w" sizes="(max-width: 732px) 100vw, 732px" /></figure></div>



<p><strong>Important things to Remember:</strong></p>



<ul><li>Main configuration file of Varnish can be found in <strong>/etc/varnish/default.vcl</strong></li><li>Secret file of Varnish is in<strong> /etc/varnish/secret</strong></li><li>Cashe executable binary is found in<strong> /usr/sbin/varnishd</strong></li><li>Systemd unit file is in <strong>/lib/systemd/system/varnish.service</strong></li></ul>



<h3><strong>Step 3: Start and Enable Varnish Cache Services</strong></h3>



<p>Use the following command to start &amp; enable Varnish Cache services.</p>



<pre class="wp-block-verse">sudo systemctl enable --now varnish</pre>



<p>Make sure status is working properly</p>



<pre class="wp-block-verse">systemctl status varnish</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="735" height="493" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/varnish-status.png" alt="" class="wp-image-15603" srcset="https://www.osradar.com/wp-content/uploads/2019/11/varnish-status.png 735w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-status-300x201.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-status-696x467.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-status-626x420.png 626w" sizes="(max-width: 735px) 100vw, 735px" /></figure></div>



<h3><strong>Step 4: Configure Varnish Cache for Nginx/Apache Web Server</strong></h3>



<p>As Varnish sits in front of a web server as a caching HTTP Reverse Proxy, so it speeds up web servers.<br>
In this tutorial we are using Nginx/Apache HTTPD server but you can use your favourite one.</p>



<p>For Apache</p>



<pre class="wp-block-verse">sudo dnf -y install @httpd</pre>



<p>For Nginx</p>



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



<h5>1. <strong>Configure Nginx with Varnish</strong></h5>



<p>By default, TCP port 80 is being used by Nginx, change it to listen to 8080 port because Varnish Cache will use port 80.</p>



<pre class="wp-block-verse">sudo vi /etc/nginx/nginx.conf</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="675" height="122" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/listen-port-nginx.png" alt="" class="wp-image-15605" srcset="https://www.osradar.com/wp-content/uploads/2019/11/listen-port-nginx.png 675w, https://www.osradar.com/wp-content/uploads/2019/11/listen-port-nginx-300x54.png 300w" sizes="(max-width: 675px) 100vw, 675px" /></figure></div>



<p>For Virtual Hosting feature, edit the relevant confiuguration file,</p>



<pre class="wp-block-verse">sudo vi /etc/nginx/conf.d/mysite.conf</pre>



<p>After it, restart Nginx</p>



<p>sudo systemctl restart nginx</p>



<p>Double-check your settings</p>



<pre class="wp-block-verse">ss -tunelp | grep 8080</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="725" height="216" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/settings-nginx.png" alt="" class="wp-image-15606" srcset="https://www.osradar.com/wp-content/uploads/2019/11/settings-nginx.png 725w, https://www.osradar.com/wp-content/uploads/2019/11/settings-nginx-300x89.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/settings-nginx-696x207.png 696w" sizes="(max-width: 725px) 100vw, 725px" /></figure></div>



<h5>2.<strong> Configure Apache with Varnish</strong></h5>



<p>For Apache web server, make sure to set listen port to 8080.</p>



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



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="724" height="511" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/apache-listen-port.png" alt="" class="wp-image-15608" srcset="https://www.osradar.com/wp-content/uploads/2019/11/apache-listen-port.png 724w, https://www.osradar.com/wp-content/uploads/2019/11/apache-listen-port-300x212.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/apache-listen-port-100x70.png 100w, https://www.osradar.com/wp-content/uploads/2019/11/apache-listen-port-696x491.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/apache-listen-port-595x420.png 595w" sizes="(max-width: 724px) 100vw, 724px" /></figure></div>



<p>After it, restart Apache.</p>



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



<h5>3. <strong>Configure Varnish Cache Server</strong></h5>



<p>Set Listen port for Varnish Cache to 80.</p>



<pre class="wp-block-verse">sudo vi /etc/systemd/system/multi-user.target.wants/varnish.service</pre>



<p>Edit the line starting with <strong>ExecStar</strong>t, and change from:</p>



<pre class="wp-block-verse">ExectStart=/usr/sbin/varnishd -a :6081 -f /etc/varnish/default.vcl -s malloc,256m</pre>



<p>To:</p>



<pre class="wp-block-verse">ExectStart=/usr/sbin/varnishd -a :80 -f /etc/varnish/default.vcl -s malloc,256m</pre>



<p>Now, restart Varnish systemd services.</p>



<pre class="wp-block-verse">sudo systemctl daemon-reload<br>sudo systemctl restart varnish</pre>



<p>Make sure that Varnish is listening the correct port.</p>



<pre class="wp-block-verse">sudo systemctl status varnish</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="733" height="499" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/varnish-staus-after-restart.png" alt="" class="wp-image-15609" srcset="https://www.osradar.com/wp-content/uploads/2019/11/varnish-staus-after-restart.png 733w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-staus-after-restart-300x204.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-staus-after-restart-696x474.png 696w, https://www.osradar.com/wp-content/uploads/2019/11/varnish-staus-after-restart-617x420.png 617w" sizes="(max-width: 733px) 100vw, 733px" /></figure></div>



<p>Also make sure that Nginx/Apache server is configured as a back-end server for Varnish proxy.</p>



<pre class="wp-block-verse">sudo vi /etc/varnish/default.vcl</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="653" height="122" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/default-backend-server.png" alt="" class="wp-image-15610" srcset="https://www.osradar.com/wp-content/uploads/2019/11/default-backend-server.png 653w, https://www.osradar.com/wp-content/uploads/2019/11/default-backend-server-300x56.png 300w" sizes="(max-width: 653px) 100vw, 653px" /></figure></div>



<p>Look port<strong> 8080</strong> is configured on Apache/Nginx web server.</p>



<p>Your configuration will look like this for multiple back-ends,</p>



<pre class="wp-block-verse">backend default {<br>     .host = "127.0.0.1";<br>     .port = "8080";<br> }<br>backend java {<br>     .host = "127.0.0.1";<br>     .port = "8000";<br> } </pre>



<p>But we&#8217;ll need to tell Varnish to where send the difference URL using vcl_recv. For example our java application should handle URL beginning with <strong>/java/</strong></p>



<pre class="wp-block-verse">sub vcl_recv {<br>     if (req.url ~ "^/java/") {<br>         set req.backend_hint = java;<br>     } else {<br>         set req.backend_hint = default;<br>     }<br> }</pre>



<p>You can see more ones on using<a rel="noreferrer noopener" aria-label="You can see more ones on using Multiple backends. (opens in a new tab)" href="https://varnish-cache.org/docs/trunk/users-guide/vcl-backends.html" target="_blank"> Multiple backends.</a></p>



<h3><strong>Step 5: Testing Varnish Cache on Nginx/Apache</strong></h3>



<p>After all, verify Varnish Cache working by testing it with Apache/Nginx service with the curl command:</p>



<pre class="wp-block-verse">curl -I http://localhost</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="734" height="353" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/Curl-localhost.png" alt="" class="wp-image-15612" srcset="https://www.osradar.com/wp-content/uploads/2019/11/Curl-localhost.png 734w, https://www.osradar.com/wp-content/uploads/2019/11/Curl-localhost-300x144.png 300w, https://www.osradar.com/wp-content/uploads/2019/11/Curl-localhost-696x335.png 696w" sizes="(max-width: 734px) 100vw, 734px" /></figure></div>



<p>It will provide you HTTP header information.</p>



<p>If you run this command again, it will show you that <strong>Varnish Cached Response</strong> (Note that <strong>Age</strong> header):</p>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="653" height="248" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/curl-again.png" alt="" class="wp-image-15613" srcset="https://www.osradar.com/wp-content/uploads/2019/11/curl-again.png 653w, https://www.osradar.com/wp-content/uploads/2019/11/curl-again-300x114.png 300w" sizes="(max-width: 653px) 100vw, 653px" /></figure></div>



<p>This will work same for other valid domain names with DNS record set.</p>



<pre class="wp-block-verse">curl -I https://osradar.com</pre>



<div class="wp-block-image"><figure class="aligncenter"><img loading="lazy" width="526" height="115" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/11/osradar.com_.png" alt="" class="wp-image-15614" srcset="https://www.osradar.com/wp-content/uploads/2019/11/osradar.com_.png 526w, https://www.osradar.com/wp-content/uploads/2019/11/osradar.com_-300x66.png 300w" sizes="(max-width: 526px) 100vw, 526px" /></figure></div>



<p>We&#8217;ve installed &amp; configured Varnish Cache on CentOS 8 / RHEL 8 for Nginx and Apache Web Server.</p>



<p>Visit the <a href="https://www.varnish-software.com/wiki/start/index.html">Varnish Getting Started </a>and <a href="https://varnish-cache.org/docs/trunk/users-guide/index.html#users-guide-index">The Varnish Users Guide</a> pages to learn more about configuring &amp; optimizing Varnish.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-varnish-cache-6-for-apache-nginx-on-centos-rhel-8/">How to Install Varnish cache 6 for Apache/Nginx on Centos / RHEL 8</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-varnish-cache-6-for-apache-nginx-on-centos-rhel-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
