<?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>ubuntu 18.04 Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/ubuntu-18-04/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Sun, 15 Mar 2020 16:45:21 +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>Learn how to install and use bash in Windows 10</title>
		<link>https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/</link>
					<comments>https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Sun, 15 Mar 2020 16:45:21 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<category><![CDATA[ubuntu on windows]]></category>
		<category><![CDATA[windows subsystem for linux]]></category>
		<category><![CDATA[WSL]]></category>
		<guid isPermaLink="false">https://windowsmen.com/?p=994</guid>

					<description><![CDATA[<p>Hi. Bash on Windows 10? Doesn&#8217;t sound coherent, does it? The truth is I talk about bash, immediately Linux comes to mind. In fact, it&#8217;s a Unix shell developed by Brian Fox and adopted by default in most Linux and macOS distributions. Moreover, it is a computer program whose function is to interpret commands. It [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/">Learn how to install and use bash in Windows 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>Hi. Bash on Windows 10? Doesn&#8217;t sound coherent, does it? The truth is I talk about bash, immediately Linux comes to mind. In fact, it&#8217;s a Unix <a rel="noreferrer noopener" aria-label="shel (opens in a new tab)" href="http://linuxcommand.org/lc3_lts0010.php" target="_blank">shel</a>l developed by Brian Fox and adopted by default in most <a rel="noreferrer noopener" aria-label="Linux  (opens in a new tab)" href="https://www.linux.com/what-is-linux/" target="_blank">Linux </a>and macOS distributions. Moreover, it is a computer program whose function is to interpret commands. It was written for the GNU project and is POSIX compatible. Under those circumstances, it is logical to think that this program is exclusive to Linux-based distributions. However, for some time now Microsoft has been flirting with GNU and what Linux stands for. In fact, since some time ago, Microsoft offers the Windows for Linux (WSL) subsystem. This innovation of Windows allows the user to have contact with the Linux system, without having to leave the primary system. Well, in this post we will see how to install and use bash in Windows 10.</p>



<h2>How to enable the Windows Subsystem for Linux</h2>



<p>WSL is a feature that allows Windows 10 users to use the Bash of the available Linux distribution. In addition, WSL provides a Linux-compatible kernel interface developed by Microsoft. Also, we can have the typical Linux directories like <em>Home</em> or <em>Bin</em> in Windows and the Windows directories in Linux bash. But maybe the most relevant aspect is to be able to use Bash commands inside Windows without the need to resort to a virtual machine. Well, let&#8217;s see how to enable this system. In the first place, follow this path to enter the optional features of Windows. <strong>Control Panel&gt;Programs&gt;Turn windows features on or off</strong></p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl-1024x548.png" alt="Enter the optional features of Windows" class="wp-image-1011"/><figcaption>Enter the optional features of Windows</figcaption></figure>



<p>In the box below, scroll down to find Windows Subsystem for Linux. Please check the appropriate box.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wls2.png" alt="" class="wp-image-1013"/><figcaption>Check the box to install WSL</figcaption></figure>



<p>Wait a few seconds while the features are installed. Then restart the computer to confirm the changes.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl6.png" alt="After the changes are made, please restart the computer." class="wp-image-1014"/><figcaption>After the changes are made, please restart the computer.</figcaption></figure>



<h2>Download and Install Ubuntu 18.04 LTS</h2>



<p>Once the configuration is enabled, just go to the Windows Store and download the available distro. At the moment the following options are ready for download: Ubuntu, Kali, Open Suse Leap 15-1, Debian and Alpine WSL. Undoubtedly in the future more will be added. Well, this time we will use Ubuntu 18.04 LTS. You can download it from this <a rel="noreferrer noopener" aria-label="link (opens in a new tab)" href="https://www.microsoft.com/en-us/p/ubuntu-1804-lts/9n9tngvndl3q?activetab=pivot:overviewtab" target="_blank">link</a>. Press Get and wait while the program downloads.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl3-1024x548.png" alt="" class="wp-image-1016"/></figure>



<p>Once the download is complete, you can launch the program from the same store. Or you can also type Ubuntu from the Windows search engine. Please wait a few moments while the installation is completed. Then assign any user name and add a password.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl4.png" alt="Add a username and password to complete the installation." class="wp-image-1020"/><figcaption>Add a username and password to complete the installation.</figcaption></figure>



<h2>Using Ubuntu for the first time</h2>



<p>Once the preparations have been made, it&#8217;s time to test the operation of Ubuntu. With this intention, update the list of packages in the repositories by running the following command:</p>



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



<p>Then type the password and press enter. Immediately the ubuntu bash will start working.</p>



<figure class="wp-block-image size-large"><img src="https://windowsmen.com/wp-content/uploads/2020/03/wsl5-1024x548.png" alt="Updating repository packages" class="wp-image-1022"/><figcaption>Updating repository packages</figcaption></figure>



<p> Well, finally we&#8217;ve seen how to install and use bash in Windows 10. From this moment on, just type Ubuntu in the search bar to launch the app. Before I say goodbye, I invite you to see our post about Microsoft employees infected with <a rel="noreferrer noopener" aria-label="COVID-19 (opens in a new tab)" href="https://windowsmen.com/microsoft-employees-affected-by-covid-19/" target="_blank">COVID-19</a>. Bye</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/learn-how-to-install-and-use-bash-in-windows-10/">Learn how to install and use bash in Windows 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/learn-how-to-install-and-use-bash-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Zimbra Firewall Configuration with ufw for Ubuntu</title>
		<link>https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/</link>
					<comments>https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 07 Jan 2020 12:31:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[firewall with ufw]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<category><![CDATA[Zimbra firewall configuration]]></category>
		<category><![CDATA[Zimbra firewall configuration with ufw for ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17426</guid>

					<description><![CDATA[<p>Previously we had cover the Installation of Zimbra Collaboration on Ubuntu 18.04. Today, we will go through the Firewall configuration with ufw for Ubuntu 18.04. Installing UFW on Ubuntu Install the UFW on Ubuntu by executing the command as sudo apt-get update &#38;&#38; sudo apt-get -y install ufw Configure Zimbra Firewall usign UFW Because of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/">Zimbra Firewall Configuration with ufw for Ubuntu</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Previously we had cover the Installation of <a href="https://www.osradar.com/?p=17190">Zimbra Collaboration on Ubuntu 18.04</a>. Today, we will go through the Firewall configuration with ufw for Ubuntu 18.04.</p>



<h3><strong>Installing UFW on Ubuntu</strong></h3>



<p>Install the UFW on Ubuntu by executing the command as</p>



<pre class="wp-block-verse">sudo apt-get update &amp;&amp; sudo apt-get -y install ufw</pre>



<h3><strong>Configure Zimbra Firewall usign UFW</strong></h3>



<p>Because of recent Memcache amplification attacks for UDP ports, we won&#8217;t enable udp port as it will cause serious problems. Due to this reason we will use only tcp ports which is protected from these.</p>



<p>Because we need an application profile for UFW, so let&#8217;s create this profile as:</p>



<pre class="wp-block-verse">sudo nano /etc/ufw/application.d/zimbra</pre>



<p>Then add the following lines</p>



<pre class="wp-block-verse">[Zimbra]<br> title=Zimbra Collaboration Server<br> description=Open source server for email, contacts, calendar, and more.<br> ports=22,25,80,110,143,161,389,443,465,514,587,993,995,7071,8443,11211/tcp</pre>



<p>After that enable app profile on ufw</p>



<pre class="wp-block-verse">sudo ufw allow Zimbra<br>sudo ufw enable</pre>



<p>Then add ssh port as</p>



<pre class="wp-block-verse">sudo ufw allow ssh</pre>



<p>To make any changes to the Zimbra profile, update it using:</p>



<pre class="wp-block-verse">$ sudo ufw app update Zimbra<br> Rules updated for profile 'Zimbra'<br> Skipped reloading firewall</pre>



<p>Because for a single server installation, Memcache is not used outside the local server, consider binding it to the loopback ip address. So, use the commands:</p>



<pre class="wp-block-verse">sudo su - zimbra<br> zmprov ms zmhostname zimbraMemcachedBindAddress 127.0.0.1 <br> zmprov ms zmhostname zimbraMemcachedClientServerList 127.0.0.1</pre>



<p>Then restart Memcache services.</p>



<pre class="wp-block-verse">sudo su - zimbra -c "zmmemcachedctl restart"</pre>



<h3><strong>Restricting Access to Admin dashboard</strong></h3>



<p>As it is a good practice to always restrict access to port 7071 to a trusted network or IP, so do it by typing:</p>



<pre class="wp-block-verse">$ sudo ufw allow from 192.168.1.10 to any port 7071<br> $ sudo ufw allow from 192.168.1.0/24 to any port 7071</pre>



<p>So, this is how you can configure your Zimbra Server with firewall using ufw on Ubuntu 18.04 LTS.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/zimbra-firewall-configuration-with-ufw-for-ubuntu/">Zimbra Firewall Configuration with ufw for Ubuntu</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/zimbra-firewall-configuration-with-ufw-for-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Zimbra Collaboration on Ubuntu 18.04 LTS</title>
		<link>https://www.osradar.com/how-to-install-zimbra-collaboration-on-ubuntu-18-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-zimbra-collaboration-on-ubuntu-18-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Tue, 07 Jan 2020 12:29:58 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install Zimbra]]></category>
		<category><![CDATA[Install Zimbra Collaboration on Ubuntu 18.04]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<category><![CDATA[Zimbra collaboration on ubuntu]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17190</guid>

					<description><![CDATA[<p>Zimbra Desktop is a powerful Desktop email client which allow you sync and store your emails, contacts, files, documents, calendar between the mail server and your local server making them locally accessible when working offline. Zimbra Desktop automatically initiates sync b/w the server &#38; your computer on start. Mail server can be local in your [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-zimbra-collaboration-on-ubuntu-18-04-lts/">How To Install Zimbra Collaboration on Ubuntu 18.04 LTS</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Zimbra Desktop is a powerful Desktop email client which allow you sync and store your emails, contacts, files, documents, calendar between the mail server and your local server making them locally accessible when working offline. Zimbra Desktop automatically initiates sync b/w the server &amp; your computer on start. Mail server can be local in your network or a server in the Cloud. Among the email services, you can connect to using Zimbra Desktop are Zimbra mail, Yahoo mail, Microsoft Outlook, Gmail and any other personal email account that uses IMAP or POP.</p>



<h3><strong>Pre-Requisite</strong></h3>



<ul><li>Installed Ubuntu 18.04 server</li><li>Have ssh access to the user – user with sudo privileges</li><li>DNS server – Dnsmasq should be fine</li></ul>



<p>To support up to 50 users, follow the below recommended settings.</p>



<ul><li>4 vCPU or more depending on your available resources</li><li>8 GB RAM or more</li><li>50 GB available disk space</li><li>DNS Server</li></ul>



<p>Then move towards the steps to cover the Installation of Zimbra Collaboration Server on Ubuntu 18.04</p>



<h3><strong>Step 1: Install and Configure Dnsmasq</strong></h3>



<p>First of all Install Dnsmasq server and then configure it to proceed further. To Install &amp; configure Dnsmasq on Ubuntu 18.04 LTS <a href="https://www.osradar.com/?p=17421">click here.</a></p>



<p>After it , set up Zimbra Domain, DNS server forwarder, and MX records.</p>



<pre class="wp-block-verse">$ sudo vim /etc/dnsmasq.conf<br>
server=8.8.8.8<br>
listen-address=127.0.0.1<br>
domain=example.com   # Define domain<br>
mx-host=example.com,mail.example.com,0  # Set MX record for the domain, preference is 0<br>
address=/mail.example.com/62.15.116.167 # Send example.com to 62.15.116.167</pre>



<p>Set hostname of server.</p>



<pre class="wp-block-verse">sudo hostnamectl set-hostname mail.example.com</pre>



<p>Now, add server name &amp; IP address to <strong>/etc/hosts</strong> file</p>



<pre class="wp-block-verse">echo "62.15.116.167 mail.example.com" | sudo tee -a /etc/hosts</pre>



<p>Restart dnsmasq services.</p>



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



<p>Test an A record of Zimbra Server</p>



<pre class="wp-block-verse">$ dig A zimbra.osradar.com<br>  ; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.3-Ubuntu &lt;&lt;&gt;&gt; A zimbra.osradar.com @127.0.0.1<br>  ;; global options: +cmd<br>  ;; Got answer:<br>  ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 14888<br>  ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1<br>  ;; OPT PSEUDOSECTION:<br>  ; EDNS: version: 0, flags:; udp: 4096<br>  ;; QUESTION SECTION:<br>  ;zimbra.osradar.com.    IN  A<br>  ;; ANSWER SECTION:<br>  zimbra.osradar.com 0    IN  A   62.15.116.167<br>  ;; Query time: 0 msec<br>  ;; SERVER: 127.0.0.1#53(127.0.0.1)<br>  ;; WHEN: Mon Dec 31 21:58:39 CEST 2019<br>  ;; MSG SIZE  rcvd: 73</pre>



<p>Query for MX record of your domain. Should return Zimba Server IP.</p>



<pre class="wp-block-verse">$ dig MX osradar.com<br>  ; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.3-Ubuntu &lt;&lt;&gt;&gt; MX zimbra.osradar.com @127.0.0.1<br>  ;; global options: +cmd<br>  ;; Got answer:<br>  ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 25343<br>  ;; flags: qr aa rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 2<br>  ;; OPT PSEUDOSECTION:<br>  ; EDNS: version: 0, flags:; udp: 4096<br>  ;; QUESTION SECTION:<br>  ;zimbra.osradar.com.    IN  MX<br>  ;; ANSWER SECTION:<br>  zimbra.osradar.com. 0    IN  MX  0 zimbra.osradar.com.<br>  ;; ADDITIONAL SECTION:<br>  zimbra.osradar.com. 0    IN  A   62.15.116.167<br>  ;; SERVER: 127.0.0.1#53(127.0.0.1)<br>  ;; WHEN: Mon Dec 31 21:59:40 CEST 2019<br>  ;; MSG SIZE  rcvd: 117</pre>



<p>See that we have both A record &amp; MX, let&#8217;s begin the installation.</p>



<h3><strong>Step 2: Download Zimbra Collaboration Open source Edition</strong></h3>



<p>As the latest release of Zimbra is 8.8.15. Let&#8217;s download the file to the local server.</p>



<pre class="wp-block-verse">wget https://files.zimbra.com/downloads/8.8.15_GA/zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz</pre>



<p>Then extract files</p>



<pre class="wp-block-verse">tar xvf zcs-8.8.15_GA_3869.UBUNTU18_64.20190918004220.tgz</pre>



<p>Now, move to zcs.* directory</p>



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



<h3><strong>Step 3: Install Zimbra Collaboration on Ubuntu 18.04 LTS</strong></h3>



<p>Now, you are ready to start the installation of Zimbra Collaboration on Ubuntu 18.04 LTS. Run the installer script &#8211; This is an all in one server installation.</p>



<pre class="wp-block-verse">sudo ./install.sh<br> Operations logged to /tmp/install.log.DM7y8xw8<br> Checking for existing installation…<br>     zimbra-drive…NOT FOUND<br>     zimbra-imapd…NOT FOUND<br>     zimbra-patch…NOT FOUND<br>     zimbra-mta-patch…NOT FOUND<br>     zimbra-proxy-patch…NOT FOUND<br>     zimbra-license-tools…NOT FOUND<br>     zimbra-license-extension…NOT FOUND<br>     zimbra-network-store…NOT FOUND<br>     zimbra-network-modules-ng…NOT FOUND<br>     zimbra-chat…NOT FOUND<br>     zimbra-talk…NOT FOUND<br>     zimbra-ldap…NOT FOUND<br>     zimbra-logger…NOT FOUND<br>     zimbra-mta…NOT FOUND<br>     zimbra-dnscache…NOT FOUND<br>     zimbra-snmp…NOT FOUND<br>     zimbra-store…NOT FOUND<br>     zimbra-apache…NOT FOUND<br>     zimbra-spell…NOT FOUND<br>     zimbra-convertd…NOT FOUND<br>     zimbra-memcached…NOT FOUND<br>     zimbra-proxy…NOT FOUND<br>     zimbra-archiving…NOT FOUND<br>     zimbra-core…NOT FOUND<br> <br> PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.<br> SYNACOR, INC. ("SYNACOR") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU<br> FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING<br> THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY<br> THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS<br> AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.<br> License Terms for this Zimbra Collaboration Suite Software:<br> https://www.zimbra.com/license/zimbra-public-eula-2-6.html</pre>



<p>Press Y when prompt for License terms &amp; start the installation.</p>



<pre class="wp-block-verse">Do you agree with the terms of the software license agreement? [N] Y</pre>



<p>Then agree to use the Zimbra package repository.</p>



<pre class="wp-block-verse">Use Zimbra's package repository [Y] Y<br> Warning: apt-key output should not be parsed (stdout is not a terminal)<br> Importing Zimbra GPG key<br> Configuring package repository<br> Checking for installable packages<br> Found zimbra-core (local)<br> Found zimbra-ldap (local)<br> Found zimbra-logger (local)<br> Found zimbra-mta (local)<br> Found zimbra-dnscache (local)<br> Found zimbra-snmp (local)<br> Found zimbra-store (local)<br> Found zimbra-apache (local)<br> Found zimbra-spell (local)<br> Found zimbra-memcached (repo)<br> Found zimbra-proxy (local)<br> Found zimbra-drive (repo)<br> Found zimbra-imapd (local)<br> Found zimbra-patch (repo)<br> Found zimbra-mta-patch (repo)<br> Found zimbra-proxy-patch (repo)</pre>



<p>Select the packages to install</p>



<pre class="wp-block-verse">Install zimbra-ldap [Y]<br> Install zimbra-logger [Y]<br> Install zimbra-mta [Y] <br> Install zimbra-dnscache [Y] <br> Install zimbra-snmp [Y] <br> Install zimbra-store [Y] <br> Install zimbra-apache [Y] <br> Install zimbra-spell [Y] <br> Install zimbra-memcached [Y] <br> Install zimbra-proxy [Y] <br> Install zimbra-drive [Y] <br> Install zimbra-imapd (BETA - for evaluation only) [N] <br> Install zimbra-chat [Y] <br> Checking required space for zimbra-core<br> Checking space for zimbra-store<br> Checking required packages for zimbra-store<br> zimbra-store package check complete.<br> Installing:<br>     zimbra-core<br>     zimbra-ldap<br>     zimbra-logger<br>     zimbra-mta<br>     zimbra-dnscache<br>     zimbra-snmp<br>     zimbra-store<br>     zimbra-apache<br>     zimbra-spell<br>     zimbra-memcached<br>     zimbra-proxy<br>     zimbra-drive<br>     zimbra-patch<br>     zimbra-mta-patch<br>     zimbra-proxy-patch<br>     zimbra-chat</pre>



<p>Agree to system modification</p>



<pre class="wp-block-verse">The system will be modified.  Continue? [N] Y</pre>



<p>Select the packages to be download &amp; Installation will started.</p>



<pre class="wp-block-verse">Downloading packages (12):<br>    zimbra-core-components<br>    zimbra-ldap-components<br>    zimbra-mta-components<br>    zimbra-dnscache-components<br>    zimbra-snmp-components<br>    zimbra-store-components<br>    zimbra-jetty-distribution<br>    zimbra-apache-components<br>    zimbra-spell-components<br>    zimbra-memcached<br>    zimbra-proxy-components<br>    zimbra-mta-patch<br>      …done<br> Removing /opt/zimbra<br> Removing zimbra crontab entry…done.<br> Cleaning up zimbra init scripts…done.<br> Cleaning up /etc/security/limits.conf…done.<br> Finished removing Zimbra Collaboration Server.<br> Installing repo packages (12):<br>    zimbra-core-components<br>    zimbra-ldap-components<br>    zimbra-mta-components<br>    zimbra-dnscache-components<br>    zimbra-snmp-components<br>    zimbra-store-components<br>    zimbra-jetty-distribution<br>    zimbra-apache-components<br>    zimbra-spell-components<br>    zimbra-memcached<br>    zimbra-proxy-components<br>    zimbra-mta-patch<br>       …</pre>



<p><strong>Set up Admin account password </strong></p>



<pre class="wp-block-verse">7) zimbra-store:                            Enabled                       <br>         +Create Admin User:                    yes                           <br>         +Admin user to create:                 admin@zimbra.osradar.com<br> <strong><em>*</em></strong> +Admin Password                        UNSET                         <br>         +Anti-virus quarantine user:           virus-quarantine.pynmkvgruh@zimbra.osradar.com<br>         +Enable automated spam training:       yes                           <br>         +Spam training user:                   spam.ab7ufdyr@zimbra.osradar.com<br>         +Non-spam(Ham) training user:          ham.l4s_ar23@zimbra.osradar.com<br>         +SMTP host:                            zimbra.osradar.com  <br>         +Web server HTTP port:                 8080                          <br>         +Web server HTTPS port:                8443                          <br>         +Web server mode:                      https                         <br>         +IMAP server port:                     7143                          <br>         +IMAP server SSL port:                 7993                          <br>         +POP server port:                      7110                          <br>         +POP server SSL port:                  7995                          <br>         +Use spell check server:               yes                           <br>         +Spell server URL:                     http://zimbra.osradar.com:7780/aspell.php<br>         +Enable version update checks:         TRUE                          <br>         +Enable version update notifications:  TRUE                          <br>         +Version update notification email:    admin@zimbra.osradar.com<br>         +Version update source email:          admin@zimbra.osradar.com<br>         +Install mailstore (service webapp):   yes                           <br>         +Install UI (zimbra,zimbraAdmin webapps): yes <br> …..<br> Password for admin@zimbra.osradar.com (min 6 characters): [8441mra12P]                         </pre>



<p>Complete configuration &amp; apply</p>



<pre class="wp-block-verse">Main menu<br>  1) Common Configuration:                                                  <br>     2) zimbra-ldap:                             Enabled                       <br>     3) zimbra-logger:                           Enabled                       <br>     4) zimbra-mta:                              Enabled                       <br>     5) zimbra-dnscache:                         Enabled                       <br>     6) zimbra-snmp:                             Enabled                       <br>     7) zimbra-store:                            Enabled                       <br>     8) zimbra-spell:                            Enabled                       <br>     9) zimbra-proxy:                            Enabled                       <br>    10) Default Class of Service Configuration:                                <br>     s) Save config to file                                                    <br>     x) Expand menu                                                            <br>     q) Quit                                    <br>  *** CONFIGURATION COMPLETE - press 'a' to apply<br>  Select from menu, or press 'a' to apply config (? - help) a<br>  Save configuration data to a file? [Yes]   <br>  Save config in file: [/opt/zimbra/config.24171] <br>  Saving config in /opt/zimbra/config.24171…done.<br>  The system will be modified - continue? [No] Yes</pre>



