<?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>Linux &#8211; MaXEster Technologies  | Technical Blog</title>
	<atom:link href="https://www.maxester.com/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.maxester.com/blog</link>
	<description>Tutorials, Examples and Implementation code for Developers Help</description>
	<lastBuildDate>Mon, 17 Feb 2025 09:17:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.22</generator>
	<item>
		<title>How To Install MySQL on Ubuntu 18.04</title>
		<link>https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/</link>
		<comments>https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/#respond</comments>
		<pubDate>Mon, 14 Sep 2020 18:43:43 +0000</pubDate>
		<dc:creator><![CDATA[Maxester]]></dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.maxester.com/blog/?p=1052</guid>
		<description><![CDATA[<p>It&#8217;s very easy to install MySQL on the Ubuntu server by using the below commands sudo apt update sudo apt install mysql-server sudo mysql_secure_installation For details follow the below steps 1st Step First, of all run the command sudo apt&#8230;</p>
<p><a href="https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/" class="btn-more">Read More<span class="arrow-more">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/">How To Install MySQL on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[
<p>It&#8217;s very easy to install MySQL on the Ubuntu server by using the below commands</p>



<p> sudo apt update<br> sudo apt install mysql-server<br> sudo mysql_secure_installation</p>



<p>For details follow the below steps </p>



<center>
<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Fads -->
<ins class="adsbygoogle fads" style="display:inline-block;" data-ad-client="ca-pub-3804472713147276" data-ad-slot="1267368188"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>



<p>1st Step </p>



<p>First, of all run the command</p>



<p>sudo apt update </p>



<p>when the command executes successfully then run the MySQL server command</p>



<p>sudo apt install mysql-server</p>



<p>press y for the installation properly.</p>



<p>2nd Step</p>



<p>Configure Mysql</p>



<p>Run command </p>



<p>sudo mysql_secure_installation</p>



<p>This will come with many prompts for asking in case you understand the point put the value y or n which stands for yes or no.</p>



<p>Otherwise, you will enter and the question will skips.</p>



<p>Mysql install with root username and no password</p>



<p>so run command </p>



<p>sudo MySQL</p>



<p>this will come like this </p>



<p>mysql&gt; </p>



<p>after that use the below steps for making the password for the root user</p>



<p>mysql&gt; SELECT user,authentication_string,plugin,host FROM MySQL.user;</p>



<p>The output will come like this</p>



<p>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
| user             | authentication_string                     | plugin                | host      |<br>
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
| root             |                                           | auth_socket           | localhost |<br>
| mysql.session    | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost |<br>
| mysql.sys        | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost |<br>
| debian-sys-maint | *CC744277A401A7D25BE1CA89AFF17BF607F876FF | mysql_native_password | localhost |<br>
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
4 rows in set (0.00 sec)</p>



<center>
<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Fads -->
<ins class="adsbygoogle fads" style="display:inline-block;" data-ad-client="ca-pub-3804472713147276" data-ad-slot="1267368188"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>



<p>If the root user shows auth_socket means the root user has no authentication so for adding a password for the root user run the below command</p>



<p>mysql&gt; ALTER USER &#8216;root&#8217;@&#8217;localhost&#8217; IDENTIFIED WITH mysql_native_password BY &#8216;password&#8217;;</p>



<p>&#8216;password&#8217; &#8212; put the password which you want to set;</p>



<p>when the command runs successfully</p>



<p>Flush all the privileges by using the below command</p>



<p>mysql&gt; FLUSH PRIVILEGES;</p>



<p>After the when you run the user command <br>
mysql&gt;SELECT user,authentication_string,plugin,host FROM mysql.user;</p>



<p>you will get the output</p>



<p>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
| user             | authentication_string                     | plugin                | host      |<br>
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
| root             | *3636DACC8616D997782ADD0839F92C1571D6D78F | mysql_native_password | localhost |<br>
| mysql.session    | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost |<br>
| mysql.sys        | *THISISNOTAVALIDPASSWORDTHATCANBEUSEDHERE | mysql_native_password | localhost |<br>
| debian-sys-maint | *CC744277A401A7D25BE1CA89AFF17BF607F876FF | mysql_native_password | localhost |<br>
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8211;+<br>
4 rows in set (0.00 sec)</p>



<p>there is no auth_socket because now the root user has a password.</p>



<p>Now you can exit from MySQL using the exit command</p>



<p>mysql&gt; exit</p>



<p>Again try to login directly using the MySQL command</p>



<p>sudo mysql</p>



<p>you will get the error prompt for you to have authentication.</p>



<p>Now use the below command</p>



<p>mysql -u root -p</p>



<p>enter the command you will ask for a password put the password you log in.</p>



<p>mysql&gt;</p>



<p>Mysql Install successfully and password for root user add.</p>



<p>If you want to create a new user for MySQL use below steps</p>



<center>
<script async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Fads -->
<ins class="adsbygoogle fads" style="display:inline-block;" data-ad-client="ca-pub-3804472713147276" data-ad-slot="1267368188"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>



<p>Login in MySQL using the above command</p>



<p>mysql -u root -p</p>



<p>enter the password then you log in.</p>



<p>mysql&gt;</p>



<p>Now use the below command to create a new user</p>



<p>mysql&gt;CREATE USER &#8216;max&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;password&#8217;;</p>



<p>You can use username as you want in place of &#8216;max&#8217; and password in place of &#8216;password&#8217;</p>



<p>After run successfully this command grant access to this user by using the below command</p>



<p>mysql&gt;GRANT ALL PRIVILEGES ON <em>.</em> TO &#8216;max&#8217;@&#8217;localhost&#8217; WITH GRANT OPTION;</p>



<p>After the query ok you will exit and login with this new user.</p>



<p>mysql&gt; exit</p>



<p>Using the below command you can check the new user access</p>



<p>mysql -u max -p </p>



<p>and put the password after this above command.</p>



<p>you will log in successfully</p>



<p>mysql&gt;</p>



<p>If you still face any issue please feel free to put your command in the comment section as we get the comment we will help you to resolve your issue.</p>



<p>Have a great day. </p>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/">How To Install MySQL on Ubuntu 18.04</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.maxester.com/blog/2020/09/14/how-to-install-mysql-on-ubuntu-18-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install LAMP stack in linux?</title>
		<link>https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/</link>
		<comments>https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/#comments</comments>
		<pubDate>Mon, 26 Aug 2019 13:29:16 +0000</pubDate>
		<dc:creator><![CDATA[Bhaskar Chaudhary]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">https://www.maxester.com/blog/?p=635</guid>
		<description><![CDATA[<p>LAMP stack consist of four layers: Linux &#8211; which you clearly have. Apache&#8211; Its a Free &#38; open source web server software. MySql &#8211; It is a relational Database system. Php &#8211; Most commonly used Server side language To install&#8230;</p>
<p><a href="https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/" class="btn-more">Read More<span class="arrow-more">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/">How to Install LAMP stack in linux?</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[
<p style="text-align:left"><strong>LAMP</strong> stack consist of four layers:</p>



<p><strong>Linux</strong> &#8211; which you clearly have.</p>



<p><strong>Apache</strong>&#8211; Its a Free &amp; open source web server software.</p>



<p><strong>MySql</strong> &#8211; It is a relational Database system.</p>



<p><strong>Php</strong> &#8211; Most commonly used Server side language</p>



<p></p>



<center>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Fads -->
<ins class="adsbygoogle fads"
     style="display:inline-block;"
     data-ad-client="ca-pub-3804472713147276"
     data-ad-slot="1267368188"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>




<p>To install Lamp the easiest way we need to Install Tasksel</p>



<pre class="wp-block-code"><code>sudo apt install tasksel</code></pre>



<p>Now install lamp Server</p>



<pre class="wp-block-code"><code>sudo tasksel install lamp-server

</code></pre>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/">How to Install LAMP stack in linux?</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.maxester.com/blog/2019/08/26/how-to-install-lamp-stack-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What Are Linux distros?</title>
		<link>https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/</link>
		<comments>https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/#respond</comments>
		<pubDate>Fri, 23 Aug 2019 05:41:38 +0000</pubDate>
		<dc:creator><![CDATA[Bhaskar Chaudhary]]></dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">https://www.maxester.com/blog/?p=626</guid>
		<description><![CDATA[<p>Linux an open-source Unix inspired Operating system. It is typically packaged in Linux Distribution. Disto is IT vernacular of Distribution There are several Distros available with having a huge community support Some of which are Debian After being release in&#8230;</p>
<p><a href="https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/" class="btn-more">Read More<span class="arrow-more">&#8594;</span></a></p>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/">What Are Linux distros?</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[
<p>Linux an open-source Unix inspired Operating system.</p>



<div class="wp-block-image"><figure class="alignright is-resized"><img src="https://www.maxester.com/blog/wp-content/uploads/2019/08/tux.png" alt="" class="wp-image-627" width="225" height="265"/><figcaption>Tux the penguin (Mascot)</figcaption></figure></div>



<p>It is typically packaged in Linux Distribution.  <br><strong>Disto </strong>is IT vernacular of  <br><strong>Distribution </strong></p>



<p>There are several Distros  available with having a huge community support</p>



<p>Some of which are</p>



<center>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Fads -->
<ins class="adsbygoogle fads"
     style="display:inline-block;"
     data-ad-client="ca-pub-3804472713147276"
     data-ad-slot="1267368188"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>
</center>




<ul><li><strong>Debian</strong> After being release in 1993 by Debian Project is mostly used for personal computing and network Servers.</li><li><strong>Ubuntu</strong> is the Most popular distro Used for Cloud computing and OpenStack it has a release cycle of 6 months.</li><li><strong>Fedora</strong> Sponsered by Red hat it is used for Personal Computing, Servers, and Cloud Computing.</li></ul>



<figure class="wp-block-image"><img src="https://www.maxester.com/blog/wp-content/uploads/2019/08/distro.png" alt="" class="wp-image-629" srcset="https://www.maxester.com/blog/wp-content/uploads/2019/08/distro.png 620w, https://www.maxester.com/blog/wp-content/uploads/2019/08/distro-300x77.png 300w" sizes="(max-width: 620px) 100vw, 620px" /></figure>
<p>The post <a rel="nofollow" href="https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/">What Are Linux distros?</a> appeared first on <a rel="nofollow" href="https://www.maxester.com/blog">MaXEster Technologies  | Technical Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.maxester.com/blog/2019/08/23/what-are-linux-distros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
