<?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>RHEL - Techyaz.com</title>
	<atom:link href="https://techyaz.com/tag/rhel/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Fri, 01 Jun 2018 12:06:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>RHEL - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</title>
		<link>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/</link>
					<comments>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Mon, 12 Mar 2018 10:41:35 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1906</guid>

					<description><![CDATA[<p>In IT’s World, it is common to hear about system users, especially if you work in the administration of systems under that environment. GNU/LINUX is a multiuser and reliable operating system in terms of security, but it is always good&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/">Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In IT’s World, it is common to hear about system users, especially if you work in the administration of systems under that environment. GNU/LINUX is a multiuser and reliable operating system in terms of security, but it is always good to know the basics of managing system users. Well, today we&#8217;ll be talking about creating, modifying and deleting users in the GNU/LINUX systems. Here, i will explain how to add user to Linux and Modify or remove user to Linux machine.</p>
<h3><span style="color: #333399;">USERS IN GNU/LINUX<strong> </strong></span></h3>
<p>The first thing we need to know is that, in GNU/LINUX there are different types of users already predefined and each of them have different characteristics for the correct functioning of the system. The first of these is the <strong>root</strong> user.</p>
<p><strong>Root user</strong></p>
<p>The Root user is the administrator of the operating system, with all options and permissions to perform operations and changes in the system. Its main features are:</p>
<ul>
<li>It is the only user account with system-wide privileges.</li>
<li>In charge of controlling the administration of user accounts.</li>
<li>It is the only user that can stop the system.</li>
<li>The root user can install, uninstall and update basic system programs and libraries.</li>
</ul>
<p>In other words, the root user is the all-powerful user of the system.</p>
<p><strong>Special Users</strong><strong> </strong></p>
<p>They are also called users without login. Their roles in the system are determined by the addition of installed programs. They are distinguished by:</p>
<ul>
<li>They are created (usually) automatically at the time of Linux or application installation.</li>
<li>It does not have all the privileges of the root user, but depending on the account they assume different root privileges.</li>
<li>They are created when installing the system or any of its extra components.</li>
<li>Some of them are: bin, daemon, adm, lp, sync, shutdown, mail, operator, squid, apache</li>
</ul>
<p><strong>Common Users</strong><strong> </strong></p>
<p>These last users are us. That is, they are accounts that are created to use all accessible parts of the system, such as assigned programs and directories. They have a Home directory where they can easily access their documents and files.</p>
<ul>
<li>Such users have only full privileges in their working directory or HOME.</li>
<li>They are used for individual users.</li>
<li>These users do not have privileges to manage the system or install software.<strong> </strong></li>
</ul>
<h5><span style="color: #993300;"><strong>How to Create or Add USERS TO Linux Systems?</strong></span></h5>
<p>The adduser command is a &#8220;new&#8221; alternative to the useradd binary that allows us to add common users to our GNU/LINUX distribution. It is much more &#8220;friendly&#8221; and intuitive than useradd and allows us to add additional information about the new user. Here we will learn how to create user on Linux system.</p>
<p>In order to use the adduser command we must be root users, for that reason write the following command in a terminal</p>
<pre><span style="color: #008000;"><strong>#Connect using su.</strong></span>
<span style="color: #0000ff;"><strong>su</strong></span></pre>
<p><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-1907" src="http://techyaz.com/wp-content/uploads/2018/03/1-su-min.png" alt="" width="648" height="110" srcset="https://techyaz.com/wp-content/uploads/2018/03/1-su-min.png 648w, https://techyaz.com/wp-content/uploads/2018/03/1-su-min-300x51.png 300w" sizes="(max-width: 648px) 100vw, 648px" /></p>
<p>You need to write the root password then we can use adduser. The most basic way to use the adduser command is:</p>
<pre><span style="color: #0000ff;"><strong>adduser new_user</strong><strong> </strong></span></pre>
<p>where new_user is the name of user account. With this &#8220;basic&#8221; form a new user is created and by giving Enter we are asked to enter the new password for this new user account.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-1908" src="http://techyaz.com/wp-content/uploads/2018/03/2-adduser-min.png" alt="Add Linux User" width="599" height="191" srcset="https://techyaz.com/wp-content/uploads/2018/03/2-adduser-min.png 599w, https://techyaz.com/wp-content/uploads/2018/03/2-adduser-min-300x96.png 300w" sizes="(max-width: 599px) 100vw, 599px" /></p>
<p>Type the password for your new user account and press Enter. Prompt will ask you to reenter the same password. Re-enter the password and press enter button.</p>
<p><img decoding="async" class="aligncenter size-full wp-image-1909" src="http://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min.png" alt="Set Password for New User in Linux" width="567" height="193" srcset="https://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min.png 567w, https://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min-300x102.png 300w" sizes="(max-width: 567px) 100vw, 567px" /></p>
<p>After that you will be asked for any additional information such as Full Name, phone number etc.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1910" src="http://techyaz.com/wp-content/uploads/2018/03/4-fullName-min.png" alt="Enter User Account Details" width="588" height="244" srcset="https://techyaz.com/wp-content/uploads/2018/03/4-fullName-min.png 588w, https://techyaz.com/wp-content/uploads/2018/03/4-fullName-min-300x124.png 300w" sizes="auto, (max-width: 588px) 100vw, 588px" /></p>
<p>At the end, prompt will ask us to confirm the information provided. Type Y to proceed if all information is correct.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1911" src="http://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min.png" alt="Enter User Details" width="587" height="343" srcset="https://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min.png 587w, https://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min-300x175.png 300w" sizes="auto, (max-width: 587px) 100vw, 587px" /></p>
<p>Now, as mentioned above, that is the most basic way to create a user but adduser also has options and alternatives to create users. These alternatives are given by the options that can be added to the command, some of them are:</p>
<pre><strong><span style="color: #0000ff;">adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID]</span></strong>
<strong><span style="color: #0000ff;">[--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID]</span></strong>
<strong><span style="color: #0000ff;">[--disabled-password] [--disabled-login] [--add_extra_groups] USER

</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1912" src="http://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min.png" alt="Add Linux User options" width="691" height="562" srcset="https://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min.png 691w, https://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min-300x244.png 300w" sizes="auto, (max-width: 691px) 100vw, 691px" /></p>
<p>You can see various options available with adduser command in above screenshot. Let&#8217;s look at example. If you would like to add a user named <em>angelob</em>, and set their home directory to <em>/opt/angelob/</em> the the command will be as follows.</p>
<pre><strong><span style="color: #0000ff;">adduser --home /opt/angelob/ angelob</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1913" src="http://techyaz.com/wp-content/uploads/2018/03/7-adduser-min.png" alt="Add User" width="634" height="192" srcset="https://techyaz.com/wp-content/uploads/2018/03/7-adduser-min.png 634w, https://techyaz.com/wp-content/uploads/2018/03/7-adduser-min-300x91.png 300w" sizes="auto, (max-width: 634px) 100vw, 634px" /></p>
<p>And then it will ask us for the new password and basic user information. This way you can add user to Linux system.</p>
<h5><span style="color: #993300;"><strong>How to Delete Linux User Accounts?</strong></span><strong> </strong></h5>
<p>As in above section we have learnt how to create user on Linux system. Here i will explain how remove user from Linux system. Removing users from the Linux system is simple and the command to do so is <em><strong>userdel</strong></em> and has many fewer options to make the task. You can see the descriptions for this command in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1914" src="http://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min.png" alt="Delete Linux User" width="704" height="254" srcset="https://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min.png 704w, https://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min-300x108.png 300w" sizes="auto, (max-width: 704px) 100vw, 704px" /></p>
<p>The easiest way to delete a user is to remove it by running below command. Here user is the name of user account.</p>
<pre><span style="color: #0000ff;"><strong><span style="color: #008000;">#user is the name of user account.</span>
userdel user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1915" src="http://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min.png" alt="Remove Linux User" width="605" height="103" srcset="https://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min.png 605w, https://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min-300x51.png 300w" sizes="auto, (max-width: 605px) 100vw, 605px" /></p>
<p>We can also delete your entire personal directory with the -r option. Run below command to do this.</p>
<pre><span style="color: #0000ff;"><strong>userdel -r user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1916" src="http://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min.png" alt="Drop Linux user" width="629" height="98" srcset="https://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min.png 629w, https://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min-300x47.png 300w" sizes="auto, (max-width: 629px) 100vw, 629px" /></p>
<h5><span style="color: #993300;"><strong>How to Modify Linux User Accounts?</strong><strong> </strong></span></h5>
<p>I have shown how to remove Linux user  in above section. Here, i will explain how to modify a Linux user. To modify users in the GNU/LINUX system we use the command <strong><em>usermod</em></strong>. We can see in the following image the possibilities shown in command:</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1917" src="http://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min.png" alt="Modify Linux User" width="705" height="572" srcset="https://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min.png 705w, https://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min-300x243.png 300w" sizes="auto, (max-width: 705px) 100vw, 705px" /></p>
<p>For example, if we wanted to change the password of a created user, it would be as follows.</p>
<pre><span style="color: #008000;"><strong>#user is the name of Linux user account.</strong></span>
<span style="color: #0000ff;"><strong>usermod -p ‘new_password’ user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1918" src="http://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min.png" alt="modify linux users" width="654" height="109" srcset="https://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min.png 654w, https://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min-300x50.png 300w" sizes="auto, (max-width: 654px) 100vw, 654px" /></p>
<p>Obviously this method is not recommended because it leaves the password visible. Be careful. Read below article if you want to change your Linux user account password.</p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change User Password on RHEL?</a></strong></li>
</ul>
<p>Another useful example is to move the personal folder of the desired user to another one, for it we must combine the options -d and -m in the following way.</p>
<p><span style="color: #0000ff;"><strong>usermod -d /opt/angelob1/ -m angelob</strong></span></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1919" src="http://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min.png" alt="Modify Linux user" width="619" height="107" srcset="https://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min.png 619w, https://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min-300x52.png 300w" sizes="auto, (max-width: 619px) 100vw, 619px" /></p>
<p>With the rest of the options, we only have to place them according to our needs.</p>
<p>In conclusion we can say that the administration of GNU/LINUX users is a matter for system administrators, the subject is wide and with many options to take into account for the creation of them.</p>
<p><em>Adduser</em> simplifies the creation of user accounts and <em>usermod</em> allows us to modify them in a very fast and dynamic way. And if a user has already completed his life cycle in the system, we can remove it with <em>userdel</em>.</p>
<p>I hope this small guide has been useful to understand a little bit about GNU/LINUX users, clarifying that the commands explained in the article can be used in all popular distributions such as Ubuntu, Red Hat, Suse, Debian and others.<br />
I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><em><span style="color: #800000;"><strong>Read More:</strong></span></em></p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/red-hat-enterprise-linux-interview-questions-answers/" target="_blank" rel="noopener">RHEL Interview Questions and Answers</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RHEL system?</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/install-htop-monitor-linux-processes/" target="_blank" rel="noopener">How to Install and Use Htop to Monitor Linux Processes?</a></strong></li>
<li><strong><a href="http://techyaz.com/debian/how-to-install-debian-9-stretch/" target="_blank" rel="noopener">Install Debian 9 Stretch in Step by Step Process</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/">Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Red Hat Enterprise Linux Interview Questions and Answers</title>
		<link>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/</link>
					<comments>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Mon, 26 Feb 2018 09:32:20 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[RedHat Linux Interview Questions]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Linux Interview Questions and Answers]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1901</guid>

					<description><![CDATA[<p>When we talk about GNU/LINUX distributions we find a big collection of them, which can cover practically all the needs in almost all areas. Some of them range from simple home use to commercial production. The GNU/LINUX distribution that we&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/">Red Hat Enterprise Linux Interview Questions and Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When we talk about GNU/LINUX distributions we find a big collection of them, which can cover practically all the needs in almost all areas. Some of them range from simple home use to commercial production. The GNU/LINUX distribution that we will be talking about not only has a great impact on the &#8220;penguin&#8221; world, but also on the business sector is an obligatory reference because of its stability, commercial support and solutions applied to the cloud. Welcome to Red Hat Enterprise Linux. This article is about Red Hat Enterprise Linux Interview Questions and Answers that will help you to crack your technical round of Linux interviews.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1902 alignright" src="http://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA.png" alt="Red Hat Linux Interview Questions and Answers" width="300" height="300" srcset="https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA.png 300w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-150x150.png 150w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-160x160.png 160w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-320x320.png 320w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<h3><span style="color: #333399;">Red Hat Linux Interview Questions and Answers</span></h3>
<p><strong>1. What is Red Hat Enterprise Linux?</strong></p>
<p><strong>Answer &#8211;</strong> It is a GNU/LINUX distribution created and developed by the multinational enterprise oriented company Red Hat, being the basis for deploying cloud applications, servers or data center.</p>
<p><strong>2. Which is the package manager used by RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> The package manager in RHEL is YUM.</p>
<p><strong>3. How do I install a program in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Installing a package or program in RHEL is simple thanks to YUM. With root permission we type in a terminal.</p>
<pre><strong><span style="color: #0000ff;">yum install package_name</span></strong></pre>
<p><strong>4. How can I update the packages in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Run below command to update all packages in your RHEL system.</p>
<pre><strong><span style="color: #0000ff;">yum upgrade</span></strong></pre>
<p><strong>5. How can I remove the packages in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Run below command to remove any package from RedHat Linux system.</p>
<pre><span style="color: #008000;"><strong>#Make sure to change the name of package that needs to be removed.</strong></span>
<strong><span style="color: #0000ff;">yum remove package_name</span></strong></pre>
<p><strong>6. How can I create a user in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> We can create a new user from the terminal with the command:</p>
<pre><strong><span style="color: #008000;">#Pass the user name in place of user_name </span></strong>
<span style="color: #0000ff;"><strong>useradd user_name</strong></span></pre>
<p><strong>7. How can I change the user password?</strong></p>
<p><strong>Answer &#8211;</strong> The command that allows us to change the password of the active user is <em><strong>passwd</strong></em>. By entering the command in the terminal, you will be prompted for the current password and twice for the new password. Read below article to learn step by step process to change user as well as sudo passwords.</p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change User Password on RHEL?</a></strong></li>
</ul>
<p><strong>8. How can I change the system language?</strong></p>
<p><strong>Answer-</strong> In RHEL, the system language can be changed using the following command:</p>
<pre><strong><span style="color: #0000ff;">localectl set-locale LANG=”xx_XX.utf8”</span></strong></pre>
<p>For example, if the system is in English and we want to change to German</p>
<pre><strong><span style="color: #0000ff;">localectl set-locale LANG=de_DE.utf8</span></strong></pre>
<p>Then simply restart the active session (not the system)</p>
<p><strong>9. What is a GNU/LINUX service?</strong></p>
<p><strong>Answer &#8211;</strong> A service is a program that runs in the background, outside the interactive control of the users of the system.</p>
<p><strong>10. How can I list the services that are running in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> This is very useful when managing systems in GNU/LINUX. We can list all the services that are running with the command:</p>
<pre><strong><span style="color: #0000ff;">systemctl -t service --state=active</span></strong></pre>
<p>If you want to check specific service running on RHEL then you can pass service name in above command. For example, i want to check SQL Server service running on my RHEL system then i will run below command. This command will show the output for only this service.</p>
<pre><strong><span style="color: #0000ff;">systemctl status mssql-server</span></strong></pre>
<p><strong>11. How can I start or stop a service?</strong></p>
<p><strong>Answer &#8211;</strong> During the administration of a GNU/LINUX based server we will have to initialize and also stop services.</p>
<p>To initialize:</p>
<pre><strong><span style="color: #0000ff;">systemctl start name.service </span></strong></pre>
<p>To Stop:</p>
<pre><strong><span style="color: #0000ff;">systemctl stop name.service</span></strong></pre>
<p>To Restart:</p>
<pre><strong><span style="color: #0000ff;">systemctl restart name.service</span></strong></pre>
<p><strong>12. How do I know which version of the kernel I am using?</strong></p>
<p><strong>Answer &#8211;</strong> To know which version of the Linux Kernel we are using, just use the command:</p>
<pre><strong><span style="color: #0000ff;">uname –r</span></strong></pre>
<p><strong>13. How can I add and remove kernel modules?</strong></p>
<p><strong>Answer &#8211;</strong> The kernel modules are small programs or libraries that are added to the kernel so that it can manage hardware devices. To add or remove it we use the command modprobe.</p>
<p>For example, to add a module:</p>
<pre><strong><span style="color: #0000ff;">modprobe module_name</span></strong></pre>
<p>And to remove a module</p>
<pre><strong><span style="color: #0000ff;">modprobe –r module_name</span></strong></pre>
<p><strong>14. What is the file system RHEL uses?</strong></p>
<p><strong>Answer &#8211;</strong> The file system used by RHEL is XFS</p>
<p><strong>15. How do I know how much space is available on my hard disk with RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> This is useful to know when we are reaching the hard disk capacity. With the command:</p>
<pre><strong><span style="color: #0000ff;">df –h</span></strong></pre>
<p><strong>16. Can I change hostname in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Yes. There are multiple ways to change hostname of a RHEL system. For example if we want hostname to be example. com, we must write the following command in a terminal:</p>
<pre><strong><span style="color: #0000ff;">hostnamectl set-hostname example.com
</span></strong></pre>
<p>I have explained it in below article in very details way. Have a look at this article to learn the process to rename or change the hostname of RHEL system.</p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RHEL system?</a></strong></li>
</ul>
<p><strong>17. How do I know the IP address of the equipment in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> With the command:</p>
<pre><strong><span style="color: #0000ff;">nmcli dev show</span></strong></pre>
<p>We will not only be able to see the ip address, but also the complete information of all the network interfaces. You can read below article to learn how to check and change the IP address, subnet mask etc of a RHEL system.</p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Find and Change IP Address, Subnet Mask and Default Gateway of RHEL system?</a></strong></li>
</ul>
<p><strong>18. Can I install a Web server in RHEL?</strong></p>
<p><strong>Answer-</strong> Of course, we can install the web server we want: Apache, nGix or other.</p>
<p><strong>19. After installing Apache2, where is the default Document Root located?</strong></p>
<p><strong>Answer &#8211;</strong> By default the apache2 DocumentRoot in RHEL sets it to /var/www/html/</p>
<p><strong>20. How do I know which version of Red Hat Enterprise Linux is running the server?</strong></p>
<p><strong>Answer &#8211;</strong> Run the command in a terminal to get the RHEL version running on your system.</p>
<pre><strong><span style="color: #0000ff;">/etc/redhat-release</span></strong></pre>
<p>I hope you like this set of Linux Interview Questions and Answers. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/">Red Hat Enterprise Linux Interview Questions and Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Reset or Change User Password on RedHat Linux</title>
		<link>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/</link>
					<comments>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 20 Dec 2017 15:00:30 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[change password]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1369</guid>

					<description><![CDATA[<p>Password change is a routine task to keep your login secure. We use passwd tool on most of the Linux operating systems to change user password. The passwd tool changes passwords for user and group accounts, even you can change your&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/">How to Reset or Change User Password on RedHat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Password change is a routine task to keep your login secure. We use <strong>passwd</strong> tool on most of the Linux operating systems to change user password. The <strong>passwd</strong> tool changes passwords for user and group accounts, even you can change your root password using this tool. If you are a normal user, you can change only your password using this tool whereas you can change the password for any account using root access.</p>
<p><em><span style="color: #800000;"><strong>Related Articles</strong></span></em></p>
<ul>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RedHat Linux Server?</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Change IP, Subnet Mask and Default Gateway of RHEL Machine?</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Step by Step Process to Install RHEL 7.3</a></li>
</ul>
<h3><span style="color: #333399;"><strong>Change User Password in Linux</strong></span></h3>
<p>We will use passwd command to change our own password. Type <strong>passwd</strong> without specifying a username if you are changing your password. You will be prompted to enter your old password for verification, and then a new password. Below is the high level steps to follow password change process.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>passwd</strong> and press Enter.</li>
<li>Type your <strong>current password</strong> and press Enter.</li>
<li>Now type your <strong>new password </strong>and press Enter.</li>
<li>Make sure your password is complex and not similar to older one otherwise you will get BAD PASSWORD error as shown in below screenshot.</li>
<li>Retype your new password and press Enter.</li>
<li>Now you will get notify that your password has been changed.</li>
</ol>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1374" src="http://techyaz.com/wp-content/uploads/2017/12/change-password-min.jpg" alt="Change Linux user password" width="670" height="360" srcset="https://techyaz.com/wp-content/uploads/2017/12/change-password-min.jpg 670w, https://techyaz.com/wp-content/uploads/2017/12/change-password-min-300x161.jpg 300w" sizes="auto, (max-width: 670px) 100vw, 670px" /></p>
<h3><span style="color: #333399;"><strong>Change root Password</strong></span></h3>
<p>The &#8220;root&#8221; account is the most privileged account on a Linux system. When using this account, it is crucial to be very careful. Follow below steps to reset or change the password for your root account.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>su</strong> at the command prompt, and press Enter.</li>
<li>Type the <strong>current root password</strong>, then press Enter.</li>
<li>Type <strong>passwd</strong> and press Enter.</li>
<li>Type a <strong>new password</strong> and press Enter.</li>
<li><strong>Retype the new password</strong> and press Enter.</li>
<li>Your password is changed here.</li>
</ol>
<h3><span style="color: #333399;"><strong>Change other User’s Account Password</strong></span></h3>
<p>To change a password for a user, you need to login using &#8220;root&#8221; account. Follow below steps to change password on behalf of any user.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>su</strong> at the command prompt, and press Enter.</li>
<li>Enter <strong>current root password</strong>, then press Enter.</li>
<li>Type <strong>passwd LoginName</strong> and press Enter. If login account is Manvendra. Type passwd Manvendra.</li>
<li>Enter a <strong>new password</strong> and press Enter.</li>
<li><strong>Retype the new password</strong> and press Enter.</li>
<li>Your password is changed here.</li>
</ol>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and  <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/">How to Reset or Change User Password on RedHat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Hostname of RedHat Linux Server</title>
		<link>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/</link>
					<comments>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 13 Dec 2017 07:29:58 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1329</guid>

					<description><![CDATA[<p>Last week we had received some requests to rename or change hostname of RedHat Linux systems. We got these requests because the hostname of these linux servers were not as per the server naming convention standard. Here, I will explain&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/change-hostname-red-hat-linux-server/">How to Change Hostname of RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Last week we had received some requests to rename or change hostname of RedHat Linux systems. We got these requests because the hostname of these linux servers were not as per the server naming convention standard. Here, I will explain how to rename hostname of any redhat linux server. I changed hostname of RHEL servers that are hosted in my lab to show you step by step method.</p>
<p><em><span style="color: #800000;"><strong>Related Articles:</strong></span></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Change IP Address, Subnet Mask &amp; Default Gateway of Linux Server</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/" target="_blank" rel="noopener">Fix Error &#8220;User is not in sudoers file.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">Installing SQL Server 2017 on Red Hat Linux Server</a></strong></li>
</ul>
<p>There are three methods that i will explain here to rename or change hostname of any Redhat Linux server. These three methods that we will use in this article are given below.</p>
<ol>
<li>Edit etc/hostname.</li>
<li>nmcli utility.</li>
<li>hostnamectl utility.</li>
</ol>
<h3><span style="color: #333399;">Change Hostname of RedHat Linux Server by editing etc/hostname</span></h3>
<p>Connect to your Redhat Linux server and check the hostname by running below command.</p>
<pre><strong><span style="color: #008000;">#Check hostname using any command.</span>
<span style="color: #0000ff;">hostname</span>

<span style="color: #008000;">#You can run below command as well to check the hostname.</span>
<span style="color: #0000ff;">cat /etc/hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1331" src="http://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min.jpg" alt="Check linux hostname" width="605" height="200" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min.jpg 605w, https://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min-300x99.jpg 300w" sizes="auto, (max-width: 605px) 100vw, 605px" /></p>
<p>We can see the hostname of this RedHat Linux server is SQLServerRHEL.localdomain. Now we will change this name to TechyazRHEL. If you want to change hostname with fully qualified name then you can write fully qualified name in below command.</p>
<pre><strong><span style="color: #008000;">#Connect to RHEL as root.</span>
<span style="color: #0000ff;">Sudo su</span>
<span style="color: #008000;">
#Change Hostname using /etc/hostname. Make sure to write your new hostname in double quote.</span>
<span style="color: #0000ff;">echo "TechyazRHEL" &gt; /etc/hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1332" src="http://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min.jpg" alt="change hostname by editing etc/hostname" width="664" height="205" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min.jpg 664w, https://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min-300x93.jpg 300w" sizes="auto, (max-width: 664px) 100vw, 664px" /></p>
<p>You can see when we check hostname of this linux server using <em><strong>hostname</strong></em> command, it is still showing older name SQLServerRHEL.localdomain whereas when we check using <strong><em>cat /etc/hostname</em></strong> it is showing newly changed hostname.</p>
<p>To reflect new host name, we need to restart service <strong>systemd-hostnamed</strong>. Once you will restart this service, the output of <em><strong>hostname</strong></em> command will also be same as new hostname as shown in above image.</p>
<pre><strong><span style="color: #008000;">#Restart service systemd-hostnamed</span>
<span style="color: #0000ff;">service systemd-hostnamed restart
</span> <span style="color: #008000;">or</span>
<span style="color: #0000ff;">systemctl restart systemd-hostnamed</span> 
</strong></pre>
<p>You can see new hostname after restarting above service in above screenshot. One thing you might notice that command prompt is still showing as older hostname i.e. root@SQLServerRHEL. This will disappear if you close this session and connect to new session. Let&#8217;s try this by launching new session, you can see new session is showing new hostname in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1333" src="http://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min.jpg" alt="new session post renaming hostname" width="639" height="134" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min.jpg 639w, https://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min-300x63.jpg 300w" sizes="auto, (max-width: 639px) 100vw, 639px" /></p>
<h3><span style="color: #333399;">Rename Hostname of RedHat Linux Server using nmcli</span></h3>
<p>The nmcli (NetworkManager Command Line Interface) command-line utility is used for controlling Network Manager and reporting network status. nmcli is used to create, display, edit, delete, activate, and deactivate network connections, as well as control and display network device status. Here, we will use nmcli utility to change the hostname of redhat linux server.</p>
<p>Connect to your RedHat Linux server for which you want to change hostname. Run below commands to change hostname of your linux server.</p>
<pre><strong><span style="color: #008000;">#Connect to RedHat Linux server using root access.</span>
<span style="color: #0000ff;">sudo su</span>

<span style="color: #008000;">#Check existing hostname of RHEL server</span>
<span style="color: #0000ff;">hostname</span>

<span style="color: #008000;">#Change hostname of Redhat Linux server to techyazRHEL-nmCLI. </span></strong>
<strong><span style="color: #008000;">#Change your new hostname in place of techyazRHEL-nmCLI.</span>
<span style="color: #0000ff;">nmcli general hostname techyazRHEL-nmCLI</span>

<span style="color: #008000;">#You can also check the hostname of Redhat linux server using nmcli utility.</span>
<span style="color: #0000ff;">nmcli general hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1334" src="http://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min.jpg" alt="CHange hostname using nmcli utility" width="732" height="137" srcset="https://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min.jpg 732w, https://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min-300x56.jpg 300w" sizes="auto, (max-width: 732px) 100vw, 732px" /></p>
<p>You can see hostname of RHEL server has been changed to techyazRHEL-nmCLI in above screenshot. Your PuTTY terminal will display new hostname once you open new session.</p>
<p>If new hostname is not showing after running above command then you should restart service <strong>systemd-hostnamed</strong> to reflect changes as we did in first section. You can see new hostname while launching new session in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1335" src="http://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min.jpg" alt="new session post renaming hostname using nmcli" width="599" height="129" srcset="https://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min.jpg 599w, https://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min-300x65.jpg 300w" sizes="auto, (max-width: 599px) 100vw, 599px" /></p>
<h3><span style="color: #333399;">Rename Hostname of RedHat Linux Server using hostnamectl</span></h3>
<p>The hostnamectl tool is provided for administering the host names in use on a given system. First we will check the existing hostname of this server by running <em><strong>hostname</strong></em> command. We can also check the hostname using hostnamectl utility.</p>
<p>Connect to your Redhat Linux server using root and check the existing hostname.</p>
<pre><strong><span style="color: #008000;">#Connect to Linux server using root.</span>
<span style="color: #0000ff;">sudo su</span>

<span style="color: #008000;">#Check existing hostname.</span>
<span style="color: #0000ff;">hostname</span>
<span style="color: #008000;">or</span> 
<span style="color: #0000ff;">hostnamectl status</span>

<span style="color: #008000;">#Change hostname to techyazRHEL.</span>
<span style="color: #0000ff;">hostnamectl set-name techyazRHEL
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1336" src="http://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min.jpg" alt="change hostname using hostnamectl" width="744" height="281" srcset="https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min.jpg 744w, https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min-300x113.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min-1320x500.jpg 1320w" sizes="auto, (max-width: 744px) 100vw, 744px" /></p>
<p>You can check the hostname post renaming it. You can see new hostname in above image. Putty terminal will display new hostname once you open new session as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1337" src="http://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min.jpg" alt="New session to reflect new hostname" width="604" height="132" srcset="https://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min.jpg 604w, https://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min-300x66.jpg 300w" sizes="auto, (max-width: 604px) 100vw, 604px" /></p>
<p>We can set all three kind of hostnames (Static, Pretty and Transient) using hostnamectl utility. Static name is mandatory whereas remaining two is optional. If you will not pass any hostname type in above command, same name will be set for all three hostnames. I haven&#8217;t used any hostname option in above command so all hostname options will have same name. Let&#8217;s check this in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1338" src="http://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min.jpg" alt="check hostname using hostnamectl utility" width="695" height="279" srcset="https://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min.jpg 695w, https://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min-300x120.jpg 300w" sizes="auto, (max-width: 695px) 100vw, 695px" /></p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/change-hostname-red-hat-linux-server/">How to Change Hostname of RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Uninstall SQL Server 2017 from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 07:28:04 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server 2017]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1307</guid>

					<description><![CDATA[<p>We all know how to install SQL Server 2017 on RedHat Linux. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server. Read More on SQL Server Installation on Linux Servers Installing&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We all know <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">how to install SQL Server 2017 on RedHat Linux</a>. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on Linux Servers</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">Installing SQL Server 2017 on Ubuntu Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Redhat Linux without Internet &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Ubuntu without Internet access &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Installing SQL Tools on RedHat Linux Server</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Server 2017 on RHEL</span></h3>
<p>Uninstalling SQL Server 2017 that is running on Linux server is totally different process as compared to its windows based SQL Server. Follow below step by step process to uninstall SQL Server 2017 from your RHEL Linux server.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL Server 2017 is running and that needs to be uninstalled from the server. Check whether SQL Server is installed on this machine or not by checking SQL Server service. You can see SQL Server is running on this server.</p>
<pre><strong><span style="color: #008000;">#Run below command to check SQL Server Service.</span>
<span style="color: #0000ff;">systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1309" src="http://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg" alt="Check SQL Server Service on RHEL" width="999" height="190" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg 999w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-300x57.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-768x146.jpg 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></p>
<p><strong>2-</strong> Check SQL Server files along with the database files before removing SQL Server. We will validate SQL Server removal by checking these files post uninstallation.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server binaries &amp; database files</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
sudo ls -lrt /var/opt/mssql/data
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1310" src="http://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg" alt="check database files" width="622" height="373" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg 622w, https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min-300x180.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></p>
<p><span style="color: #ff0000;"><em><strong>Note:</strong> </em></span><strong><em>Make sure to run full backup of all your databases and keep them in a safer place for future needs. </em></strong></p>
<p><strong>3-</strong> Now, we will uninstall SQL Server by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove SQL Server from your Linux machine</span>
<span style="color: #0000ff;">sudo yum remove mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1311 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg" alt="uninstall SQL Server 2017 from RHEL" width="1424" height="676" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg 1424w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-300x142.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-768x365.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-1024x486.jpg 1024w" sizes="auto, (max-width: 1424px) 100vw, 1424px" /></p>
<p>You can see details of SQL Server packages that are going to be removed from this machine. These packages are SQL Server and SQL Server Agent that are going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation and type <strong>N</strong> to quit this uninstallation. Type <strong>y</strong> to proceed with the SQL Server removal.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1312 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg" alt="uninstall sql server 2017 from rhel" width="706" height="411" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg 706w, https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min-300x175.jpg 300w" sizes="auto, (max-width: 706px) 100vw, 706px" /></p>
<p>You can see SQL Server and SQL Server Agent both packages have been removed from this machine.</p>
<p><strong>4-</strong> Now, remove all SQL Server binaries and database files from its installed location that we checked in second screenshot by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove database files and SQL binaries.</span>
<span style="color: #0000ff;">sudo rm -rf /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1313" src="http://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg" alt="remove sql server binaries" width="795" height="47" srcset="https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg 795w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-300x18.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-768x45.jpg 768w" sizes="auto, (max-width: 795px) 100vw, 795px" /></p>
<p>Here, your SQL Server has been removed from this linux machine. You can check SQL Server binaries and database files by running below commands. We can see no files in these locations because they have been removed now.</p>
<pre><strong><span style="color: #008000;">#Check database files.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql/data</span>

<span style="color: #008000;">#Check SQL Server files &amp; folders.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1314" src="http://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg" alt="check sql server binaries" width="724" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg 724w, https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min-300x56.jpg 300w" sizes="auto, (max-width: 724px) 100vw, 724px" /></p>
<p><strong>5-</strong> Now you can check SQL Server service again by executing below command.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server Service post SQL Server Removal.</span>
<span style="color: #0000ff;">systemctl status mssql-server</span> </strong></pre>
<p>We can see SQL Server is not loaded this time but service is showing as active.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1315" src="http://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg" alt="Check SQL Server service post uninstallation" width="866" height="183" srcset="https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg 866w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-300x63.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-768x162.jpg 768w" sizes="auto, (max-width: 866px) 100vw, 866px" /></p>
<p>When you will try to restart this service, it will throw you an error that unit not found as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1316" src="http://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg" alt="Restart SQL Server service post uinstallation" width="719" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg 719w, https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min-300x64.jpg 300w" sizes="auto, (max-width: 719px) 100vw, 719px" /></p>
<p><strong>6-</strong> Now we need to reboot the server to update SQL Server service status on RHEL. I restarted this linux machine and again checked the SQL Server service. You can see this time it says service could not found.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1317" src="http://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg" alt="restart RHEL and check SQL Service" width="584" height="264" srcset="https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg 584w, https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min-300x136.jpg 300w" sizes="auto, (max-width: 584px) 100vw, 584px" /></p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>21 Missing Features in SQL Server on Linux</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 30 Oct 2017 07:24:16 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Missing features]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1062</guid>

					<description><![CDATA[<p>In last tip, I have explained about new features introduced in SQL Server 2017. SQL Server support on Linux based operating systems is one of the new feature introduced in SQL Server 2017. Here, I will describe all those missing&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/">21 Missing Features in SQL Server on Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In last tip, I have explained about <a href="http://techyaz.com/sql-server/10-new-features-sql-server-2017-database-engine/" target="_blank" rel="noopener">new features introduced in SQL Server 2017</a>. SQL Server support on Linux based operating systems is one of the new feature introduced in SQL Server 2017. Here, I will describe all those missing features from Linux based SQL Server instances but these features can be used if you are deploying your SQL Server on Windows operating system. We are expecting Microsoft will include all these features in upcoming releases of SQL Servers.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1066" src="http://techyaz.com/wp-content/uploads/2017/10/21-missing-features.jpg" alt="21 missing features in sql server on linux" width="538" height="537" srcset="https://techyaz.com/wp-content/uploads/2017/10/21-missing-features.jpg 538w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-150x150.jpg 150w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-300x300.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-160x160.jpg 160w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-320x320.jpg 320w" sizes="auto, (max-width: 538px) 100vw, 538px" /></p>
<h5><span style="color: #000080;">Missing Features in SQL Server on Linux</span></h5>
<p>Below is the list of features that are not supported on Linux based SQL Server instances as of now in current GA release of SQL Server 2017.</p>
<p>1. Analysis Services<br />
2. Reporting Services<br />
3. R Services<br />
4. Master Data Services<br />
5. Data Quality Services<br />
6. SQL Server Browser Service<br />
7. Transactional &amp; Merge Replication<br />
8. FILESTREAM<br />
9. FileTables<br />
10. Stretch DB<br />
11. Polybase<br />
12. Third Party Extensions<br />
13. XPs<br />
14. VSS Snapshots<br />
15. Buffer Pool Extension<br />
16. Change Data Capture<br />
17. Alerts<br />
18. Distributed query with 3rd-party connections<br />
19. Database Mirroring<br />
20. AD Authentication for Linked Servers &amp; Availability Groups (AGs)<br />
21. SQL Server Integration Services (SSIS)</p>
<p>The mssql-server-is package (SSIS) is not supported on SUSE Linux in this release. It is currently supported on Ubuntu and on Red Hat Enterprise Linux (RHEL) only.</p>
<p>The following features are not supported in this release when you run SSIS packages on Linux:</p>
<p>o SSIS Catalog database<br />
o Scheduled package execution by SQL Agent<br />
o Windows Authentication<br />
o Third-party components<br />
o Change Data Capture (CDC)<br />
o SSIS Scale Out<br />
o Azure Feature Pack for SSIS<br />
o Hadoop and HDFS support<br />
o Microsoft Connector for SAP BW</p>
<p>For a list of built-in SSIS components that are not currently supported, or that are supported with limitations, see <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ssis-known-issues#components">Limitations and known issues for SSIS on Linux</a></p>
<p><span style="color: #800000;"><em><strong>Related Articles:</strong></em></span></p>
<ul>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">Install SQL Server on Ubuntu Server</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to Install SQL Server on RHEL</a></li>
<li><a href="http://techyaz.com/sql-server/10-new-features-sql-server-2017-database-engine/" target="_blank" rel="noopener">New features Introduced in SQL Server 2017</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server on Ubuntu without Internet Access </a></li>
</ul>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/">21 Missing Features in SQL Server on Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</title>
		<link>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/</link>
					<comments>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 18 Sep 2017 07:02:02 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[PuTTY fatal error]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=912</guid>

					<description><![CDATA[<p>I installed SQL Server 2017 on Ubuntu server and tried to connect to this server using PuTTY from my local host. I failed to connect and received PuTTY fatal error ubuntu ssh connection refused. Read this tip to fix this PuTTY&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/">Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">installed SQL Server 2017 on Ubuntu server</a> and tried to connect to this server using PuTTY from my local host. I failed to connect and received PuTTY fatal error ubuntu ssh connection refused. Read this tip to fix this PuTTY <em>Network Error : Connection Refused.</em></p>
<h3><span style="color: #000080;"><strong>Network error: Ubuntu ssh Connection Refused</strong></span></h3>
<p>I faced ubuntu connection refused error while establishing a connection to Ubuntu Linux virtual machine from host computer. I installed PuTTY on my host and tried to connect to Ubuntu Linux machine. Let&#8217;s <a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">check the IP of Ubuntu server</a> that we had used to make connection from PuTTY terminal. Run <em>ipconfig</em> command to get these details.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check IP of Ubuntu Server</span>
ipconfig
</span></strong></pre>
<p>We can see the IP details of the Ubuntu server that is showing 192.168.209.134. We have used this IP to establish server connection and end up with this PuTTY fatal error.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-913" src="http://techyaz.com/wp-content/uploads/2017/09/1-get-ip.jpg" alt="Check IP of Ubuntu Server" width="495" height="286" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-get-ip.jpg 495w, https://techyaz.com/wp-content/uploads/2017/09/1-get-ip-300x173.jpg 300w" sizes="auto, (max-width: 495px) 100vw, 495px" /></p>
<p>I tried to connect to Ubuntu server post getting IP from above command but I got ubuntu ssh connection refused error during this operation. The details of PuTTY Fatal Error that caused ubuntu connection refused is given below.</p>
<div class="codediv"><span class="kwrd" style="color: red;"><strong><em>PuTTY Fatal Error</em></strong><br />
<strong><em> Network error: Connection Refused</em></strong><br />
</span></div>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-914" src="http://techyaz.com/wp-content/uploads/2017/09/2-error.jpg" alt="Network Error Connection Refused Error" width="457" height="279" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-error.jpg 457w, https://techyaz.com/wp-content/uploads/2017/09/2-error-300x183.jpg 300w" sizes="auto, (max-width: 457px) 100vw, 457px" /></p>
<h3><span style="color: #000080;"><strong>Solution</strong></span></h3>
<p>We faced ubuntu ssh connection refused error and failed to connect to Ubuntu Server remotely using PuTTY terminal because <strong>SSH, or Secure Shell</strong> is not installed on the Ubuntu server. <strong>SSH, or Secure Shell</strong>, is a protocol used to securely log onto remote systems. Our next step is to install SSH on the Ubuntu server. Run below command to start this installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SSH on Ubuntu Server</span>
sudo apt-get install openssh-server
</span></strong></pre>
<p>It will check the dependencies and ask you to type y to proceed with the installation as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-915" src="http://techyaz.com/wp-content/uploads/2017/09/3-install-ssh.jpg" alt="install ssh" width="978" height="465" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh.jpg 978w, https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh-300x143.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-install-ssh-768x365.jpg 768w" sizes="auto, (max-width: 978px) 100vw, 978px" /></p>
<p>A series of all required packages will download and set up to install SSH. Once SSH will be installed on your Ubuntu server it will look like below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-916" src="http://techyaz.com/wp-content/uploads/2017/09/4-install-ssh.jpg" alt="install ssh" width="767" height="285" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-install-ssh.jpg 767w, https://techyaz.com/wp-content/uploads/2017/09/4-install-ssh-300x111.jpg 300w" sizes="auto, (max-width: 767px) 100vw, 767px" /></p>
<p>You can also reconfirm the installation by executing same command which you ran to install it. You can say, it is saying newest version is already installed on this server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-917" src="http://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh.jpg" alt="validate ssh installation" width="639" height="148" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh.jpg 639w, https://techyaz.com/wp-content/uploads/2017/09/5-recheck-ssh-300x69.jpg 300w" sizes="auto, (max-width: 639px) 100vw, 639px" /></p>
<p>Now launch PuTTY terminal on your host computer or a computer from where you want to connect to the Ubuntu server and enter IP address of Ubuntu server to establish connection. Once you click on connect button, you will get a window for the very first time only. Click on Yes button of that window to proceed. Once you will click on Yes button you will be connected to your Ubuntu server remotely.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-918" src="http://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh.jpg" alt="Connected to ubuntu using Putty" width="842" height="269" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh.jpg 842w, https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh-300x96.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/7-connect-ssh-768x245.jpg 768w" sizes="auto, (max-width: 842px) 100vw, 842px" /></p>
<p>Now we can see putty connection refused error is fixed and we can connect to Ubuntu server remotely using PuTTY terminal. If you want to <a href="https://help.ubuntu.com/community/SSH/OpenSSH/Configuring" target="_blank" rel="noopener">change configurations of SSH</a> you can refer to attached document. This way you can fix ubuntu ssh connection refused error.</p>
<p>Here, we have fixed ubuntu putty connection refused error. I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and on <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/">Fix PuTTY Network Error: Connection Refused while Connecting to Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</title>
		<link>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/</link>
					<comments>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 12 Sep 2017 12:45:46 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=870</guid>

					<description><![CDATA[<p>Sometimes we need to check the IP, Subnet mask and default gateway of our Linux machine and sometimes we need to change them as per our requirement. Here i will explain how to check and change these properties. If you&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/">How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes we need to check the IP, Subnet mask and default gateway of our Linux machine and sometimes we need to change them as per our requirement. Here i will explain how to check and change these properties. If you want to <a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">change hostname of your Linux server</a>, i would suggest to read attached article.</p>
<h3><span style="color: #000080;"><strong>Check IP Address, Subnet Mask &amp; Default </strong></span><span style="color: #000080;">Gateway</span></h3>
<p><a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/" target="_blank" rel="noopener">Launch PuTTY</a> and connect to Linux server. Run <strong>ifconfig</strong> command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check IP address and Gateway Mask</span>
ifconfig
</span></strong></pre>
<p>You will see output of this command like below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-871" src="http://techyaz.com/wp-content/uploads/2017/09/1-1.jpg" alt="check ip address of linux machine" width="679" height="347" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-1.jpg 679w, https://techyaz.com/wp-content/uploads/2017/09/1-1-300x153.jpg 300w" sizes="auto, (max-width: 679px) 100vw, 679px" /></p>
<p>Focus on the area which is highlighted in red colour. The <strong>IP address</strong> of this Linux server is 192.168.0.1 which is labeled as inet. You can see the <strong>subnet mask</strong> of this server which is showing 255.255.255.0 as netmask. We can also see the <strong>connection interface name</strong> of this machine that is <strong>ens33</strong>. The connection interface name will be used later in next section during changing IP addresses, subnet mask and gateway details.</p>
<p>Now we knew how to check the IP Address &amp; Subnet Mask of your Linux computer. Now next step is to check the default gateway of this server. Run below command <strong>route -n</strong> to get the details of default gateway.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Default Gateway</span>
route -n
</span></strong></pre>
<p>We can see the gateway IP is given in below screenshot for the same connection interface name ens33.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-872" src="http://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip.jpg" alt="Check Gateway IP" width="760" height="129" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip-300x51.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /></p>
<h3><span style="color: #000080;"><strong>Change IP Address, Subnet Mask &amp; Default </strong></span><span style="color: #000080;">Gateway</span></h3>
<p>We knew how to get the IP address, subnet mask and gateway details of Linux server. Now i will explain how to change these addresses if needed. We will use same command <strong>ifconfig</strong> to change the IP address and subnet mask. Before proceeding, <strong>make sure you have interface name and new IPs</strong>. You can get interface name from ipconfig command. The connection interface name of my machine is <strong>ens33</strong> as shown in above screenshots. Run below command to change these two values.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#Replace ens33 to your connection interface name. You can get it from ifconfig command.</span><span class="kwrd" style="color: blue;">
sudo ifconfig ens33 192.168.209.10 netmask 255.255.255.0
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-873" src="http://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip.jpg" alt="change IP" width="760" height="72" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip-300x28.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /><br />
We can see command executed successfully. You can validate the new IP address by running <strong>ifconfig</strong> command again. I have not changed netmask and kept same. If you want to change it please pass your netmask address.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-874" src="http://techyaz.com/wp-content/uploads/2017/09/4-check-IP.jpg" alt="check ip post change" width="712" height="327" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-check-IP.jpg 712w, https://techyaz.com/wp-content/uploads/2017/09/4-check-IP-300x138.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-check-IP-980x450.jpg 980w" sizes="auto, (max-width: 712px) 100vw, 712px" /></p>
<p>Now we can see we have changed the IP address and netmask address for this Linux server. Next we can check the gateway address to validate what will be the impact on gateway post changing the IP address and netmask address. Run <strong>route -n</strong> again to get the details.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-875" src="http://techyaz.com/wp-content/uploads/2017/09/5-route-n.jpg" alt="route -n" width="806" height="152" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-route-n.jpg 806w, https://techyaz.com/wp-content/uploads/2017/09/5-route-n-300x57.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/5-route-n-768x145.jpg 768w" sizes="auto, (max-width: 806px) 100vw, 806px" /></p>
<p>We can see gateway address is not set yet and the one showing on first section is not showing now. So let&#8217;s change the gateway address for this server. Run below command to change the gateway address.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#change the name of gateway address. Change the connection interface name from ens33 to your name.</span><span class="kwrd" style="color: blue;">
sudo route add default gw 192.168.209.250 ens33
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-876" src="http://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip.jpg" alt="" width="784" height="66" srcset="https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip.jpg 784w, https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip-300x25.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip-768x65.jpg 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /><br />
Once command will be executed successfully, you can validate this change by running <strong>route -n</strong> command again.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-877" src="http://techyaz.com/wp-content/uploads/2017/09/7-check.jpg" alt="validate the change post changing gateway IP Address" width="804" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-check.jpg 804w, https://techyaz.com/wp-content/uploads/2017/09/7-check-300x51.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/7-check-768x130.jpg 768w" sizes="auto, (max-width: 804px) 100vw, 804px" /><br />
We can see the new gateway address in above screen. These are the commands that can be used to check and change the IP address, netmask address and gateway address.</p>
<p><span style="color: #800000;"><em><strong>Related Articles</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RedHat Linux Server?</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">Reset or Change Linux Passwords for users and root?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">How to Change PuTTY Background Color to White?</a></strong></li>
</ul>
<p>Please comment us if you have any question. Also i hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/">How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install SQL Server Agent on Red Hat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 04 Sep 2017 13:17:35 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server Agent]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=784</guid>

					<description><![CDATA[<p>SQL Server Agent is very useful in automating any database activities. By default, it is not installed along with SQL Server on Linux server. You need to manually install it after installing SQL Server. Here I will explain step by&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/">How to Install SQL Server Agent on Red Hat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SQL Server Agent is very useful in automating any database activities. By default, it is not installed along with SQL Server on Linux server. You need to manually install it after installing SQL Server. Here I will explain step by step process to install SQL Server Agent on RedHat Linux 7.3 server running with internet access.</p>
<p>Before going ahead, we need to have a RedHat Linux server. If you have no idea about installing Linux server or creating a virtual machine where you can install Linux and SQL Server then i would recommend you to read below articles first.</p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">How to Create a Virtual Machine.</a></strong></li>
<li><strong><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Install RedHat Linux 7.3 on a virtual machine.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to Install SQL Server on RedHat Linux 7.3</a></strong></li>
</ul>
<p>If you have installed SQL Server on Red Hat Linux server, your next step should be to install SQL Server Agent on that server. Make sure you have internet access on the Linux server where we are going to install SQL Server Agent. If your server does not have internet connection then you should read attached article about <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-redhat-linux-server-without-internet-offline-installation/" target="_blank" rel="noopener">installing SQL Server Agent on RedHat Linux that are running without Internet</a>.</p>
<h3><span style="color: #000080;"><strong>Install SQL Server Agent on RHEL</strong></span></h3>
<p>As this Linux machine has internet connection so let&#8217;s go ahead with Installation on Red Hat Linux server. Installation process is quite similar to the installation of SQL Server on Redhat Linux.</p>
<p>You don&#8217;t need to download SQL Server Agent package separately the way we did for SQL Server and <a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">SQL Tools installations</a>.The package required to install SQL Server Agent included into SQL Server package repository configuration file.</p>
<p>If you have already downloaded SQL Server package repository configuration file to install SQL Server, you can skip this step and go ahead to install Agent on your server. If you don&#8217;t have SQL Server package repository configuration file or you have deleted it then you can run below command to download the package repository configuration file.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #008000;">#Download Microsoft SQL Server Red Hat repository configuration file</span><span class="kwrd" style="color: blue;">
sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server.repo
</span></strong></pre>
<p>This will download Microsoft SQL Server Package Repository Configuration File that are required to install SQL Server and SQL Server Agent.</p>
<p>As we have the Agent repository configuration file now, Let us first check the SQL Server in SSMS to see how SQL Server Agent working.  You can see we are not able to do anything in SQL Server Agent folder.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-785 size-full" src="http://techyaz.com/wp-content/uploads/2017/09/1.jpg" alt="SQL-Agent" width="480" height="642" srcset="https://techyaz.com/wp-content/uploads/2017/09/1.jpg 480w, https://techyaz.com/wp-content/uploads/2017/09/1-224x300.jpg 224w" sizes="auto, (max-width: 480px) 100vw, 480px" /></p>
<p>Now our next step is to install SQL Server Agent to enable its related features. Run below command to start the installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server Agent</span>
sudo yum install mssql-server-agent</span></strong></pre>
<p>You cans see series of executions started to proceed with the installation in below image. It will also ask you to enter <strong>Y</strong> to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-786" src="http://techyaz.com/wp-content/uploads/2017/09/2-install-agent-1024x367.jpg" alt="install sql agent" width="1024" height="367" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-1024x367.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-300x107.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-768x275.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent.jpg 1424w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Enter <strong>Y</strong> to proceed with the installation, once you press enter it will proceed to install. Now SQL Server Agent will install on your machine.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-787" src="http://techyaz.com/wp-content/uploads/2017/09/3-install-agent-1024x321.jpg" alt="install sql agent" width="1024" height="321" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-1024x321.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-300x94.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-768x241.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent.jpg 1419w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>It will also suggest you to restart SQL Server service. If you will not restart SQL Server service, installation will not be completed so next step is to restart SQL Server service on this server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Restart SQL Server Service</span>
systemctl restart mssql-server</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-788" src="http://techyaz.com/wp-content/uploads/2017/09/4-restart-service-1024x209.jpg" alt="restart sql server service" width="1024" height="209" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-1024x209.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-300x61.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-768x157.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service.jpg 1054w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see SQL Server is online now. Go ahead and connect to SQL Server in SSMS as per below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-789" src="http://techyaz.com/wp-content/uploads/2017/09/6-ssms.jpg" alt="" width="600" height="614" srcset="https://techyaz.com/wp-content/uploads/2017/09/6-ssms.jpg 600w, https://techyaz.com/wp-content/uploads/2017/09/6-ssms-293x300.jpg 293w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Now you can create Agent jobs to automate database activities on your SQL Server instance.<br />
I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/">How to Install SQL Server Agent on Red Hat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install SQL Server on Redhat Linux</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 04 Sep 2017 12:58:42 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=762</guid>

					<description><![CDATA[<p>Earlier SQL Server used to run only on Windows platform till SQL Server 2016 version. Now we can host our applications on Linux based SQL Server Instances. Here I will explain step by step process to install SQL Server on&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/">How to Install SQL Server on Redhat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Earlier SQL Server used to run only on Windows platform till SQL Server 2016 version. Now we can host our applications on Linux based SQL Server Instances. Here I will explain step by step process to install SQL Server on RedHat Linux 7.3 server.</p>
<h3><span style="color: #000080;"><strong>Prerequisites</strong></span></h3>
<p>Before going ahead, we need to have a RedHat Linux server. If you have no idea about installing Linux server or creating a virtual machine where you can install Linux and SQL Server then i would recommend you to read below articles first.</p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">How to Create a Virtual Machine.</a></strong></li>
<li><strong><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">How to Install RedHat Linux 7.3 on a virtual machine.</a></strong></li>
</ul>
<p>Below are the prerequisites that needs to have on your virtual machine in order to install SQL Server 2017.</p>
<ul>
<li>A <strong>Red Hat Linux Machine</strong> having <strong>Internet</strong> Connection</li>
<li><strong>RAM</strong> &#8211; 3.25GB</li>
<li><strong>Disk Space</strong> &#8211; 6GB</li>
<li><strong>Processor speed</strong> &#8211; 2 GHz</li>
<li><strong>Processor cores</strong> &#8211; 2 cores</li>
<li><strong>Processor type</strong> &#8211; x64</li>
</ul>
<h3><span style="color: #000080;"><strong>Install SQL Server 2017 on RHEL</strong></span></h3>
<p>Installing SQL Server 2017 on Redhat Linux is straight forward method if your server has internet connection and able to access online repositories. But if your Red Hat Linux machine does not have internet connection you can go with attached article <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Offline Installation of SQL Server 2017 on Red Hat Linux</a>. Let us go with the SQL Server Installation on Redhat Linux server that have internet connection.</p>
<p>Connect to RHEL server locally or through PuTTY. Check whether SQL Server is previously installed on this machine by someone else or not. You can see SQL Server is not installed, we can see it by checking the SQL Server service. Now download the Microsoft SQL Server Redhat repository configuration file by running below curl command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #008000;">#Download Microsoft SQL Server Redhat repository configuration file</span><span class="kwrd" style="color: blue;">
sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server.repo
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-763" src="http://techyaz.com/wp-content/uploads/2017/09/1-download-MSSQL-RHEL-repository-1024x259.jpg" alt="Download Microsoft SQL Server Repository " width="1024" height="259" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-download-MSSQL-RHEL-repository-1024x259.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/1-download-MSSQL-RHEL-repository-300x76.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/1-download-MSSQL-RHEL-repository-768x194.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/1-download-MSSQL-RHEL-repository.jpg 1409w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Next step is to install SQL Server on Linux machine. Run below command to update all package repository on Red Hat Linux server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #008000;">#Update Packages</span>
<span class="kwrd" style="color: blue;">sudo yum update
</span>
<span style="color: #008000;">#Install SQL Server</span>
<span style="color: blue;">sudo yum install -y mssql-server</span>
</strong></pre>
<p>I ran installation command which is showing in below image. A series of execution will start followed by checking the dependencies. If you will face any dependency issue, you should first resolve all missing dependencies then proceed with the installation. Setup will process and show you details of the packages which will be installing. You can see the details in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-764" src="http://techyaz.com/wp-content/uploads/2017/09/2-install-sql-server-1024x433.jpg" alt="Install SQL Server on Linux" width="1024" height="433" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-install-sql-server-1024x433.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/2-install-sql-server-300x127.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/2-install-sql-server-768x325.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/2-install-sql-server.jpg 1440w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>SQL Server package is in downloading process. Once download will complete, installation process will start. This will take few minutes to install the package.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-765" src="http://techyaz.com/wp-content/uploads/2017/09/3-install-sql-server-1024x291.jpg" alt="Install SQL Server on Linux" width="1024" height="291" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-install-sql-server-1024x291.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/3-install-sql-server-300x85.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-install-sql-server-768x219.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/3-install-sql-server.jpg 1427w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now you can see SQL Server database engine is installed on this Redhat Linux server. Installation is not completed yet because setup suggests us to run <strong>mssql-conf</strong> utility to complete the installation. So next step is to run this process.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-766" src="http://techyaz.com/wp-content/uploads/2017/09/4-install-sql-server-1024x589.jpg" alt="" width="1024" height="589" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-server-1024x589.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-server-300x172.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-server-768x441.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-server.jpg 1423w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Setup is suggesting us to install a mssql-conf utility to accept the license terms and set the sa password. Run below command to configure SQL Server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;">sudo /opt/mssql/bin/mssql-conf setup
</span></strong></pre>
<p>This execution will ask us to <strong>accept the License terms, select the SQL Server edition</strong> and also tell us to <strong>set the sa password</strong>. Let us do that to complete this installation. Once you execute above command, it will ask as to enter <strong>YES</strong> to access the license terms. Type <strong>YES</strong> and press enter. Once you press enter post accepting license terms, setup will give you options to choose <strong>SQL Server edition</strong>. Select correct edition as per your requirement.</p>
<p>Once you choose SQL Server edition, it will ask you to <strong>set sa login password</strong>. The moment you set the sa password, SQL Server configuration will be completed and ready to use.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-767" src="http://techyaz.com/wp-content/uploads/2017/09/5-install-mssql-conf.jpg" alt="" width="934" height="714" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-install-mssql-conf.jpg 934w, https://techyaz.com/wp-content/uploads/2017/09/5-install-mssql-conf-300x229.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/5-install-mssql-conf-768x587.jpg 768w" sizes="auto, (max-width: 934px) 100vw, 934px" /></p>
<p>Now SQL Server is installed, but sometimes you may face issue connecting to your SQL Server instance. You need to run below commands to open the SQL Server port on the firewall on the Linux server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Open Firewall for SQL Server</span>
sudo firewall-cmd --zone=public --add-port=1433/tcp --permanent
sudo firewall-cmd --reload
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-768" src="http://techyaz.com/wp-content/uploads/2017/09/7-open-firewall.jpg" alt="Open firewall" width="915" height="129" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-open-firewall.jpg 915w, https://techyaz.com/wp-content/uploads/2017/09/7-open-firewall-300x42.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/7-open-firewall-768x108.jpg 768w" sizes="auto, (max-width: 915px) 100vw, 915px" /></p>
<p>You can see above commands executed successfully. Port 1433 is already enabled on my machine. If this port is not open on your server it will display as success. Now, you can check the SQL Server service to validate this installation. Run the same command which we have run to check the SQL Server service before starting the installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #008000;">#Check SQL Server Service
<span style="color: #0000ff;">systemctl status mssql-server
</span></span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-769" src="http://techyaz.com/wp-content/uploads/2017/09/8-check-service.jpg" alt="check sql server service" width="1006" height="197" srcset="https://techyaz.com/wp-content/uploads/2017/09/8-check-service.jpg 1006w, https://techyaz.com/wp-content/uploads/2017/09/8-check-service-300x59.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/8-check-service-768x150.jpg 768w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /><br />
Now your SQL Server is ready to use. You can connect to this instance using SSMS client tool. You can see i have connected to this instance using SSMS from my local host computer.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-770" src="http://techyaz.com/wp-content/uploads/2017/09/9-connect-sql-server.jpg" alt="" width="360" height="350" srcset="https://techyaz.com/wp-content/uploads/2017/09/9-connect-sql-server.jpg 360w, https://techyaz.com/wp-content/uploads/2017/09/9-connect-sql-server-300x292.jpg 300w" sizes="auto, (max-width: 360px) 100vw, 360px" /></p>
<p>If you want to connect to SQL Server on this server only. You need to connect using <strong>sqlcmd</strong> utility. By default, sqlcmd tool does not install on Linux machine. We need to manually install it. Please visit this attached article to understand <a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">step by step process of installing SQL Tools on a Red Hat Linux Server</a>. If you don&#8217;t have internet access you can follow another article to <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-tools-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">install SQL Tools on Redhat Linux server in Offline mode</a>.</p>
<p><span style="color: #800000;"><strong>If your Linux virtual machine doesn&#8217;t have Internet connection, you should read:</strong></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server 2017 on RedHat Linux in Offline Mode.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-tools-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL Tools on RedHat Linux in Offline Mode.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-redhat-linux-server-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server Agent on RHEL running without Internet.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">How to install SQL Server on Ubuntu in Offline Mode.</a></strong></li>
</ul>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/">How to Install SQL Server on Redhat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</title>
		<link>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/</link>
					<comments>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Thu, 31 Aug 2017 09:11:51 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[logins]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[sudoers file]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wheel group]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=712</guid>

					<description><![CDATA[<p>I got this error during one of the activity when i was not able to perform it because my user was not part of sudoers file.  The error details were given as &#8220;User is not in the sudoers file. This&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/">Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I got this error during one of the activity when i was not able to perform it because my user was not part of sudoers file.  The error details were given as &#8220;<em>User is not in the sudoers file. This incident will be reported.</em>&#8221; If a user is not part of sudoers file then that user cannot perform anything using sudo command. Here i will explain how to fix this error or in other words you can say how to add a Linux user into sudoers file.</p>
<h3><span style="color: #000080;"><strong>Linux Error: User is not in the sudoers file. This incident will be reported.</strong></span></h3>
<p>Sudoers file determines which users can run administrative tasks, those requiring superuser privileges. I was failed to perform certain tasks because my username was not part of this file and returned with below error.</p>
<p><span class="kwrd" style="color: red;"><em>Linux Error: User is not in the sudoers file. This incident will be reported.</em><br />
</span></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-713" src="http://techyaz.com/wp-content/uploads/2017/08/1-1.jpg" alt="user name not in sudoers file" width="739" height="67" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-1.jpg 739w, https://techyaz.com/wp-content/uploads/2017/08/1-1-300x27.jpg 300w" sizes="auto, (max-width: 739px) 100vw, 739px" /></p>
<p>Someone who has super user (su) access can fix this issue by adding the impacted user to the <strong>Wheel group</strong>. The <strong>wheel group</strong> is a special user group used on Linux systems to control access to the sudo command, which allows a user to behave as super user. Once we will add our user into this group, we will be able to use sudo command.</p>
<h3><span style="color: #000080;"><strong>Adding a Linux User to Sudoers File</strong></span></h3>
<p>Connect to your Linux server using superuser account.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Connect using su</span>
su
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-714" src="http://techyaz.com/wp-content/uploads/2017/08/2-login-using-su.jpg" alt="login using su account" width="461" height="64" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-login-using-su.jpg 461w, https://techyaz.com/wp-content/uploads/2017/08/2-login-using-su-300x42.jpg 300w" sizes="auto, (max-width: 461px) 100vw, 461px" /></p>
<p>We have now connected to Linux server using superuser account. Now we can add our username to the Wheel group.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Add your user to the Wheel group. 
#Change techyaz to your user name</span>.
usermod -G wheel techyaz
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-715" src="http://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group.jpg" alt="Add Username to wheel group" width="670" height="90" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group.jpg 670w, https://techyaz.com/wp-content/uploads/2017/08/3-add-wheel-group-300x40.jpg 300w" sizes="auto, (max-width: 670px) 100vw, 670px" /></p>
<p>Now we see that command executed successfully. If you attempt to execute the sudo command now, you might get the same error message unless you completely logout your user and re-login again. Next you can exit from superuser account by typing exit on the prompt.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Exit su account</span>
exit
</span></strong></pre>
<p>Your account or user added to sudoers file now by adding it to wheel group. You can now connect to Linux server from your PuTTY terminal or on the local server and try to run sudo command post completely logout your user and re-login on the server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><span class="kwrd" style="color: blue;"><strong><span style="color: #008000;">#Connect to Linux server using your user name that was added to wheel group.
#Run sudo su</span></strong>
<strong>sudo su
</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-716" src="http://techyaz.com/wp-content/uploads/2017/08/4-validate.jpg" alt="validate the change" width="840" height="198" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-validate.jpg 840w, https://techyaz.com/wp-content/uploads/2017/08/4-validate-300x71.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-validate-768x181.jpg 768w" sizes="auto, (max-width: 840px) 100vw, 840px" /></p>
<p>You can see we have access to run anything using sudo command in above screenshot. Now your username is part of sudoers file so you can perform your activities using sudo command now.</p>
<p><em><span style="color: #800000;"><strong>Read more:</strong></span></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">How to Install Red Hat Linux 7.3 on Virtual Machine</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/" target="_blank" rel="noopener">Fixing PuTTY connection issue while connecting to Red Hat Linux Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL Server 2017 on Red Hat Linux Server</a></strong></li>
</ul>
<p>Here, we have fixed Linux error &#8220;<em>User is not in the sudoers file. This incident will be reported</em>.&#8221; I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and on <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/">Fixing Error &#8220;User is not in the sudoers file. This incident will be reported.&#8221;</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Fix PuTTY Connection Issue Network error: Connection timed out</title>
		<link>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/</link>
					<comments>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 28 Aug 2017 10:58:08 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Connection Issue]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[PuTTY fatal error]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=679</guid>

					<description><![CDATA[<p>I explained how to installed RedHat Linux on a virtual machine in my last article. I was not able to connect to this Linux server from PuTTY terminal that was installed on my host machine.  Everytime i tried to connect&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/">How to Fix PuTTY Connection Issue Network error: Connection timed out</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I explained <a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">how to installed RedHat Linux on a virtual machine</a> in my last article. I was not able to connect to this Linux server from PuTTY terminal that was installed on my host machine.  Everytime i tried to connect to Linux server i got &#8220;<strong>Network error: Connection timed out</strong>&#8220;. Here I will explain how to fix this connection issue &#8220;<strong>Network error: Connection timed out</strong>&#8221;</p>
<h3><span style="color: #000080;"><strong>Network error: Connection timed out</strong></span></h3>
<p>I faced this issue during making connection to Linux virtual machine from PuTTY terminal that is running on host computer. I got below error during this operation. When i tried to <strong>ping</strong> the Linux virtual machine from host it was failed and shown <strong>request timeout</strong>.</p>
<div class="codediv"><span class="kwrd" style="color: red;">PuTTY Fatal Error<br />
Network error: Connection timed out<br />
</span></div>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-680" src="http://techyaz.com/wp-content/uploads/2017/08/1-network-issue.jpg" alt="Putty fatal error network error" width="507" height="286" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-network-issue.jpg 507w, https://techyaz.com/wp-content/uploads/2017/08/1-network-issue-300x169.jpg 300w" sizes="auto, (max-width: 507px) 100vw, 507px" /></p>
<p>I did some research over internet and found lot of solutions and reason behind this issue. Some people suggested to check and disable all firewalls and some has suggested some other solutions. Most of solutions have failed to fix this issue.</p>
<p>I discussed it with one of my friend who works in VMware domain, he suggested only one solution to check the IPs of host and virtual machine that should be part of same subnet. I apply his solution and it worked. Here i will explain the fix of this issue.</p>
<p>Let&#8217;s check the IP of local host on which Linux virtual machine is hosted. Run <strong>ipconfig</strong> command to get these details.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Host IP</span>
ipconfig
</span></strong></pre>
<p>We can see the IP details of the host computer. We can see the range of IP is <strong>192.168.209</strong>.1 &amp; subnet mask is 255.255.255.0</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-681" src="http://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip.jpg" alt="check host ip address" width="807" height="178" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip.jpg 807w, https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip-300x66.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-check-host-ip-768x169.jpg 768w" sizes="auto, (max-width: 807px) 100vw, 807px" /></p>
<p>Now we will check the IP of the Linux virtual machine which we generally give during the installation. Run <strong>ifconfig</strong> command on your Linux machine.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Red Hat Linux Server IP</span>
ifconfig
</span></strong></pre>
<p>You can see the IP of this machine is <strong>192.168</strong>.0.1 that belongs to different IP range. This is the main issue behind this error. Our next step to <strong>change the IP of Linux machine</strong> to same IP range under which host is running.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-682" src="http://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip.jpg" alt="check red hat linux server ip" width="679" height="347" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip.jpg 679w, https://techyaz.com/wp-content/uploads/2017/08/3-check-server-ip-300x153.jpg 300w" sizes="auto, (max-width: 679px) 100vw, 679px" /></p>
<h3><span style="color: #000080;"><strong>Solution</strong></span></h3>
<p>The solution of this issue is to change the IP of Linux machine to the same range on which local host is running. We can see the connection interface name is <strong>ens33</strong> from above screenshot. Next step is to <strong>connect to Linux</strong> machine and <strong>set the new IP</strong> for this connection interface name. Run below command to get this done.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Change the IP of connection interface name ens33 to 192.168.209.10.</span>
sudo ifconfig ens33 192.168.209.10 netmask 2555.255.255.0
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-683" src="http://techyaz.com/wp-content/uploads/2017/08/4-change-ip.jpg" alt="change the IP of linux server" width="760" height="72" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-change-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/08/4-change-ip-300x28.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /></p>
<p>We can see command executed successfully. Now we can validate this change by running <strong>ifconfig</strong> again and you can see the IP is changed to <strong>192.168.209.10</strong> now.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-684" src="http://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change.jpg" alt="" width="712" height="327" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change.jpg 712w, https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change-300x138.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-check-ip-post-change-980x450.jpg 980w" sizes="auto, (max-width: 712px) 100vw, 712px" /></p>
<p>Now we can go ahead and connect to this machine from host computer. Launch the PuTTY tool and enter the IP of the Linux virtual machine and click on open button as shown in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-685" src="http://techyaz.com/wp-content/uploads/2017/08/6-Putty.jpg" alt="PuTTY" width="627" height="551" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-Putty.jpg 627w, https://techyaz.com/wp-content/uploads/2017/08/6-Putty-300x264.jpg 300w" sizes="auto, (max-width: 627px) 100vw, 627px" /></p>
<p>Once you click on open button, another window will come and ask you to choose <strong>Yes</strong> to proceed. Click on Yes button of this screen to proceed. Once you click on Yes button, you will get a login window which ask you to enter a correct login id and password to connect to Linux virtual machine. I did the same and you can see i have successfully connected to the Linux virtual machine from my host computer.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-686" src="http://techyaz.com/wp-content/uploads/2017/08/7-Putty.jpg" alt="login to linux server" width="570" height="165" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-Putty.jpg 570w, https://techyaz.com/wp-content/uploads/2017/08/7-Putty-300x87.jpg 300w" sizes="auto, (max-width: 570px) 100vw, 570px" /></p>
<p>Now issue is fixed and you can do anything as per your requirement on the Linux virtual machine from your host computer using PuTTY terminal.</p>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/" target="_blank" rel="noopener">Fix PuTTY Network Error: Connection Refused While Connecting to Ubuntu Server</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">How to Change PuTTY Text Color?</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/" target="_blank" rel="noopener">How to Change Putty Cursor or Mouse Pointer Color?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">Change PuTTY Background Color</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/">How to Fix PuTTY Connection Issue Network error: Connection timed out</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/fix-putty-network-error-connection-timed/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Step by Step Process to Install Red Hat Enterprise Linux 7.3</title>
		<link>https://techyaz.com/rhel/step-step-process-install-red-hat-enterprise-linux/</link>
					<comments>https://techyaz.com/rhel/step-step-process-install-red-hat-enterprise-linux/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 14 Aug 2017 11:09:56 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Vmware]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=447</guid>

					<description><![CDATA[<p>Red Hat Enterprise Linux (RHEL) is an Open Source Linux operating system developed by Red Hat. RHEL is most popular operating system in today&#8217;s world for major deployments. Here i will explain step by step process to install Red Hat&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/step-step-process-install-red-hat-enterprise-linux/">Step by Step Process to Install Red Hat Enterprise Linux 7.3</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Red Hat Enterprise Linux (RHEL)</strong> is an Open Source Linux operating system developed by Red Hat. RHEL is most popular operating system in today&#8217;s world for major deployments. Here i will explain step by step process to install Red Hat Enterprise Linux 7.3 on your virtual machine.</p>
<h3><span style="color: #000080;"><strong>How to Install Red Hat Linux 7.3?</strong></span></h3>
<p>I have performed this installation on one of my virtual machine that are hosted on my local computer. If you want to <a href="https://www.techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">create new virtual machine</a> to install Linux 7.3 operating system you should read its step by step process in attached link.</p>
<p>Once you have created your virtual machine with RHEL 7.3 setup, installation media will automatically be detected and let you proceed with the installation. This is because you have already selected RHEL 7.3 ISO during virtual machine creation. Make sure you have <a href="https://access.redhat.com/downloads/">downloaded correct RHEL setup file</a>. Below is the image of correct setup file.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-448" src="http://techyaz.com/wp-content/uploads/2017/08/1-download-RHLinux-copy-1024x121.jpg" alt="correct linux file to download" width="1024" height="121" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-download-RHLinux-copy-1024x121.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/1-download-RHLinux-copy-300x35.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/1-download-RHLinux-copy-768x90.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/1-download-RHLinux-copy.jpg 1300w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now let us proceed with the installation. You will get below image to proceed with the Linux installation once you finish creating a virtual machine.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-449" src="http://techyaz.com/wp-content/uploads/2017/08/1-welcome-1024x731.jpg" alt="welcome " width="1024" height="731" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-welcome-1024x731.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/1-welcome-300x214.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/1-welcome-768x548.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/1-welcome.jpg 1152w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Press enter on first option &#8220;<strong>Install Red Hat Enterprise Linux 7.3</strong>&#8221; to proceed with installation. If you will not press enter, setup will start automatically after 1 minute. Now you will get below screen which says to press enter again.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-450" src="http://techyaz.com/wp-content/uploads/2017/08/2-window-1024x313.jpg" alt="" width="1024" height="313" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-window-1024x313.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/2-window-300x92.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-window-768x235.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/2-window.jpg 1444w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Once you press enter, a series of updates will process on your screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-451" src="http://techyaz.com/wp-content/uploads/2017/08/4-checking-1024x592.jpg" alt="Linux installation" width="1024" height="592" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-checking-1024x592.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/4-checking-300x173.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-checking-768x444.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/4-checking.jpg 1436w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You will get below screen to <strong>choose the language</strong> in the next window. Here choose your language in which installation texts will proceed and click on &#8220;Continue&#8221; button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-452" src="http://techyaz.com/wp-content/uploads/2017/08/5-choose-language.jpg" alt="Linux installation" width="1014" height="724" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-choose-language.jpg 1014w, https://techyaz.com/wp-content/uploads/2017/08/5-choose-language-300x214.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-choose-language-768x548.jpg 768w" sizes="auto, (max-width: 1014px) 100vw, 1014px" /></p>
<p>Next window will be &#8220;<strong>Installation Summary</strong>&#8221; window from where we will configure all configurations for this installation. You can see &#8220;<strong>Begin Installation</strong>&#8221; button is showing disabled on this window. It will enable the moment we configure all parameters. We will click one by one to each option and then configure them with the correct value to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-453" src="http://techyaz.com/wp-content/uploads/2017/08/6-installation-summary-1024x713.jpg" alt="Linux Installation" width="1024" height="713" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-installation-summary-1024x713.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/6-installation-summary-300x209.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/6-installation-summary-768x535.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/6-installation-summary.jpg 1042w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Let&#8217;s start the configuration one by one. First click on &#8220;<strong>Date &amp; Time</strong>&#8221; option to set the server clock according to your time zone. As i stayed in India so i have chosen region as Asia and city as <strong>Kolkata</strong> and then set the time and date in the bottom of below screen. Now click on done button given top left side of the below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-454" src="http://techyaz.com/wp-content/uploads/2017/08/7-date-time-1024x704.jpg" alt="" width="1024" height="704" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-date-time-1024x704.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/7-date-time-300x206.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/7-date-time-768x528.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/7-date-time.jpg 1074w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on &#8220;<strong>Keyboard</strong>&#8221; option to set the keyboard option as shown in below image. Click on plus sign if you want to choose some other settings. Click on done button to apply this change for the installation.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-455" src="http://techyaz.com/wp-content/uploads/2017/08/8-keyboard-1024x709.jpg" alt="Linux Installation" width="1024" height="709" srcset="https://techyaz.com/wp-content/uploads/2017/08/8-keyboard-1024x709.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/8-keyboard-300x208.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/8-keyboard-768x531.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/8-keyboard.jpg 1042w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on &#8220;<strong>Language Support</strong>&#8221; option to set the language for this installation. Choose your language and click on done button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-456" src="http://techyaz.com/wp-content/uploads/2017/08/9-language-1024x700.jpg" alt="Linux Installation" width="1024" height="700" srcset="https://techyaz.com/wp-content/uploads/2017/08/9-language-1024x700.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/9-language-300x205.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/9-language-768x525.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/9-language.jpg 1054w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Next option in <strong>installation summary</strong> window is to select correct <strong>installation media</strong>. I did not make any changes here because it is already selected as local media which we had downloaded from Red Hat website.</p>
<p>Now click on &#8220;<strong>Software Selection</strong>&#8221; to choose what type of installation you want to proceed. I selected <strong>minimal install</strong> to proceed. If you want to install <strong>GUI based Linux</strong> server operating system you can choose last option of below screen. Once you made your selection click on done button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-457" src="http://techyaz.com/wp-content/uploads/2017/08/10-software-selection-1024x692.jpg" alt="Linux Installation" width="1024" height="692" srcset="https://techyaz.com/wp-content/uploads/2017/08/10-software-selection-1024x692.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/10-software-selection-300x203.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/10-software-selection-768x519.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/10-software-selection.jpg 1056w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now we will configure the &#8220;<strong>Installation Destination</strong>&#8221; option.Here we have also an option to configure storage partitioning. If you want to add some other disk you can do that as well from this page. I have selected 20GB for this Linux server so it is shwoing there. Now come to the <strong>storage partitioning</strong> section which is in bottom of the screen, i have selected &#8220;<strong>Automatically configure partitioning</strong>&#8220;. Setup will configure all the partitions automatically during installation. If you want to configure it manually you can choose second option that will allow you to configure as per your need. Click on done button to proceed, once you have made all changes.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-458" src="http://techyaz.com/wp-content/uploads/2017/08/11-disk-selection-1024x699.jpg" alt="Linux Installation" width="1024" height="699" srcset="https://techyaz.com/wp-content/uploads/2017/08/11-disk-selection-1024x699.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/11-disk-selection-300x205.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/11-disk-selection-768x525.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/11-disk-selection.jpg 1060w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now there are only three option left to configure as per below image. These are <strong>Kdump, Network &amp; Hostname and Security Policy</strong>. You can see rest of all options are showing with their configured value.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-459" src="http://techyaz.com/wp-content/uploads/2017/08/12-installation-summary-1024x693.jpg" alt="Linux Installation" width="1024" height="693" srcset="https://techyaz.com/wp-content/uploads/2017/08/12-installation-summary-1024x693.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/12-installation-summary-300x203.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/12-installation-summary-768x520.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/12-installation-summary.jpg 1072w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on <strong>KDUMP</strong> option. Kdump is a mechanism which captures information from your system during system crash that can be invaluable in determining the cause of the crash. I have enabled this option. If you do not want to enable it you can uncheck it. Click on done button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-460" src="http://techyaz.com/wp-content/uploads/2017/08/13-kdump-1024x723.jpg" alt="Linux Installation" width="1024" height="723" srcset="https://techyaz.com/wp-content/uploads/2017/08/13-kdump-1024x723.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/13-kdump-300x212.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/13-kdump-768x542.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/13-kdump.jpg 1028w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on &#8220;<strong>Network &amp; Host Name&#8221;</strong> option. You will get below image to configure it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-461" src="http://techyaz.com/wp-content/uploads/2017/08/14-network-hostname-1024x682.jpg" alt="Linux Installation" width="1024" height="682" srcset="https://techyaz.com/wp-content/uploads/2017/08/14-network-hostname-1024x682.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/14-network-hostname-300x200.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/14-network-hostname-768x512.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/14-network-hostname.jpg 1054w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on <strong>on/off button</strong> showing in top right side of above screen. It will automatically assign IP address, subnet mask address to make connection. I have enabled it and you can see all address in below screen. You can also change the <strong>hostname</strong> of Linux server. Write the server name in the host name section and click on apply button.</p>
<p>If you want to assign IP address, subnet mask address and other details manually you should click on configure button on below screen. Click on done button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-462" src="http://techyaz.com/wp-content/uploads/2017/08/15-network-hostname-1024x685.jpg" alt="Linux Installation 15" width="1024" height="685" srcset="https://techyaz.com/wp-content/uploads/2017/08/15-network-hostname-1024x685.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/15-network-hostname-300x201.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/15-network-hostname-768x513.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/15-network-hostname.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Final option is to select appropriate S<strong>ecurity Policy</strong>. I did not make any changes and go with default option as shown in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-463" src="http://techyaz.com/wp-content/uploads/2017/08/16-security-policy-1024x668.jpg" alt="Linux Installation 16" width="1024" height="668" srcset="https://techyaz.com/wp-content/uploads/2017/08/16-security-policy-1024x668.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/16-security-policy-300x196.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/16-security-policy-768x501.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/16-security-policy.jpg 1094w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now we will click on &#8220;<strong>Begin Installation</strong>&#8221; to start the installation.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-464" src="http://techyaz.com/wp-content/uploads/2017/08/17-summary-1024x724.jpg" alt="Linux Installation" width="1024" height="724" srcset="https://techyaz.com/wp-content/uploads/2017/08/17-summary-1024x724.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/17-summary-300x212.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/17-summary-768x543.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/17-summary.jpg 1044w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><br />
Once installation will begin, you will get below progress status bar along with options to set R<strong>oot Password and User Creation.</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-465" src="http://techyaz.com/wp-content/uploads/2017/08/18-installation-1024x713.jpg" alt="" width="1024" height="713" srcset="https://techyaz.com/wp-content/uploads/2017/08/18-installation-1024x713.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/18-installation-300x209.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/18-installation-768x535.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/18-installation.jpg 1046w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Click on R<strong>oot Password</strong> option of above screen to set the root password. Click on done button once you have entered the password.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-466" src="http://techyaz.com/wp-content/uploads/2017/08/19-root-password-1024x691.jpg" alt="root password" width="1024" height="691" srcset="https://techyaz.com/wp-content/uploads/2017/08/19-root-password-1024x691.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/19-root-password-300x202.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/19-root-password-768x518.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/19-root-password.jpg 1052w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on <strong>User Creation</strong> option to create an user. I have created an user named <strong>techyaz</strong> as shown in below screen. Click on done button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-467" src="http://techyaz.com/wp-content/uploads/2017/08/20-user-password-1024x696.jpg" alt="user creation" width="1024" height="696" srcset="https://techyaz.com/wp-content/uploads/2017/08/20-user-password-1024x696.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/20-user-password-300x204.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/20-user-password-768x522.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/20-user-password.jpg 1062w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now you can see text written in red colour is disappeared from root password and user creation options. Installation is still in process during the user creation. You can see below screenshot.<br />
<img loading="lazy" decoding="async" class="aligncenter size-large wp-image-468" src="http://techyaz.com/wp-content/uploads/2017/08/21-installation-1024x671.jpg" alt="" width="1024" height="671" srcset="https://techyaz.com/wp-content/uploads/2017/08/21-installation-1024x671.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/21-installation-300x197.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/21-installation-768x503.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/21-installation.jpg 1080w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Once installation will be completed below screen will come that will say that installation of Linux 7.3 operating system is completed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-469" src="http://techyaz.com/wp-content/uploads/2017/08/22-installation-complete-1024x686.jpg" alt="" width="1024" height="686" srcset="https://techyaz.com/wp-content/uploads/2017/08/22-installation-complete-1024x686.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/22-installation-complete-300x201.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/22-installation-complete-768x514.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/22-installation-complete.jpg 1048w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now <strong>Reboot</strong> button is enabled and setup also suggested to reboot the server. Click on reboot button to restart the server. Your <strong>Linux installation has completed</strong> here.</p>
<p>Now we will validate the installation by running few commands. Once server will come online post reboot, it will give you below prompt to enter the login credentials.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-470" src="http://techyaz.com/wp-content/uploads/2017/08/23-login-window.jpg" alt="" width="640" height="224" srcset="https://techyaz.com/wp-content/uploads/2017/08/23-login-window.jpg 640w, https://techyaz.com/wp-content/uploads/2017/08/23-login-window-300x105.jpg 300w" sizes="auto, (max-width: 640px) 100vw, 640px" /></p>
<p>Enter the user name which you have created during installation. You can see now i have connected to Linux server using user <strong>techyaz</strong>.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-471" src="http://techyaz.com/wp-content/uploads/2017/08/24-login.jpg" alt="" width="771" height="298" srcset="https://techyaz.com/wp-content/uploads/2017/08/24-login.jpg 771w, https://techyaz.com/wp-content/uploads/2017/08/24-login-300x116.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/24-login-768x297.jpg 768w" sizes="auto, (max-width: 771px) 100vw, 771px" /><br />
Now you can check the hostname and RHEL version installed on this machine by executing below commands.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-472" src="http://techyaz.com/wp-content/uploads/2017/08/25-check-hostname-version.jpg" alt="" width="622" height="134" srcset="https://techyaz.com/wp-content/uploads/2017/08/25-check-hostname-version.jpg 622w, https://techyaz.com/wp-content/uploads/2017/08/25-check-hostname-version-300x65.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></p>
<p>Now we can see the output which says host name as <strong>SQLServerRHEL</strong> and its version <strong>RHEL 7.3</strong> in above image.</p>
<p>I hope you like this article. You can comment about your questions in comment section. Please follow us on our <strong><a href="https://www.facebook.com/Techyaz/">facebook page</a></strong> and on <strong><a href="https://twitter.com/Tech_yaz">Twitter </a></strong>handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More:</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/rhel/red-hat-enterprise-linux-interview-questions-answers/" target="_blank" rel="noopener">RHEL Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="https://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">Step by Step Process to Install Ubuntu Linux 16.04</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/install-htop-monitor-linux-processes/" target="_blank" rel="noopener">How to Install and Use Htop to Monitor Linux Processes?</a></strong></li>
<li><strong><a href="https://techyaz.com/ubuntu/how-to-install-zabbix-on-ubuntu-server-16-04/" target="_blank" rel="noopener">How to Install Zabbix on Linux Machine?</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/rhel/step-step-process-install-red-hat-enterprise-linux/">Step by Step Process to Install Red Hat Enterprise Linux 7.3</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/step-step-process-install-red-hat-enterprise-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Create Virtual Machine on your PC?</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 14 Aug 2017 06:48:09 +0000</pubDate>
				<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[Vmware]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=436</guid>

					<description><![CDATA[<p>Are you struggling to setup a server lab for your requirement? We can create multiple systems running with different flavour of operating systems in our computer or laptop. You don&#8217;t need to buy additional systems for these configurations. Here we&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/">How to Create Virtual Machine on your PC?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Are you struggling to setup a server lab for your requirement? We can create multiple systems running with different flavour of operating systems in our computer or laptop. You don&#8217;t need to buy additional systems for these configurations. Here we will discuss how to setup virtual machines on your local host to learn new technologies. We will use VMware workstation application to deploy multiple operating systems on local host that will look like a separate server/ operation system for your testings or learnings.</p>
<h3><span style="color: #000080;"><strong>Install VMware Workstation</strong></span></h3>
<p>VMware workstation is the industry standard for running multiple operating systems as virtual machines on a single PC. Thousands of IT professionals, developers and businesses use Workstation Pro to be more agile, more productive and more secure.</p>
<p>First task is to install VMware workstation on your PC or laptop post downloading it from <a href="https://my.vmware.com/web/vmware/details?productId=462&amp;downloadGroup=WKST-1112-WIN" target="_blank" rel="noopener">VMware website</a>. Once you install VMware workstation on your system, you can see the vmware workstation shortcut icon on your desktop.</p>
<h5><span style="color: #000080;"><strong>Create a Linux Virtual Machine</strong></span></h5>
<p>As we are creating a Linux machine so we should have the correct setup file of RedHat Linux. Copy RedHat Linux setup file to your machine and if you don&#8217;t have this setup file you can download it from <a href="https://access.redhat.com/downloads/">RedHat Website</a>. Make sure to download RHEL binary DVD ISO file. If you download some other file you might face issue during installation.</p>
<p>Now you have installed VMware workstation and downloaded Linux setup file successfully. Next step is to create a Linux virtual machine. Double click on the vmware workstation shortcut icon which is created on your desktop during installation to launch it. You will see below screen to proceed.<br />
<img loading="lazy" decoding="async" class="aligncenter size-large wp-image-438" src="http://techyaz.com/wp-content/uploads/2017/08/2-create-new-VM-1024x294.jpg" alt="create Virtual machine" width="1024" height="294" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-create-new-VM-1024x294.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/2-create-new-VM-300x86.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-create-new-VM-768x221.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/2-create-new-VM.jpg 1434w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now click on &#8220;Create a New Virtual Machine&#8221; option which is showing in right side pane of above screen. You will get a welcome window named &#8220;New Virtual Machine Wizard&#8221; to proceed. There are two configuration options on this page. Don&#8217;t make any change here and go with the default option which is &#8220;Typical&#8221;.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-439" src="http://techyaz.com/wp-content/uploads/2017/08/3-welcome-wizard.jpg" alt="Welcome Wizard" width="518" height="501" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-welcome-wizard.jpg 518w, https://techyaz.com/wp-content/uploads/2017/08/3-welcome-wizard-300x290.jpg 300w" sizes="auto, (max-width: 518px) 100vw, 518px" /><br />
Click on next button to proceed. Next window is for choosing your operating system for this Linux machine. Here we will select the Linux setup ISO file which we have downloaded in above step along with the full path. You should select your identified operating system setup file here if you want to install some other operating system. You can click on browse button to choose the correct path.</p>
<p>We have also an option to install operating system later post creating the virtual machine. If you want to install your OS later you can select 3rd option of this page. As we have downloaded the setup file of RHEL so we will choose and proceed with 2nd option. Once you select the setup file click on next button to proceed.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-440" src="http://techyaz.com/wp-content/uploads/2017/08/4-browse-RHEL-ISO.jpg" alt="" width="520" height="500" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-browse-RHEL-ISO.jpg 520w, https://techyaz.com/wp-content/uploads/2017/08/4-browse-RHEL-ISO-300x288.jpg 300w" sizes="auto, (max-width: 520px) 100vw, 520px" /></p>
<p>Next screen will come to configure the name of this new virtual machine and the location where you want to save or create this machine. Choose a name as per your convenience and browse the location where you want to create this machine on local system. Make sure you should have enough disk space where you are creating this virtual machine.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-441" src="http://techyaz.com/wp-content/uploads/2017/08/5-Name-location.jpg" alt="" width="519" height="494" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-Name-location.jpg 519w, https://techyaz.com/wp-content/uploads/2017/08/5-Name-location-300x286.jpg 300w" sizes="auto, (max-width: 519px) 100vw, 519px" /><br />
Once you configure the name and location of this virtual machine in above step, next step to specify the disk size. As i am creating it for my server lab so i will go with default value which is 20GB. Make sure to have that much space on your drive where you have created this virtual machine in above step.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-442" src="http://techyaz.com/wp-content/uploads/2017/08/6-disk.jpg" alt="disk configuration" width="516" height="492" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-disk.jpg 516w, https://techyaz.com/wp-content/uploads/2017/08/6-disk-300x286.jpg 300w" sizes="auto, (max-width: 516px) 100vw, 516px" /></p>
<p>Next window will be the final screen of this setup. Here you can verify the details which you are using to create the Linux virtual machine.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-443" src="http://techyaz.com/wp-content/uploads/2017/08/7-finalwindow.jpg" alt="" width="516" height="498" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-finalwindow.jpg 516w, https://techyaz.com/wp-content/uploads/2017/08/7-finalwindow-300x290.jpg 300w" sizes="auto, (max-width: 516px) 100vw, 516px" /><br />
We can see there is only 1GB of memory allocated to this machine. If you want to change such configuration before creating the Linux virtual machine then click on &#8220;Customize Hardware&#8230;&#8221; to alter the changes. Change the value to allocated memory and CPU as per your need. You can also make changes of other configurational parameters. Click close once you are done with your changes.<br />
<img loading="lazy" decoding="async" class="aligncenter size-full wp-image-444" src="http://techyaz.com/wp-content/uploads/2017/08/8-change-memory.jpg" alt="" width="780" height="727" srcset="https://techyaz.com/wp-content/uploads/2017/08/8-change-memory.jpg 780w, https://techyaz.com/wp-content/uploads/2017/08/8-change-memory-300x280.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/8-change-memory-768x716.jpg 768w" sizes="auto, (max-width: 780px) 100vw, 780px" /></p>
<p>Now you can see memory is showing the new value along with the CPU which i changed from 1 to 2. you can compare below screen with the one showing above. Now click on &#8220;Finish&#8230;&#8221; button to create your Linux virtual machine. Once you click on finish button, Linux virtual machine will be created and <a href="http://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/">Linux installation</a> will be proceeded. If you are not aware of Linux installation and want to learn <a href="http://www.techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/">step by step process to install Red Hat Linux</a> on this server you must read attached link.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-445" src="http://techyaz.com/wp-content/uploads/2017/08/10-1024x731.jpg" alt="" width="1024" height="731" srcset="https://techyaz.com/wp-content/uploads/2017/08/10-1024x731.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/10-300x214.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/10-768x548.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/10.jpg 1152w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now you can create multiple virtual machines running on your computer. Follow the same process if you want to create another servers. I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p><em><strong><span style="color: #800000;">Read More:</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Step by Step Process to Install RHEL 7.3</a></strong></li>
<li><strong><a href="https://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">Step by Step Process to Install Ubuntu Linux 16.04</a></strong></li>
<li><strong><a href="https://techyaz.com/debian/how-to-install-debian-9-stretch/" target="_blank" rel="noopener">How to Install Debian 9 Stretch?</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/">How to Create Virtual Machine on your PC?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