<p>The installer script will start to configure Zimbra Server. When done you should get output like below:</p>



<pre class="wp-block-verse">Starting servers…done.<br> Installing common zimlets…<br>     com_zimbra_cert_manager…done.<br>     com_zimbra_adminversioncheck…done.<br>     com_zimbra_attachcontacts…done.<br>     com_zimbra_viewmail…done.<br>     com_zimbra_attachmail…done.<br>     com_zimbra_url…done.<br>     com_zimbra_webex…done.<br>     com_zimbra_bulkprovision…done.<br>     com_zimbra_proxy_config…done.<br>     com_zimbra_mailarchive…done.<br>     com_zextras_chat_open…done.<br>     com_zimbra_ymemoticons…done.<br>     com_zimbra_clientuploader…done.<br>     com_zimbra_date…done.<br>     com_zimbra_srchhighlighter…done.<br>     com_zimbra_tooltip…done.<br>     com_zextras_drive_open…done.<br>     com_zimbra_phone…done.<br>     com_zimbra_email…done.<br> Finished installing common zimlets.<br> Restarting mailboxd…done.<br> Creating galsync account for default domain…done.<br> You have the option of notifying Zimbra of your installation.<br> This helps us to track the uptake of the Zimbra Collaboration Server.<br> The only information that will be transmitted is:<br>     The VERSION of zcs installed (8.8.12_GA_3794_UBUNTU18_64)<br>     The ADMIN EMAIL ADDRESS created (admin@zimbra.osradar.com)<br> Notify Zimbra of your installation? [Yes]<br> Checking if the NG started running…done. <br> Setting up zimbra crontab…done.<br> Moving /tmp/zmsetup.20190401-221739.log to /opt/zimbra/log<br> Configuration complete - press return to exit</pre>



<p>Now, confirm Zimbra services status.</p>



<pre class="wp-block-verse">su - zimbra -c "zmcontrol status"<br> Host zimbra.odradar.com<br>      amavis                  Running<br>      antispam                Running<br>      dnscache                Running<br>      ldap                    Running<br>      logger                  Running<br>      mailbox                 Running<br>      memcached               Running<br>      mta                     Running<br>      opendkim                Running<br>      proxy                   Running<br>      service webapp          Running<br>      snmp                    Running<br>      spell                   Running<br>      stats                   Stopped<br>      zimbra webapp           Running<br>      zimbraAdmin webapp      Running<br>      zimlet webapp           Running<br>      zmconfigd               Running</pre>



<h3><strong>Step 4: Accessing Zimbra Admin Dashboard</strong></h3>



<p>If you have an active firewall, configure it for Zimbra using <a href="https://www.osradar.com/?p=17426">Zimbra Firewall Configuration with ufw for Ubuntu</a> &amp; then Access Admin interface using <strong>http://ip-address|hostname:7071</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" width="557" height="280" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/zimbra-admin-console.jpg" alt="" class="wp-image-17429" srcset="https://www.osradar.com/wp-content/uploads/2019/12/zimbra-admin-console.jpg 557w, https://www.osradar.com/wp-content/uploads/2019/12/zimbra-admin-console-300x151.jpg 300w" sizes="(max-width: 557px) 100vw, 557px" /></figure>



<p>Provide username &amp; password to login to zimbra.</p>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-zimbra-collaboration-on-ubuntu-18-04-lts/">How To Install Zimbra Collaboration on Ubuntu 18.04 LTS</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-zimbra-collaboration-on-ubuntu-18-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install &#038; configure Dnsmasq on Ubuntu 18.04 LTS</title>
		<link>https://www.osradar.com/how-to-install-configure-dnsmasq-on-ubuntu-18-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-configure-dnsmasq-on-ubuntu-18-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Mon, 06 Jan 2020 14:28:25 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Dnsmasq on Linux]]></category>
		<category><![CDATA[how to configure dnsmasq on Ubuntu 18.04]]></category>
		<category><![CDATA[how to install dnsmasq on Ubuntu 18.04]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17421</guid>

					<description><![CDATA[<p>Today we are going to Install &#38; configure Dnsmasq DNS Server on Ubuntu 18.04 LTS. Dnsmasq is a simple, lightweight, easy to use &#38; manage DNS server along with support for Lua scripting, IPv6, DNSSEC etc. It has a small footprint hence, suitable for resource-constrained routers &#38; firewalls. Dnsmasq has been designed to provide DNS, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-configure-dnsmasq-on-ubuntu-18-04-lts/">How To Install &amp; configure Dnsmasq on Ubuntu 18.04 LTS</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 we are going to Install &amp; configure Dnsmasq DNS Server on Ubuntu 18.04 LTS. Dnsmasq is a simple, lightweight, easy to use &amp; manage DNS server along with support for Lua scripting, IPv6, DNSSEC etc. It has a small footprint hence, suitable for resource-constrained routers &amp; firewalls.</p>



<p>Dnsmasq has been designed to provide DNS, and optionally DHCP/TFTP services for a small to mid-size networks. Fist of all we will look at Dnsmasq subsystems &amp; then move toward the Installation.</p>



<p>Dnsmasq has three main subsystems.</p>



<ul><li><strong>DNS subsystem</strong>: Used for caching of A. AAAA,CNAME &amp; PTR.</li><li><strong>DHCP subsystem:</strong> It supports DHCPv4, DHCPv6,BOTP &amp; PXE.</li><li><strong>Router Advertisement:</strong> Provides basic autoconfiguration for IPv6 host.</li></ul>



<h3><strong>Step 1: Installing Dnsmasq on Ubuntu 18.04</strong></h3>



<p>Disable systemd-resolve as it binds to port 53 due to which Dnsmasq will be effected.</p>



<p>Type the given command to disable the resolved service.</p>



<pre class="wp-block-verse">sudo systemctl disable systemd-resolved<br>sudo systemctl stop systemd-resolved</pre>



<p>Also, remove the sysmlinked resolv.conf file by</p>



<pre class="wp-block-verse">$ ls -lh /etc/resolv.conf <br> lrwxrwxrwx 1 root root 39 Aug  8 15:52 /etc/resolv.conf -&gt; ../run/systemd/resolve/stub-resolv.conf<br> $ sudo rm /etc/resolv.conf</pre>



<p>Then create new <strong>resolv.conf</strong> file</p>



<pre class="wp-block-verse">echo "nameserver 8.8.8.8" &gt; /etc/resolv.conf</pre>



<p>As Dnsmasq is available on the apt repository, install it by typing</p>



<p>sudo apt-get install dnsmasq</p>



<p>You can find the main config file for Dnsmasq under /etc/dnsmasq.conf</p>



<pre class="wp-block-verse">sudo nano /etc/dnsmasq.conf</pre>



<p>See the minimal configuration</p>



<pre class="wp-block-verse">Listen on this specific port instead of the standard DNS port<br> (53). Setting this to zero completely disables DNS function,<br> leaving only DHCP and/or TFTP.<br> port=53<br> Never forward plain names (without a dot or domain part)<br> domain-needed<br> Never forward addresses in the non-routed address spaces.<br> bogus-priv<br> By  default,  dnsmasq  will  send queries to any of the upstream<br> servers it knows about and tries to favour servers to are  known<br> to  be  up.  Uncommenting this forces dnsmasq to try each query<br> with  each  server  strictly  in  the  order  they   appear   in<br> /etc/resolv.conf<br> strict-order<br> Set this (and domain: see below) if you want to have a domain<br> automatically added to simple names in a hosts-file.<br> expand-hosts<br> Set the domain for dnsmasq. this is optional, but if it is set, it<br> does the following things.<br> 1) Allows DHCP hosts to have fully qualified domain names, as long<br> as the domain part matches this setting.<br> 2) Sets the "domain" DHCP option thereby potentially setting the<br> domain of all systems configured by DHCP<br> 3) Provides the domain part for "expand-hosts"<br> domain=thekelleys.org.uk<br> domain=mypridomain.com<br> Set Liste address<br> listen-address=127.0.0.1 # Set to Server IP for network responses</pre>



<p>To enable DNSSEC validation &amp; caching, uncomment </p>



<pre class="wp-block-verse">#dnssec</pre>



<p>Do the config according to your own environment &amp; restart dnsmasq services.</p>



<p>sudo systemctl restart dnsmasq</p>



<h3><strong>Step 2: Add DNS records to Dnsmasq</strong></h3>



<p>Add DNS records in the file <strong>/etc/hosts/</strong>. Dnsmasq will reply to queries from clients using these records.</p>



<pre class="wp-block-verse">$ sudo vim /etc/hosts<br> 10.1.3.4 server1.mypridomain.com<br> 10.1.4.4 erp.mypridomain.com <br> 192.168.10.2 checkout.mypridomain.com <br> 192.168.4.3 hello.world</pre>



<p>Then restart dnsmasq services.</p>



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



<h3><strong>Step 3: Test Dnsmasq functionality </strong></h3>



<p>Edit the file <strong>/etc/network/interfaces</strong> for persistent configuration, or the file <strong>/etc/netplan/</strong> on Ubuntu 18.04 servers. As it is a test, I&#8217;ll modify runtime file <strong>/etc/resolv.conf</strong></p>



<pre class="wp-block-verse">$ sudo nano /etc/resolv.conf<br> nameserver 127.0.0.1<br> nameserver 8.8.8.8</pre>



<p>Then test using dig:</p>



<pre class="wp-block-verse">$ dig A erp.mypridomain.com<br> ; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.1-Ubuntu &lt;&lt;&gt;&gt; A erp.mypridomain.com<br> ;; global options: +cmd<br> ;; Got answer:<br> ;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 43392<br> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1<br> ;; OPT PSEUDOSECTION:<br> ; EDNS: version: 0, flags:; udp: 4096<br> ;; QUESTION SECTION:<br> ;erp.mypridomain.com.        IN  A<br> ;; ANSWER SECTION:<br> erp.mypridomain.com.    0   IN  A   10.1.4.4<br> ;; Query time: 0 msec<br> ;; SERVER: 127.0.0.1#53(127.0.0.1)<br> ;; WHEN: Tue Aug 21 10:35:41 UTC 2018<br> ;; MSG SIZE  rcvd: 64</pre>



<p>See the other example </p>



<pre class="wp-block-verse">$ dig checkout.mypridomain.com A +noall +answer<br> ; &lt;&lt;&gt;&gt; DiG 9.11.3-1ubuntu1.1-Ubuntu &lt;&lt;&gt;&gt; checkout.mypridomain.com A +noall +answer<br> ;; global options: +cmd<br> checkout.mypridomain.com. 0 IN A 192.168.10.2</pre>



<p>Confirm that we are getting responses as configured.</p>



<h3><strong>Step 3:Configure Dnsmasq as DHCP Server (Optional)</strong></h3>



<p>Configure <strong>/etc/dnsmasq.conf</strong> &amp; provide DHCP options. You need to provide.</p>



<ul><li>Gateway IP address</li><li>DNS Server IP address</li><li>Network Subnet mask</li><li>DHCP Addresses range</li><li>NTP Server</li></ul>



<p>Look at the example</p>



<pre class="wp-block-verse">dhcp-range=192.168.3.25,192.168.3.50,24h<br> dhcp-option=option:router,192.168.3.1<br> dhcp-option=option:ntp-server,192.168.3.5<br> dhcp-option=option:dns-server,192.168.3.5<br> dhcp-option=option:netmask,255.255.255.0</pre>



<p>Then restart dnsmasq services &amp; configure clients to obtain an IP address from this server.</p>



<pre class="wp-block-verse">sudo systemctl restart dnsmasq</pre>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-configure-dnsmasq-on-ubuntu-18-04-lts/">How To Install &amp; configure Dnsmasq on Ubuntu 18.04 LTS</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-configure-dnsmasq-on-ubuntu-18-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install i-doit Asset Management Tool on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-i-doit-asset-management-tool-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-i-doit-asset-management-tool-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Sat, 04 Jan 2020 13:29:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Asset management toll idoit]]></category>
		<category><![CDATA[how to install idoit on ubuntu 18.04]]></category>
		<category><![CDATA[idoit installation on ubuntu]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17192</guid>

					<description><![CDATA[<p>What is I-doit? Today we are going to Install i-doit tool on our Ubuntu 18.04. It has various features due to which we prefer it in our IT system. i-doit is Professional IT documentaion &#38; CMDB tool that provides the way to manage the entire IT system. With the help of this great tool you [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-i-doit-asset-management-tool-on-ubuntu-18-04/">How To Install i-doit Asset Management Tool 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[
<h3><strong>What is I-doit?</strong></h3>



<p>Today we are going to Install i-doit tool on our Ubuntu 18.04. It has various features due to which we prefer it in our IT system. i-doit is Professional IT documentaion &amp; CMDB tool that provides the way to manage the entire IT system. </p>



<p>With the help of this great tool you can easily create a detailed overview of the entire IT-infrastructure for all kind of assets. </p>



<h3><strong>System Requirements</strong></h3>



<ul><li>2 vCPUs</li><li>2 GB RAM</li><li>10 GB free disc space</li></ul>



<p>As we will Install it on our dedicated Virtual Machine, LAMP Stack is required.</p>



<ul><li>Apache Web Server 2.4</li><li>MariaDB 10.x or MySQL 5.6 or later</li><li>PHP 5.6(deprecated), 7.x</li><li>PHP extensions: bcmath, ctype, curl, fileinfo, gd, imagick, json, ldap, mbstring, memcached, mysqli, mysqlnd, pgsql, session, soap, xml, zip</li></ul>



<p>Now, move toward the Installation of i-doit on our Ubuntu system</p>



<h3><strong>Step 1: Install Apache &amp; PHP</strong></h3>



<p>Run the following command to Install Apache &amp; required PHP extensions.</p>



<pre class="wp-block-verse">sudo apt -y install apache2 libapache2-mod-php<br>sudo apt -y install php-{bcmath,cli,common,curl,gd,json,ldap,mbstring,mysql,opcache,pgsql,soap,xml,zip,imagick,memcached}<br>sudo apt -y install memcached unzip moreutils</pre>



<p>Create new php configuration file for i-doit</p>



<pre class="wp-block-verse">sudo tee /etc/php/7.2/mods-available/i-doit.ini&lt;&lt;EOF<br>   allow_url_fopen = Yes<br>   file_uploads = On<br>   magic_quotes_gpc = Off<br>   max_execution_time = 300<br>   max_file_uploads = 42<br>   max_input_time = 60<br>   max_input_vars = 10000<br>   memory_limit = 256M<br>   post_max_size = 128M<br>   register_argc_argv = On<br>   register_globals = Off<br>   short_open_tag = On<br>   upload_max_filesize = 128M<br>   display_errors = Off<br>   display_startup_errors = Off<br>   error_reporting = E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT<br>   log_errors = On<br>   default_charset = "UTF-8"<br>   default_socket_timeout = 60<br>   date.timezone = Africa/Nairobi<br>   session.gc_maxlifetime = 604800<br>   session.cookie_lifetime = 0<br>   mysqli.default_socket = /var/run/mysqld/mysqld.sock<br>   EOF </pre>



<p><strong>session.gc_maxlifetime</strong> should be the same or greater than the <strong>Session Timeout</strong> in the <a href="https://kb.i-doit.com/display/en/System+Settings+-+Administration">System settings</a> of i-doit.</p>



<p>Then activate the required PHP modules &amp; restart Apache web server.</p>



<pre class="wp-block-verse">sudo phpenmod i-doit<br> sudo phpenmod memcached<br> sudo systemctl restart apache2.service</pre>



<h3><strong>Step 2: Install MariaDB Server</strong></h3>



<p><a href="https://www.osradar.com/install-mariadb-10-4-ubuntu-18-04/">Install MariaDB on your Ubuntu 18.04</a></p>



<p>After Installing MariaDB &amp; configuring it login to it, &amp; run the given command.</p>



<pre class="wp-block-verse">SET GLOBAL innodb_fast_shutdown = 0;<br> UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'root';<br> FLUSH PRIVILEGES;</pre>



<p>Tune your server for Optimal Perfromance</p>



<pre class="wp-block-verse">sudo nano /etc/mysql/mariadb.conf.d/99-i-doit.cnf</pre>



<p>Then add the below content:</p>



<pre class="wp-block-verse">[mysqld]<br> This is the number 1 setting to look at for any performance optimization<br> It is where the data and indexes are cached: having it as large as possible will<br> ensure MySQL uses memory and not disks for most read operations.<br> #<br> Typical values are 1G (1-2GB RAM), 5-6G (8GB RAM), 20-25G (32GB RAM), 100-120G (128GB RAM).<br> innodb_buffer_pool_size = 1G<br> Use multiple instances if you have innodb_buffer_pool_size &gt; 10G, 1 every 4GB<br> innodb_buffer_pool_instances = 1<br> Redo log file size, the higher the better.<br> MySQL/MariaDB writes two of these log files in a default installation.<br> innodb_log_file_size = 512M<br> innodb_sort_buffer_size = 64M<br> sort_buffer_size = 262144 # default<br> join_buffer_size = 262144 # default<br> max_allowed_packet = 128M<br> max_heap_table_size = 32M<br> query_cache_min_res_unit = 4096<br> query_cache_type = 1<br> query_cache_limit = 5M<br> query_cache_size = 80M<br> tmp_table_size = 32M<br> max_connections = 200<br> innodb_file_per_table = 1<br> Disable this (= 0) if you have only one to two CPU cores, change it to 4 for a quad core.<br> innodb_thread_concurrency = 0<br> Disable this (= 0) if you have slow harddisks<br> innodb_flush_log_at_trx_commit = 1<br> innodb_flush_method = O_DIRECT<br> innodb_lru_scan_depth = 2048<br> table_definition_cache = 1024<br> table_open_cache = 2048<br> Only if your have MySQL 5.6 or higher, do not use with MariaDB!<br> table_open_cache_instances = 4<br> innodb_stats_on_metadata = 0<br> sql-mode = ""</pre>



<p>When finished, restart mariadb </p>



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



<h3><strong>Step 3: Download i-doit</strong></h3>



<p>Download &amp; extract the <a href="https://i-doit.org/">open source version</a> of i-doit</p>



<pre class="wp-block-verse">export LATEST="1.13.2"<br>wget https://sourceforge.net/projects/i-doit/files/i-doit/$LATEST/idoit-open-$LATEST.zip<br>sudo unzip idoit-open-$LATEST.zip -d /var/www/html/i-doit</pre>



<p>Set permissions for the created directory to apache user</p>



<pre class="wp-block-verse">cd /var/www/html/i-doit<br> sudo chown www-data:www-data -R .<br> sudo find . -type d -name * -exec chmod 775 {} \;<br> sudo find . -type f -exec chmod 664 {} \;<br> sudo chmod 774 controller <em>.sh setup/</em>.sh</pre>



<p>Then create Apache configuration file for i-doit.</p>



<pre class="wp-block-verse">sudo tee /etc/apache2/sites-available/i-doit.conf&lt;<br>         ServerAdmin admin@example.com<br> <code>    DirectoryIndex index.php     DocumentRoot /var/www/html/     &lt;Directory /var/www/html/&gt;             AllowOverride All             Require all granted     &lt;/Directory&gt;     LogLevel warn     ErrorLog ${APACHE_LOG_DIR}/error.log     CustomLog ${APACHE_LOG_DIR}/access.log combined</code><br> <br> EOF</pre>



<p>Enable site &amp; rewrite module.</p>



<pre class="wp-block-verse">sudo chown www-data:www-data -R /var/www/html/<br>sudo chmod 755 /var/log/apache2<br>sudo chmod 664 /var/log/apache2/*<br>sudo a2ensite i-doit<br>sudo a2enmod rewrite<br>sudo systemctl restart apache2.service</pre>



<h3><strong>Step 4: Run i-doit Setup</strong></h3>



<p>Launch the i-doit by opening http://idoit.example.com/i-doit/.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="556" height="420" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/i-doit-setup.jpg" alt="" class="wp-image-17411" srcset="https://www.osradar.com/wp-content/uploads/2019/12/i-doit-setup.jpg 556w, https://www.osradar.com/wp-content/uploads/2019/12/i-doit-setup-300x227.jpg 300w, https://www.osradar.com/wp-content/uploads/2019/12/i-doit-setup-80x60.jpg 80w" sizes="(max-width: 556px) 100vw, 556px" /></figure></div>



<p>All system checks should show a pass.</p>



<p>Do the all steps as shown in screenshots below</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="557" height="173" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/directory-configuration.jpg" alt="" class="wp-image-17412" srcset="https://www.osradar.com/wp-content/uploads/2019/12/directory-configuration.jpg 557w, https://www.osradar.com/wp-content/uploads/2019/12/directory-configuration-300x93.jpg 300w" sizes="(max-width: 557px) 100vw, 557px" /></figure></div>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="554" height="375" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/database-configuration.jpg" alt="" class="wp-image-17413" srcset="https://www.osradar.com/wp-content/uploads/2019/12/database-configuration.jpg 554w, https://www.osradar.com/wp-content/uploads/2019/12/database-configuration-300x203.jpg 300w" sizes="(max-width: 554px) 100vw, 554px" /></figure></div>



<ul><li> <strong><em>Connection Settings</em></strong></li><li><strong>Host:</strong>  localhost or 127.0.0.1</li><li> <strong>Port:</strong> default port of MySQL/MariaDB, so 3306</li><li> <strong>Username: </strong>User name of the database system user, usually root</li><li> <strong>Password:</strong> Password of the user</li><li> <strong><em>MySQL user settings</em></strong></li><li> <strong>Username:</strong> User name of the i-doit databases owner, usually idoit</li><li> <strong>Password:</strong> Pass of the user</li><li> <strong><em>Database settings</em></strong></li><li> <strong>System Database Name:</strong> Name of the system DB, usually idoit_system</li><li> <strong>Mandator Database Name:</strong> Name of the database for the first tenant, usually idoit_data</li><li> <strong>Mandator title:</strong> name of the organization that is focused on</li><li> <strong>Start value for object/configuration item IDs:</strong> Normally 1 </li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="554" height="132" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/framework-configuration.jpg" alt="" class="wp-image-17414" srcset="https://www.osradar.com/wp-content/uploads/2019/12/framework-configuration.jpg 554w, https://www.osradar.com/wp-content/uploads/2019/12/framework-configuration-300x71.jpg 300w" sizes="(max-width: 554px) 100vw, 554px" /></figure>



<p>Then finalize the configuration check &amp; move to next step</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="558" height="324" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/idoit-installation.jpg" alt="" class="wp-image-17415" srcset="https://www.osradar.com/wp-content/uploads/2019/12/idoit-installation.jpg 558w, https://www.osradar.com/wp-content/uploads/2019/12/idoit-installation-300x174.jpg 300w" sizes="(max-width: 558px) 100vw, 558px" /></figure></div>



<p>After it login to the i-doit by providing your credentials.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="437" height="178" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/login-idoit.jpg" alt="" class="wp-image-17416" srcset="https://www.osradar.com/wp-content/uploads/2019/12/login-idoit.jpg 437w, https://www.osradar.com/wp-content/uploads/2019/12/login-idoit-300x122.jpg 300w" sizes="(max-width: 437px) 100vw, 437px" /></figure></div>



<p>You now have Installed i-doit on Ubuntu system.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img loading="lazy" width="556" height="295" src="//1723336065.rsc.cdn77.org/wp-content/uploads/2019/12/i-doit-open-source.jpg" alt="" class="wp-image-17418" srcset="https://www.osradar.com/wp-content/uploads/2019/12/i-doit-open-source.jpg 556w, https://www.osradar.com/wp-content/uploads/2019/12/i-doit-open-source-300x159.jpg 300w" sizes="(max-width: 556px) 100vw, 556px" /></figure></div>



<p>Further Steps</p>



<ul><li><a href="https://kb.i-doit.com/display/en/Install+License">Download &amp; Install a License</a> </li><li><a href="https://kb.i-doit.com/display/en/Backup+and+Recovery">Set up backup</a></li><li><a href="https://kb.i-doit.com/display/en/Cronjobs+Setup">Set up Cronjobs</a></li><li><a href="https://kb.i-doit.com/display/en/Initial+Login">Initial login</a></li></ul>



<p></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-i-doit-asset-management-tool-on-ubuntu-18-04/">How To Install i-doit Asset Management Tool on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-i-doit-asset-management-tool-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Install Gradle on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-gradle-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-gradle-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[sabi]]></dc:creator>
		<pubDate>Fri, 03 Jan 2020 10:06:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[gradle]]></category>
		<category><![CDATA[gradle installation]]></category>
		<category><![CDATA[how to install gradle on ubuntu 18.04]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=17072</guid>

					<description><![CDATA[<p>What is Gradle? Gradle is an open source build automation tool used for Java, Groovy and Scala development. Basically, it builds upon the concepts of Apache Ant &#38; Apache Maven. Gradle uses Groovy instead of XML for declaring project configuration. Groovy is a dynamic, object-oriented programming language to define the project configurations. Follow the below [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gradle-on-ubuntu-18-04/">How To Install Gradle 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[
<h3><strong>What is Gradle?</strong></h3>



<p>Gradle is an open source build automation tool used for Java, Groovy and Scala development. Basically, it builds upon the concepts of Apache Ant &amp; Apache Maven. Gradle uses Groovy instead of XML for declaring project configuration. Groovy is a dynamic, object-oriented programming language to define the project configurations. Follow the below steps to cover the Installation of Gradle on Ubuntu 18.04 / 16.04 / Linux Mint 19 &amp; Debian </p>



<h3><strong>Requirements:</strong></h3>



<p>Java JDK or JRE version 7 or above.</p>



<p>Now, proceed to our Installation</p>



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



<p>Confirm that your system is updated</p>



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



<p>Install OpenJDK package if you have not already installed by running</p>



<pre class="wp-block-verse">sudo apt install -y openjdk-8-jdk-headless</pre>



<p>Confirm the Installation by</p>



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



<p><strong>Output:</strong></p>



<pre class="wp-block-verse">sabi@sabi:~$ java -version<br> openjdk version "1.8.0_232"<br> OpenJDK Runtime Environment (build 1.8.0_232-8u232-b09-0ubuntu1~18.04.1-b09)<br> OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)</pre>



<p>Install other required packages by typing</p>



<pre class="wp-block-verse">sudo apt install -y wget unzip</pre>



<h3><strong>Step 2: Install Gradle on Ubuntu</strong></h3>



<p>Visit the official site of Gradle to Download the <a href="https://gradle.org/next-steps/?version=6.0.1&amp;format=bin">Gradle</a> Binary-only zip file.</p>



<p>Download the latest version of Gradle v6.0.1</p>



<pre class="wp-block-verse">sabi@sabi:~$ wget https://services.gradle.org/distributions/gradle-6.0.1-bin.zip<br> --2019-12-28 11:43:18--  https://services.gradle.org/distributions/gradle-6.0.1-bin.zip<br> Resolving services.gradle.org (services.gradle.org)… 104.18.191.9, 104.18.190.9, 2606:4700::6812:be09, …<br> Connecting to services.gradle.org (services.gradle.org)|104.18.191.9|:443… connected.<br> HTTP request sent, awaiting response… 301 Moved Permanently<br> Location: https://downloads.gradle-dn.com/distributions/gradle-6.0.1-bin.zip [following]<br> --2019-12-28 11:43:19--  https://downloads.gradle-dn.com/distributions/gradle-6.0.1-bin.zip<br> Resolving downloads.gradle-dn.com (downloads.gradle-dn.com)… 104.17.160.20, 104.17.159.20, 2606:4700::6811:9f14, …<br> Connecting to downloads.gradle-dn.com (downloads.gradle-dn.com)|104.17.160.20|:443… connected.<br> HTTP request sent, awaiting response… 200 OK<br> Length: 95129672 (91M) [application/zip]<br> Saving to: ‘gradle-6.0.1-bin.zip’<br> gradle-6.0.1-bin.zi 100%[==================&gt;]  90.72M  3.15MB/s    in 42s     <br> 2019-12-28 11:44:04 (2.16 MB/s) - ‘gradle-6.0.1-bin.zip’ saved [95129672/95129672]</pre>



<p>Move the downloaded package to working directory </p>



<pre class="wp-block-verse">sabi@sabi:~$ mv gradle-6.0.1-bin.zip /tmp/</pre>



<p>After finishing download, extract the downloaded package in <strong>/opt/gradle</strong> directory using zip command</p>



<pre class="wp-block-verse">unzip gradle-*.zip </pre>



<p>Create a directory called /opt/gradle</p>



<pre class="wp-block-verse"> sudo mkdir /opt/gradle  </pre>



<p>Copy the extracted files to the<strong> /opt/gradle</strong></p>



<pre class="wp-block-verse"> sudo cp -pr gradle-*/* /opt/gradle </pre>



<p>You can confirm the extracted files by listing them in <strong>/opt/gradle</strong> directory.</p>



<pre class="wp-block-verse">sabi@sabi:/tmp$ cd /opt/gradle<br>sabi@sabi:/opt/gradle$ ls<br><strong>bin</strong>  getting-started.html <strong> init.d </strong> <strong>lib</strong>  LICENSE  NOTICE</pre>



<h3><strong>Step 3: Setting Up Environment Variables</strong></h3>



<p>Configure the path environment variable to include the Gradle&#8217;s bin directory. For this create a new file inside the <strong>/etc/profile.d/</strong> directory.</p>



<pre class="wp-block-verse">sudo nano /etc/profile.d/gradle.sh</pre>



<p>Paste the below data into the above file and save it.</p>



<pre class="wp-block-verse">export PATH=$PATH:/opt/gradle/gradle-6.0.1/bin</pre>



<p>Type the given command to make the script executable.</p>



<pre class="wp-block-verse">sudo chmod +x /etc/profile.d/gradle.sh</pre>



<p>Now, load the environment variables for the current session by</p>



<pre class="wp-block-verse">source /etc/profile.d/gradle.sh</pre>



<h3><strong>Step 4: Verifying the Installation</strong></h3>



<p>Check the version of Gradle using <strong>gradle -v</strong> command</p>



<pre class="wp-block-verse">gradle -v</pre>



<p><strong>Output:</strong></p>



<pre class="wp-block-verse">sabi@sabi:/tmp$ gradle -v<br> Welcome to Gradle 6.0.1!<br> Here are the highlights of this release:<br> Substantial improvements in dependency management, including<br> Publishing Gradle Module Metadata in addition to pom.xml<br> Advanced control of transitive versions<br> Support for optional features and dependencies<br> Rules to tweak published metadata<br> Support for Java 13<br> Faster incremental Java and Groovy compilation<br> New Zinc compiler for Scala<br> VS2019 support<br> Support for Gradle Enterprise plugin 3.0 <br> For more details see https://docs.gradle.org/6.0.1/release-notes.html<br> <br> Gradle 6.0.1<br> Build time:   2019-11-18 20:25:01 UTC<br> Revision:     fad121066a68c4701acd362daf4287a7c309a0f5<br> Kotlin:       1.3.50<br> Groovy:       2.5.8<br> Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019<br> JVM:          1.8.0_232 (Private Build 25.232-b09)<br> OS:           Linux 5.0.0-37-generic amd64</pre>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-gradle-on-ubuntu-18-04/">How To Install Gradle on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-gradle-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Speed Up Ubuntu</title>
		<link>https://www.osradar.com/speed-up-ubuntu/</link>
					<comments>https://www.osradar.com/speed-up-ubuntu/#respond</comments>
		
		<dc:creator><![CDATA[osradar_editor]]></dc:creator>
		<pubDate>Wed, 27 Jun 2018 07:07:26 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[speed up ubuntu]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=4443</guid>

					<description><![CDATA[<p>Due to the nature of Linux, the system is pretty fast by default. It doesn’t degrade the performance like Windows over time and you hardly need to reinstall the entire operating system unless you do something horrible with the system. That being said, Linux is also susceptible to performance degradation and that’s mostly because of [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/speed-up-ubuntu/">Speed Up Ubuntu</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Due to the nature of Linux, the system is pretty fast by default. It doesn’t degrade the performance like Windows over time and you hardly need to reinstall the entire operating system unless you do something horrible with the system. That being said, Linux is also susceptible to performance degradation and that’s mostly because of your handling and usage.</p>
<p>Today, let’s take a look at a little housekeeping on Ubuntu – one of the most popular Linux distros of all time.</p>
<h2>Reducing boot delay</h2>
<p>Generally, the system boots up with the help of the bootloader. In case of Linux systems, it’s generally GRUB. After the bootloader starts up, it usually takes 5 seconds to start the OS booting. The time is 5 SECONDS only, not a big deal. However, in case you’re in a hurry, those 5 seconds can be very valuable. Moreover, the changing won’t make any bad impact on the hardware as well. That’s why it’s safe to reduce the time to a lower settings.</p>
<p>For changing the boot delay, run the following command in the terminal –</p>
<pre>sudo nano /etc/default/grub</pre>
<p>From the file, look for “GRUB_TIMEOUT”. Change the value from 5 to 1 (recommended). Then, press “Ctrl + O” to save the file and “Ctrl + X” to exit the editor.</p>
<p><img loading="lazy" class="size-full wp-image-4446 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout.png" alt="" width="1221" height="654" srcset="https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout.png 1221w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-300x161.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-768x411.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-1024x548.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-696x373.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-1068x572.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/grub-timeout-784x420.png 784w" sizes="(max-width: 1221px) 100vw, 1221px" /></p>
<p>Reboot your system for the change to take effect. The change should be noticeable if you observe a bit sharply.</p>
<h2>Remove unwanted PPAs</h2>
<p>Ubuntu features some of the easiest ways to manage your software source. PPAs (Personal Package Archive) is useful for getting numerous software directly from the developers. PPAs are also a great source for ported apps from other open-source projects and keeping them up-to-date.</p>
<p>Whenever you run “apt update”, it collects repository database and other information from all the software sources. PPAs are generally slower than the official repository and too much of them seriously hinders the speed. You should remove those unwanted PPAs.</p>
<p>Go to “Software &amp; Updates” from the launcher of Ubuntu. Open the “Other Software” tab. There, you’ll find out all the unnecessary PPAs you’ve installed over time.</p>
<p><img loading="lazy" class="size-full wp-image-4447 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa.png" alt="" width="730" height="490" srcset="https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa.png 730w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-300x201.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-696x467.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-626x420.png 626w" sizes="(max-width: 730px) 100vw, 730px" /></p>
<p>Select the unnecessary PPA, click “Remove”, enter the password and you’re good to go!</p>
<p><img loading="lazy" class="size-full wp-image-4448 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-1.png" alt="" width="731" height="488" srcset="https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-1.png 731w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-1-300x200.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-1-696x465.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/ubuntu-remove-ppa-1-629x420.png 629w" sizes="(max-width: 731px) 100vw, 731px" /></p>
<p>After you’re done removing all the unnecessary PPAs, you should reload the repo cache of your system. Run the command in the terminal –</p>
<pre>sudo apt update
sudo apt upgrade -y</pre>
<h2>Remove unnecessary packages</h2>
<p>Your system is also full of other dependency packages from different software. Those simply clog the system by eating space in the package database and hard drive. For removing all those unnecessary packages, run the following command –</p>
<pre>sudo apt autoremove</pre>
<h2>Manage startup apps</h2>
<p>You may have configured a number of startup apps. These apps load during the start of your system. Some of them may be necessary, but others will simply eat system resources. For removing all those unnecessary startup items, run the following commands –</p>
<pre>cd ~/.config/autostart
ls</pre>
<p>It&#8217;ll show the startup items as desktop shortcuts. Delete the unnecessary ones by running the following commands –</p>
<pre>rm &lt;program_name&gt;.desktop</pre>
<h2>Reinstall your system</h2>
<p>Note that it’s the very LAST step you want to perform. If your system is performing seriously bad and all the above steps didn’t work, you should reinstall Ubuntu. Currently, the latest version of Ubuntu is v18.04 LTS. <a href="https://www.osradar.com/how-to-install-ubuntu-18-04-lts/">Learn how to install Ubuntu</a>.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/speed-up-ubuntu/">Speed Up Ubuntu</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/speed-up-ubuntu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Laravel on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 11 Jun 2018 07:41:59 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3923</guid>

					<description><![CDATA[<p>In this tutorial, we will get to the process of how to install Laravel on UBUNTU 18.04. However, let’s have a description What is Laravel? Laravel is a free and an open source web application framework that is compatible with PHP language. Laravel is a new generation web framework, and it is basically projected for [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/">How to Install Laravel 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>In this tutorial, we will get to the process of how to install Laravel on UBUNTU 18.04. However, let’s have a description What is Laravel? Laravel is a free and an open source web application framework that is compatible with PHP language. Laravel is a new generation web framework, and it is basically projected for the development of new web applications that are in MVC. We got there major Laravel types.</p>
<ul>
<li>Horizon.</li>
<li>Dusk.</li>
<li>Echo</li>
</ul>
<p>So now what is MVC?Model view controller is an architecture that help us to differentiate an application into its three logical components. That are (Model, View and Controller). Every component is built to handle the specific development for that application. It is the most popular framework at the time and most of the projects are being implemented using this framework.</p>
<p>Before starting the tutorial, you must have some basic knowledge of Linux, like how to use shell and how to host site on VPS. Because we will use Apache2 with this Laravel framework, Therefore, at first we will install Apache server</p>
<h3>Step 1: Installing Apache2</h3>
<p>Apache web server is the most popular web server in the world, because it is well documented and has been in use for a long time in the web. However, it is also known as the default web server for hosting websites. To install Apache using Ubuntu package manager follow the instructions.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>$ sudo apt update</strong></td>
</tr>
<tr>
<td width="623"><strong>$ sudo apt install Apache2</strong></td>
</tr>
</tbody>
</table>
<p>After following the commands, you can now see the default Ubuntu web page. Which will be look like something as follows.</p>
<p><img loading="lazy" class="aligncenter wp-image-3924 size-large" src="https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-1024x505.png" alt="apache-Installed" width="696" height="343" srcset="https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-1024x505.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-300x148.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-768x379.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-696x343.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-1068x527.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed-851x420.png 851w, https://www.osradar.com/wp-content/uploads/2018/06/apache-Installed.png 1271w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>&nbsp;</p>
<h3>Step 2: Installing MySQL</h3>
<p>After installing web server now we need to store data that will be used for future operations. However, database management system is now a basic need for any website to fetch and store data. Therefore, we will now install MySQL database management system, which will be done by following the instructions given below.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>$ sudo apt install mysql-server</strong></td>
</tr>
</tbody>
</table>
<p>This will install MySQL, note that you don’t need to type <em>sudo apt update</em> command because when you install apache, then this package will be already updated along with installation of Apache2.</p>
<h3>Step 3 — Installing PHP</h3>
<p>PHP is basically the coding module of the Laravel framework, it is also a setup that will code to display the content, run scripts and connects the server to your database that it MySQL. This is needed in order to get information and process the content to your web server for further representation.To install PHP along with some packages, kindly follow the given command.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>$</strong><strong>sudo apt install php</strong><strong> libapache2-mod-php php-mbstring php</strong><strong>-xmlrpc php</strong><strong>-soap php-gd php-xml php-cli php-zip</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>In most case, when you want to modify the Apache server files whenever a directory is requested. At the time when user request a directory from server, then Apache will look for that file. We will need to tell the server to use PHP file so that it will be on first priority. So to do this just type the following command:</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>$ sudo vim /etc/apache2/mods-enabled/dir.conf</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3929 size-large" src="https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-1024x480.png" alt="" width="696" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-1024x480.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-768x360.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-1068x501.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille-896x420.png 896w, https://www.osradar.com/wp-content/uploads/2018/06/chnge-index-fille.png 1303w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<h3>Step 4 — Install Composer</h3>
<p>After installing PHP, now it’s time to install composer. To install composer, you must have curl package to be installed, in order to run the command to execute them. To install this type following command</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>$ curl -sS https://getcomposer.org/installer | sudo php &#8212; &#8211;install-dir=/usr/local/bin &#8211;filename=composer</strong></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3928 size-large" src="https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-1024x365.png" alt="installing-composer" width="696" height="248" srcset="https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-1024x365.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-300x107.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-768x273.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-696x248.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-1068x380.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer-1180x420.png 1180w, https://www.osradar.com/wp-content/uploads/2018/06/installing-composer.png 1261w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>Now go to laravel directory and create new laravel project to do this enter these commands. Note: in my case osreader is project name you can change it by yours.</p>
<table>
<tbody>
<tr>
<td width="623">$<strong> cd /var/www/html$ sudo composer create-project laravel/laravel osreader &#8211;prefer-dist</strong></td>
</tr>
</tbody>
</table>
<h3><img loading="lazy" class="aligncenter wp-image-3927 size-full" src="https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project.png" alt="create-laravel-project" width="769" height="381" srcset="https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project.png 769w, https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project-300x149.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project-768x381.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project-324x160.png 324w, https://www.osradar.com/wp-content/uploads/2018/06/create-laravel-project-696x345.png 696w" sizes="(max-width: 769px) 100vw, 769px" /></h3>
<h3>Step 5 — Configure Apache2</h3>
<p>After installing the composer, now we need to configure Apache2 to use it with Laravel files. This file will now control that how the user will access Laravel content. To configure Apahce2 follow the instruction given accordingly.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>sudo nano /etc/aache2/sites-available/Laravel.conf</strong></td>
</tr>
</tbody>
</table>
<p>After typing the command now copy and paste the following content to the file and save it.</p>
<table>
<tbody>
<tr>
<td width="623">&lt;VirtualHost *:80&gt;</p>
<p>ServerAdmin admin@osreader.com</p>
<p>DocumentRoot /var/www/html/osreader/public</p>
<p>ServerName osreader.com</p>
<p>&lt;Directory /var/www/html/osreader/public&gt;</p>
<p>Options +FollowSymlinks</p>
<p>AllowOverride All</p>
<p>Require all granted</p>
<p>&lt;/Directory&gt;</p>
<p>ErrorLog ${APACHE_LOG_DIR}/error.log</p>
<p>CustomLog ${APACHE_LOG_DIR}/access.log combined</p>
<p>&lt;/VirtualHost&gt;</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3926 size-full" src="https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel.png" alt="configure-apache-for-laravel" width="757" height="469" srcset="https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel.png 757w, https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel-300x186.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel-356x220.png 356w, https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel-696x431.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/configure-apache-for-laravel-678x420.png 678w" sizes="(max-width: 757px) 100vw, 757px" /></p>
<h3>Step 6 — Use and enable Laravel Rewrite module</h3>
<p>Now we need to use and enable the Laravel modules for further processing Just follow the instructions to do this.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>sudo a2ensite Laravel.conf</strong></td>
</tr>
<tr>
<td width="623"><strong>sudo a2enmod rewrite</strong></td>
</tr>
</tbody>
</table>
<h3>Step 7 — Restart Apache2</h3>
<p>After performing all the settings and installation, now it’s time to restart the Apache2 so that it will run after, and can be used. Now type the following command and restart the Apache2.</p>
<p><strong>Command</strong>:</p>
<table>
<tbody>
<tr>
<td width="623"><strong>sudo systemctl restart Apache2.service</strong></td>
</tr>
</tbody>
</table>
<p>After complete these steps you are ready to go with your Laravel Project.</p>
<p><img loading="lazy" class="aligncenter wp-image-3925 size-large" src="https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-1024x465.png" alt="laravel-homePage" width="696" height="316" srcset="https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-1024x465.png 1024w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-300x136.png 300w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-768x349.png 768w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-696x316.png 696w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-1068x485.png 1068w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage-924x420.png 924w, https://www.osradar.com/wp-content/uploads/2018/06/laravel-homePage.png 1261w" sizes="(max-width: 696px) 100vw, 696px" /><strong>Conclusion:</strong></p>
<p>After performing all the steps accordingly, we are now able to install Laravel framework to Ubuntu as well as installing and configuration of Apache2. You just need to perform steps accordingly to avoid any mistakes. However, if you still face any problem regarding this, you can contact us anytime.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/">How to Install Laravel on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-laravel-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install MongoDB on Ubuntu 18.04</title>
		<link>https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/</link>
					<comments>https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Tue, 29 May 2018 21:20:56 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[install ubuntu]]></category>
		<category><![CDATA[mongodb]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=3543</guid>

					<description><![CDATA[<p>Install MongoDB on Ubuntu 18.04 LTS Server Before starting the installation of MongoDB on Ubuntu. Let’s have a description about MongoDB. MongoDB a type of database in which we deal with document i.e. database which is more scalable and flexible with the queries that you run to get results on specific conditions. MongoDB is a [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/">How to Install MongoDB 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>Install MongoDB on Ubuntu 18.04 LTS Server</p>
<p>Before starting the installation of MongoDB on Ubuntu. Let’s have a description about MongoDB. MongoDB a type of database in which we deal with document i.e. database which is more scalable and flexible with the queries that you run to get results on specific conditions. MongoDB is a very fast and more easy to use than traditional database.</p>
<p>In this article we will learn how to install and manage MongoDb to use in our Ubuntu 18.04 server. So let’s start by the following steps.</p>
<h2>STEP1:  ADDING MONGODB PACKAGE REPOSITORY TO UBUNTU.</h2>
<p>The first step for installing MongoDB on Ubuntu is to add repository files of MongoDB. Actually MongoDB is already in the repository in the Ubuntu by default. But the version in the repositories might not be the latest to your requirements. Therefore, to get the latest version of MongoDB, you have to add its repository in the Ubuntu. Following is the process to add official repository key by command.</p>
<p><strong>Command:  </strong></p>
<pre>sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5</pre>
<p><img loading="lazy" class="aligncenter wp-image-3545 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/add-repo-1024x472.png" alt="" width="696" height="321" srcset="https://www.osradar.com/wp-content/uploads/2018/05/add-repo-1024x472.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-768x354.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-696x321.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-1068x492.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-911x420.png 911w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo.png 1325w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p>After adding repository key into Ubuntu server, then you have to add the repository to your own system. For this do follow the command mentioned below:</p>
<p><strong>Command</strong>:</p>
<pre>echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3544 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-1024x480.png" alt="" width="696" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-1024x480.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-768x360.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-1068x500.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system-897x420.png 897w, https://www.osradar.com/wp-content/uploads/2018/05/add-repo-to-system.png 1347w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<h2>Step 2: Install MongoDB on Ubuntu 18.04</h2>
<p>After adding repositories, you have to install MongoDB on Ubuntu, for this purpose follow the instructions by typing the following commands. This will install MongoDB completely on your Ubuntu and you will get access to use MongoDB.</p>
<p><strong>Command: </strong></p>
<pre>sudo apt update<strong> </strong>
<strong>sudo apt install -y mongodb-org</strong></pre>
<h2><img loading="lazy" class="aligncenter wp-image-3547 size-full" src="https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo.png" alt="" width="877" height="515" srcset="https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo.png 877w, https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo-768x451.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo-696x409.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/installing-mongo-715x420.png 715w" sizes="(max-width: 877px) 100vw, 877px" /></h2>
<h2>Step 3: Start MongoDB</h2>
<p>After the successful installation of MongoDB over Ubuntu, you can now start MongoDB and manage its components. To verify whether MongoDB is running and active, run following command.</p>
<p><strong>Command: </strong></p>
<pre>sudo systemctl status mongod</pre>
<p>&nbsp;</p>
<p><strong>To start MongoDB type</strong></p>
<pre>sudo service mongod start</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3546 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-1024x482.png" alt="" width="696" height="328" srcset="https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-1024x482.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-768x361.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-696x327.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-1068x502.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status-893x420.png 893w, https://www.osradar.com/wp-content/uploads/2018/05/cheking-status.png 1337w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<h2>Step 4: Configure Mongo or Open Mongo Shell</h2>
<p>When MongoDB is installed, then you can configure database username and passwords for further use. But before configuring username and passwords MongoDB shell has to be in running state or you have to open its shell. So for opening shell run or type the following command.</p>
<p><strong>Command:  </strong></p>
<pre>mongo</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3550 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-1024x480.png" alt="" width="696" height="326" srcset="https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-1024x480.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-300x141.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-768x360.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-696x326.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-1068x501.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell-896x420.png 896w, https://www.osradar.com/wp-content/uploads/2018/05/mongoshell.png 1303w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<p><strong> </strong></p>
<h2>Step 5:  Use database Admin Mode</h2>
<p>After opening the shell, you may need to move or switch to the database admin where you can create users and passwords respectively. For this purpose, just use the command mentioned below.</p>
<p><strong>Command:  </strong></p>
<pre>use admin</pre>
<p>&nbsp;</p>
<h2>Step 6:  Create root user for database</h2>
<p>Once you are in the database admin mode, now you can create root user for database. This root user will have permission and roles as an admin to the database. To create root user type following command using your own username and password.</p>
<p><strong>Command: </strong></p>
<pre>db.createUser({user:"user1", pwd:"adminuser", roles:[{role:"root", db:"admin"}]})</pre>
<p>&nbsp;</p>
<p><img loading="lazy" class="aligncenter wp-image-3552 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/userverify-1024x471.png" alt="" width="696" height="320" srcset="https://www.osradar.com/wp-content/uploads/2018/05/userverify-1024x471.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/userverify-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/userverify-768x354.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/userverify-696x320.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/userverify-1068x492.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/userverify-912x420.png 912w, https://www.osradar.com/wp-content/uploads/2018/05/userverify.png 1297w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<h2>Step 7:  MongoDB authentication</h2>
<p>When you done with creating your root user, then after exiting the MongoDB, you can now authenticate this. To authenticate MongoDb use the following command.</p>
<p><strong>Command:  </strong></p>
<pre>nano /lib/systemd/system/mongod.serviceExecStart=/usr/bin/mongod --auth --config /etc/mongod.confsystemctl daemon-reload</pre>
<p><strong> </strong></p>
<p><strong> <img loading="lazy" class="aligncenter wp-image-3549 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-1024x488.png" alt="" width="696" height="332" srcset="https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-1024x488.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-300x143.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-768x366.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-696x332.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-1068x509.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth-880x420.png 880w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-enable-auth.png 1285w" sizes="(max-width: 696px) 100vw, 696px" /></strong></p>
<p><strong>Step 8: Connect MongoDB after restarting</strong></p>
<p>After complete authentication and restarting of MongoDB, now you have to connect again with the details of username and password, you have created earlier in the creating root user step<strong>. </strong>Step 8: to connect run the following command.</p>
<p><strong>Command: </strong></p>
<p><strong>to connect MongoDB</strong></p>
<pre>mongo -u admin -p admin123 --authenticationDatabase admin</pre>
<p><strong> to restart MongoDB*</strong></p>
<pre><strong>sudo service mongod restart     </strong></pre>
<p><img loading="lazy" class="aligncenter wp-image-3548 size-large" src="https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-1024x472.png" alt="" width="696" height="321" srcset="https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-1024x472.png 1024w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-300x138.png 300w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-768x354.png 768w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-696x321.png 696w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-1068x492.png 1068w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login-911x420.png 911w, https://www.osradar.com/wp-content/uploads/2018/05/mongo-auth-login.png 1317w" sizes="(max-width: 696px) 100vw, 696px" /></p>
<h2>Conclusion:</h2>
<p>After following all the guideline, you are now able to install MongoDb repositories in Ubuntu as well as in your system. And using MongoDb to manage and authenticate as well as creating root user. However, you should follow the same procedure to make it accurate. If you face any problem, then leave a message or comment. We will help you in every matter<strong>.</strong></p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/">How to Install MongoDB on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-install-mongodb-on-ubuntu-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Ubuntu 18.04 LTS</title>
		<link>https://www.osradar.com/how-to-install-ubuntu-18-04-lts/</link>
					<comments>https://www.osradar.com/how-to-install-ubuntu-18-04-lts/#respond</comments>
		
		<dc:creator><![CDATA[Mel]]></dc:creator>
		<pubDate>Mon, 30 Apr 2018 15:26:43 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[how to install ubuntu]]></category>
		<category><![CDATA[install ubuntu]]></category>
		<category><![CDATA[ubuntu 18]]></category>
		<category><![CDATA[ubuntu 18.04]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=2821</guid>

					<description><![CDATA[<p>Ubuntu is one of the most popular Linux distros in the world. In fact, it can also be said the most popular one because of its simplicity accompanied by its power. Canonical is the maintainer of Ubuntu, one of the easiest &#38; user-friendly distro out there. Recently, Ubuntu 18.04 LTS has been released. You can [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ubuntu-18-04-lts/">How to Install Ubuntu 18.04 LTS</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 is one of the most popular Linux distros in the world. In fact, it can also be said the most popular one because of its simplicity accompanied by its power. Canonical is the maintainer of Ubuntu, one of the easiest &amp; user-friendly distro out there. Recently, Ubuntu 18.04 LTS has been released.</p>
<p>You can check out <a href="https://www.osradar.com/ubuntu-18-04-lts-better-than-ever/">all the new features of Ubuntu 18.04</a>. Now, you are obviously excited to use it in your system, right? Moreover, there’s a really powerful feature called “Minimal” installation that can save a lot of space on your system. Although that’s optimized for cloud solutions and only experts, today we’re going to take a look. Note that you can also follow the same steps for installing Ubuntu 18.04 LTS like any other normal system.</p>
<h3>Preparing the system</h3>
<p>Before you get yourself with the latest Ubuntu, it’s always safe to make a backup of your important files, especially on your “home” folder. Take a backup, <a href="http://releases.ubuntu.com/18.04/">download the Ubuntu ISO</a>, m<a href="https://www.osradar.com/how-to-make-a-bootable-usb-flash-drive/">ake a bootable USB flash drive</a> and boot into the installation media.</p>
<h3>Installing Ubuntu</h3>
<p>Let’s start with installing Ubuntu 18.04 LTS.</p>
<ul>
<li>After booting up, you’ll get into the option for installing and trying Ubuntu. Let’s go with “Install Ubuntu”. You can also enjoy the live session if you want.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2822 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu.png" alt="" width="961" height="564" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu.png 961w, https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu-768x451.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu-696x408.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-1-install-ubuntu-716x420.png 716w" sizes="(max-width: 961px) 100vw, 961px" /></p>
<ul>
<li>Select your keyboard layout here.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2823 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout.png" alt="" width="961" height="568" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout.png 961w, https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout-300x177.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout-768x454.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout-696x411.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-2-keyboard-layout-711x420.png 711w" sizes="(max-width: 961px) 100vw, 961px" /></p>
<ul>
<li>Here’s the interesting part of Ubuntu where you can go with normal and minimal installation type. I’m going with “Minimal” installation. You can choose the normal one. Make sure to check out the option of installing 3<sup>rd</sup>-party software as well.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2824 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option.png" alt="" width="961" height="563" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option.png 961w, https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option-768x450.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option-696x408.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-3-installation-option-717x420.png 717w" sizes="(max-width: 961px) 100vw, 961px" /></p>
<ul>
<li>You have the option of making changes to your partition table. Make sure that you don’t delete any important partition, or you’ll end up in a huge loss. Moreover, make sure to create at least 4GB of “swap” file and 16GB (recommended 64GB) of “/” mount point.</li>
<li>You have to choose your time zone. Select the appropriate location for yourself.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2825 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone.png" alt="" width="966" height="571" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone.png 966w, https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone-300x177.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone-768x454.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone-696x411.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-4-time-zone-711x420.png 711w" sizes="(max-width: 966px) 100vw, 966px" /></p>
<ul>
<li>Enter your favorite user account name and other credentials here.</li>
</ul>
<p><img loading="lazy" class="size-full wp-image-2826 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account.png" alt="" width="965" height="567" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account.png 965w, https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account-300x176.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account-768x451.png 768w, https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account-696x409.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-5-create-user-account-715x420.png 715w" sizes="(max-width: 965px) 100vw, 965px" /></p>
<p>Let’s wait for the process to finish. Depending on your location and other things, it might take a while for the process to complete. After completing the process, you have to restart your system.</p>
<p><img loading="lazy" class="size-full wp-image-2827 aligncenter" src="https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation.png" alt="" width="752" height="563" srcset="https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation.png 752w, https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation-300x225.png 300w, https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation-80x60.png 80w, https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation-265x198.png 265w, https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation-696x521.png 696w, https://www.osradar.com/wp-content/uploads/2018/04/step-6-wait-installation-561x420.png 561w" sizes="(max-width: 752px) 100vw, 752px" /></p>
<p>Done! Let’s enjoy the fun and excitement of the brand new Ubuntu 18.04 LTS!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-install-ubuntu-18-04-lts/">How to Install Ubuntu 18.04 LTS</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-ubuntu-18-04-lts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
