<?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>SQL Server ON Linux - Techyaz.com</title>
	<atom:link href="https://techyaz.com/category/sql-server/sql-server-on-linux/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.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>SQL Server ON Linux - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Change Putty Background Color?</title>
		<link>https://techyaz.com/rhel/how-to-change-putty-background-color/</link>
					<comments>https://techyaz.com/rhel/how-to-change-putty-background-color/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 26 Dec 2017 10:45:49 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[PuTTY]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1391</guid>

					<description><![CDATA[<p>If you want to change putty background color from black to white or any color as per your choice then you should keep reading this article. If you are working for several customers, you can configure distinct colors for their&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-change-putty-background-color/">How to Change Putty Background Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you want to change putty background color from black to white or any color as per your choice then you should keep reading this article. If you are working for several customers, you can configure distinct colors for their servers based on customer names.</p>
<p><span style="color: #993300;"><em><strong>Related Articles</strong></em></span></p>
<ul>
<li><a href="http://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">How to Change Putty Terminal Text Color?</a></li>
<li><a href="http://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></li>
</ul>
<h5><span style="color: #333399;">Change Putty Background Color</span></h5>
<p>Please follow below instructions to change background color of your putty console.</p>
<p><strong>1-</strong> You can see background color in my putty console is showing as black, now I want to change it to white background. Right click on the top border of putty console and choose “<strong>Change Settings…”</strong></p>
<p><img fetchpriority="high" decoding="async" class="aligncenter wp-image-1393 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC.jpg" alt="Putty Settings Console" width="833" height="373" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC.jpg 833w, https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC-300x134.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC-768x344.jpg 768w" sizes="(max-width: 833px) 100vw, 833px" /></p>
<p><strong>2-</strong> You will get below settings window. Now click on <strong>Colours</strong> tab from left side pane and now we need to select an option for which we must change the color. As we have to change putty background color so we will select <strong>Default background </strong>from right side pane. Click on <strong>Modify </strong>button to select white color as putty background color. You can choose putty background color as per your choice.</p>
<p><strong>Colours-&gt;Default background-&gt;Modify</strong></p>
<p><img decoding="async" class="aligncenter wp-image-1394 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC.jpg" alt="Putty Settings Console Window" width="623" height="553" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC.jpg 623w, https://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC-300x266.jpg 300w" sizes="(max-width: 623px) 100vw, 623px" /></p>
<p><strong>3-</strong> Once you click on modify button, you will get custom colors window to choose appropriate color as background in putty console. I have selected white color as shown in below screenshot. Click on <strong>Ok</strong> and then on <strong>Apply</strong> button to reflect this change.</p>
<p><img decoding="async" class="aligncenter wp-image-1395 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC.jpg" alt="color console" width="631" height="447" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC.jpg 631w, https://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC-300x213.jpg 300w" sizes="(max-width: 631px) 100vw, 631px" /></p>
<p><strong>4-</strong> Once you click on apply button, you will see putty background color will be changed to white on your putty console. You can see that background color for your putty terminal console has been changed to white in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1396 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC.jpg" alt="Putty Background color changed to white" width="572" height="211" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC.jpg 572w, https://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC-300x111.jpg 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></p>
<h5><span style="color: #333399;">Change Putty Font Color</span></h5>
<p>Now you can see the putty text color is showing very light and it is very difficult to read texts on above terminal console after changing the putty background color. So, your next step would be to change the putty text color or font color so that it can be visible to eyes. This step is optional and not needed if you only want to change putty background color.</p>
<p>I have explained <a href="http://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">step by step method to change putty text color</a> for your putty terminal console in attached article. You just need to launch <strong>settings</strong> windows again and click on <strong>Colours</strong> tab from left side pane followed by <strong>Default Foreground</strong> option from right side pane and then click on <strong>Modify </strong>button to choose color for your text. Choose your putty text color accordingly and click on Ok button and finally click on Apply button to reflect the changes.</p>
<p>Now your Putty background color as well as putty text color have been changed as per your choice. 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-change-putty-background-color/">How to Change Putty Background Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/how-to-change-putty-background-color/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 Tools from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 12 Dec 2017 06:05:53 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[bcp]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1323</guid>

					<description><![CDATA[<p>I have described how to uninstall SQL Server 2017 running on Redhat Linux server in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/">How to Uninstall SQL Tools from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have described <a href="https://techyaz.com/sql-server/uninstall-sql-server-2017-red-hat-linux-server/" target="_blank" rel="noopener">how to uninstall SQL Server 2017 running on Redhat Linux server</a> in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities are part of SQL tools package mssql-tools so we need to remove this package mssql-tools in order to uninstall these utilities.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on RHEL</span></strong></em></p>
<ul>
<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 2017 on RedHat Linux</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/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Install SQL Tools on RedHat Linux using Internet</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/" target="_blank" rel="noopener">Install SQL Server Agent on RHEL</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 RHEL without Internet &#8211; Offline Installation</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Tools on RHEL</span></h3>
<p>As we know sqlcmd and bcp utilities are part of SQL tools so if you want to uninstall these utilities from red hat linux machine you need to uninstall SQL tools package mssql-tools. Follow below steps to uninstall sqlcmd utility from your redhat linux machine.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL tools has been installed and running. Check whether SQL tools are installed on this machine or not by checking sqlcmd or bcp utilities. You can see RedHat Linux is recognizing sqlcmd utility that means SQL tools have been installed on this machine that needs to be uninstalled.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1325" src="http://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg" alt="check sqlcmd utility" width="674" height="138" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg 674w, https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min-300x61.jpg 300w" sizes="auto, (max-width: 674px) 100vw, 674px" /></p>
<p><strong>2-</strong> We can see sqlcmd utility in above screenshot. Now, we will uninstall SQL tools by running below command.</p>
<pre><strong><span style="color: #008000;">#Uninstall SQL tools from RHEL</span>
<span style="color: #0000ff;">sudo yum remove mssql-tools
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1326" src="http://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg" alt="uninstall SQL tools" width="1440" height="769" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg 1440w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-300x160.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-768x410.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-1024x547.jpg 1024w" sizes="auto, (max-width: 1440px) 100vw, 1440px" /></p>
<p>You can see the details of SQL tools package that is going to be removed from this machine. We can see mssql-tools package is going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation of this package mssql-tools and type <strong>N</strong> to quit this removal.</p>
<p>I entered<strong> y</strong> to uninstall SQL tools from this machine. This will uninstall both utilities sqlcmd and bcp. You can see SQL tools package mssql-tools has been removed from this machine post entering <strong>y</strong> in above screenshot.</p>
<p><strong>3-</strong> Now, we can check sqlcmd or bcp utility again to validate this uninstallation. I typed sqlcmd as i did in first screenshot and pressed enter. Now we can see red hat linux is not recognizing sqlcmd utility, that means SQL tools have been removed from this machine.</p>
<pre><strong><span style="color: #008000;">#check sqlcmd utility post SQL tools uninstallation</span>
<span style="color: #0000ff;">sqlcmd
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1327" src="http://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg" alt="balidate sqlcmd utility removal" width="906" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg 906w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-300x51.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-768x130.jpg 768w" sizes="auto, (max-width: 906px) 100vw, 906px" /></p>
<p>Here i have shown step by step process to uninstall SQL Tools sqlcmd and bcp from linux machine.</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-tools-redhat-linux-server/">How to Uninstall SQL Tools 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-tools-redhat-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>Install sqlcmd &#038; bcp (SQL Tools ) on Ubuntu Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sqlcmd-bcp-sql-tools-ubuntu-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sqlcmd-bcp-sql-tools-ubuntu-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 31 Oct 2017 11:15:52 +0000</pubDate>
				<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bcp]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1071</guid>

					<description><![CDATA[<p>I have described step by step process to install SQL Server 2017 on Ubuntu server in my last articles. Here I will explain how to install sqlcmd and bcp utilities that comes under SQL tools on Ubuntu server that is&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sqlcmd-bcp-sql-tools-ubuntu-server/">Install sqlcmd &#038; bcp (SQL Tools ) on Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have described step by step process to <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 2017 on Ubuntu server</a> in my last articles. Here I will explain how to install sqlcmd and bcp utilities that comes under SQL tools on Ubuntu server that is already running with SQL Server 2017. This article will describe the online method to install SQL tools.</p>
<p>SQL tools will be installed using mssql-tools package. The <strong>mssql-tools</strong> package contains two utilities:</p>
<ul>
<li><strong>sqlcmd:</strong> Command-line query utility.</li>
<li><strong>bcp:</strong> Bulk import-export utility.</li>
</ul>
<p>Before going ahead, we need Ubuntu server and SQL Server 2017 running on that instance. If you have no idea about installing Ubuntu server or SQL Server 2017 or creating a virtual machine where you can install Ubuntu and SQL Server then i would recommend you to read below articles.</p>
<ul>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">How to Create a Virtual Machine.</a></li>
<li><a href="http://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">How to Install Ubuntu on a virtual machine.</a></li>
</ul>
<h4><span style="color: #000080;"><strong>SQL Tools Installation on Ubuntu &#8211; ONLINE Method/Using Internet</strong></span></h4>
<p>Installing any package on Ubuntu Linux is straight forward method if our server has internet connection and able to access online repositories. But it becomes painful if your Ubuntu server has no access of internet. Below is the list of articles that you can use to learn offline method of SQL Server Installations on Ubuntu and RHEL.</p>
<ul>
<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 &#8211; Offline Method/Without Internet</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">How to install SQL Server Agent on Ubuntu &#8211; Offline Method</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL Tools on Ubuntu Server using Offline Method/Without Internet</a></li>
<li><a href="http://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 &#8211; Offline Method</a></li>
</ul>
<p>Before moving ahead let&#8217;s check whether SQL Server is installed or not on this machine. Run below command to check the SQL Server service.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #0000ff;"><span class="kwrd"><span style="color: #008000;">#Check SQL Tools</span>
sqlcmd

<span style="color: #008000;">#Check SQL Server Service</span></span><span class="kwrd">
systemctl status mssql-server
</span></span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1073" src="http://techyaz.com/wp-content/uploads/2017/10/1check-sqlcmd.jpg" alt="check sqlcmd" width="975" height="237" srcset="https://techyaz.com/wp-content/uploads/2017/10/1check-sqlcmd.jpg 975w, https://techyaz.com/wp-content/uploads/2017/10/1check-sqlcmd-300x73.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/1check-sqlcmd-768x187.jpg 768w" sizes="auto, (max-width: 975px) 100vw, 975px" /></p>
<p>We can see SQL Server is installed and running fine on this server but SQL tools are not installed because sqlcmd is not throwing any output.</p>
<p>Let&#8217;s start with importing public repository GPG keys to install sqlcmd and bcp. Run below curl command to import the keys.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #0000ff;">curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1074" src="http://techyaz.com/wp-content/uploads/2017/10/2-download-repository.jpg" alt="download repository" width="979" height="134" srcset="https://techyaz.com/wp-content/uploads/2017/10/2-download-repository.jpg 979w, https://techyaz.com/wp-content/uploads/2017/10/2-download-repository-300x41.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/2-download-repository-768x105.jpg 768w" sizes="auto, (max-width: 979px) 100vw, 979px" /></p>
<p>Now we will register Microsoft Ubuntu repository by running below commands.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #0000ff;">curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
</span></strong></pre>
<p>Next step is to update the source list by running given command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: black;"><span style="color: #0000ff;">sudo apt-get update</span> 
</span></strong></pre>
<p>Once you execute above command, a series of execution will start and update all source packages.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1075" src="http://techyaz.com/wp-content/uploads/2017/10/4-update-repository.jpg" alt="update ubuntu source list" width="869" height="142" srcset="https://techyaz.com/wp-content/uploads/2017/10/4-update-repository.jpg 869w, https://techyaz.com/wp-content/uploads/2017/10/4-update-repository-300x49.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/4-update-repository-768x125.jpg 768w" sizes="auto, (max-width: 869px) 100vw, 869px" /></p>
<p>Once above command will be executed, we will run below command to install SQL tools with required unix package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #0000ff;">sudo apt-get install mssql-tools unixodbc-dev
</span></strong></pre>
<p>You can see mssql-tools package is installed in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1076" src="http://techyaz.com/wp-content/uploads/2017/10/5-install-1024x288.jpg" alt="install sqlcmd" width="1024" height="288" srcset="https://techyaz.com/wp-content/uploads/2017/10/5-install-1024x288.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/5-install-300x84.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/5-install-768x216.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/5-install.jpg 1422w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now you can go ahead and use sql tools. If you are facing any issue during accessing sqlcmd utility then you need to set path environment variable using below steps. Run below command to set the path environment variables. Ubuntu will not be able to recognize sqlcmd utility unless you set the path environment variable. Ubuntu is able to recognize sqlcmd utility once we set the path environment variables.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#To make sqlcmd/bcp accessible from the bash shell for login sessions, modify your PATH in the ~/.bash_profile file</span>
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile

<span style="color: #008000;">#To make sqlcmd/bcp accessible from the bash shell for interactive/non-login sessions, modify the PATH in the ~/.bashrc file</span>
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bashrc
source ~/.bashrc
</span></strong></pre>
<p>You can see, sqlcmd is recognized by ubuntu after setting path environment variable in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1077" src="http://techyaz.com/wp-content/uploads/2017/10/6-set-path-env-1024x162.jpg" alt="set path environment variable" width="1024" height="162" srcset="https://techyaz.com/wp-content/uploads/2017/10/6-set-path-env-1024x162.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/6-set-path-env-300x47.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/6-set-path-env-768x121.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/6-set-path-env.jpg 1039w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now connect to SQL Server instance using sqlcmd and run a command to validate this installation. I have checked the SQL Server version installed on ubuntu server. You can see the details in below image that SQL Server 2017 is installed on this Ubuntu server. Now we have done with SQL Tools installation on Ubuntu server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1078" src="http://techyaz.com/wp-content/uploads/2017/10/7-validate.jpg" alt="validate sqlcmd" width="723" height="368" srcset="https://techyaz.com/wp-content/uploads/2017/10/7-validate.jpg 723w, https://techyaz.com/wp-content/uploads/2017/10/7-validate-300x153.jpg 300w" sizes="auto, (max-width: 723px) 100vw, 723px" /></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>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sqlcmd-bcp-sql-tools-ubuntu-server/">Install sqlcmd &#038; bcp (SQL Tools ) on Ubuntu 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-sqlcmd-bcp-sql-tools-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>1</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>Install SQL Server Agent on Ubuntu Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 04 Oct 2017 12:59:50 +0000</pubDate>
				<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[SQL Server Agent]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1028</guid>

					<description><![CDATA[<p>I have shown how to install SQL Server 2017 on Ubuntu server that have internet access in my last article. If your Ubuntu server doesn’t have internet access then you should read attached article to install SQL Server in offline&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/">Install SQL Server Agent on Ubuntu Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have shown <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">how to install SQL Server 2017 on Ubuntu server that have internet access</a> in my last article. If your Ubuntu server doesn’t have internet access then you should read attached article to <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">install SQL Server in offline mode.</a> Here I will show you how to install SQL Server Agent on Ubuntu server that are connected to internet.</p>
<h3><span style="color: #000080;">Install SQL Server Agent on Ubuntu Linux</span></h3>
<p>Let’s first check whether SQL Server Agent is installed or not on your existing server.  Before installing SQL Server Agent, you must install SQL Server 2017  on your ubuntu server. If you have already installed SQL Server 2017 then you can connect to SQL Server that you have installed on Ubuntu server in SSMS.</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/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server 2017 on Ubuntu Server that is not connected to Internet</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">SQL Server Agent Installation on Ubuntu Server that has no internet connection</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Tools on Ubuntu Server that does not have internet access.</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">Install SQL Server on Red Hat Linux Server</a></strong></li>
</ul>
<p>As we can see, SQL Server Agent or SQL Agent is disabled and none of its options are showing as enabled in below image. This is because SQL Server Agent package is not installed on that Ubuntu server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1029" src="http://techyaz.com/wp-content/uploads/2017/10/1-sql-agent.jpg" alt="SQL Server Agent " width="498" height="374" srcset="https://techyaz.com/wp-content/uploads/2017/10/1-sql-agent.jpg 498w, https://techyaz.com/wp-content/uploads/2017/10/1-sql-agent-300x225.jpg 300w" sizes="auto, (max-width: 498px) 100vw, 498px" /><br />
SQL Agent Package comes with SQL Server 2017 package repository so if you have downloaded SQL Server 2017 repository, you can just run installation command to install SQL Server Agent. You can have a look at my last article where I have <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">installed SQL Server 2017</a> to understand how to download Microsoft Ubuntu repositories. As we have already installed SQL Server 2017 by downloading its repositories so we can directly install SQL Server Agent here. Run below command to install SQL Server Agent package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#Install SQL Server Agent
<span style="color: #0000ff;">sudo apt-get install mssql-server-agent
</span></span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1030" src="http://techyaz.com/wp-content/uploads/2017/10/2-install-agent-1024x341.jpg" alt="install sql agent" width="1024" height="341" srcset="https://techyaz.com/wp-content/uploads/2017/10/2-install-agent-1024x341.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/2-install-agent-300x100.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/2-install-agent-768x256.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/2-install-agent.jpg 1342w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see SQL Server Agent is installed on this machine in above screenshot and also this installation is suggesting us to restart the SQL Server service to enable SQL Server Agent. Now run below command to restart SQL Server service on this machine. You can see we have restarted SQL Server service in below image.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#Restart SQL Server Service
<span style="color: #0000ff;">systemctl restart mssql-server</span>

#Check SQL Server Service Status
<span style="color: #0000ff;">systemctl status mssql-server
</span></span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1031" src="http://techyaz.com/wp-content/uploads/2017/10/3-restart-sql-service.jpg" alt="Restart SQL Server Service" width="973" height="220" srcset="https://techyaz.com/wp-content/uploads/2017/10/3-restart-sql-service.jpg 973w, https://techyaz.com/wp-content/uploads/2017/10/3-restart-sql-service-300x68.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/3-restart-sql-service-768x174.jpg 768w" sizes="auto, (max-width: 973px) 100vw, 973px" /></p>
<p>Now connect to SQL Server Instance in SSMS client. You can also connect to SQL Server using sqlcmd utility but we need to separately install this utility to make database connection that we will do in another article. If you are already connected to SQL Server instance in SSMS then just right click on Agent folder and click on refresh button.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1032" src="http://techyaz.com/wp-content/uploads/2017/10/4-refresh-sql-service.jpg" alt="refresh sql agent folder" width="401" height="366" srcset="https://techyaz.com/wp-content/uploads/2017/10/4-refresh-sql-service.jpg 401w, https://techyaz.com/wp-content/uploads/2017/10/4-refresh-sql-service-300x274.jpg 300w" sizes="auto, (max-width: 401px) 100vw, 401px" /></p>
<p>You can see SQL Server Agent folder is enabled and all options are showing now in below image. Even now we can create any agent job to schedule any database tasks now.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1033" src="http://techyaz.com/wp-content/uploads/2017/10/5-sql-agent.jpg" alt="SQL Server Agent is installed" width="583" height="411" srcset="https://techyaz.com/wp-content/uploads/2017/10/5-sql-agent.jpg 583w, https://techyaz.com/wp-content/uploads/2017/10/5-sql-agent-300x211.jpg 300w" sizes="auto, (max-width: 583px) 100vw, 583px" /></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>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/">Install SQL Server Agent on Ubuntu 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-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Install SQL Server 2017 on Ubuntu with Internet Access</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 03 Oct 2017 10:24:51 +0000</pubDate>
				<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1012</guid>

					<description><![CDATA[<p>We can easily install SQL Server 2017 on Ubuntu server if we have internet access to the online repositories but little painful if we don’t have internet access to the server. You can read attached article to learn how to&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/">Install SQL Server 2017 on Ubuntu with Internet Access</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We can easily install SQL Server 2017 on Ubuntu server if we have internet access to the online repositories but little painful if we don’t have internet access to the server. You can read attached article to learn <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 server where there is no internet connection</a>. Here i will explain how to perform online installation of SQL Server on Ubuntu 16.04 Server that are connected to internet.</p>
<p>Before going ahead, we need Ubuntu Linux 16.04 server. If you don’t have Ubuntu server then you can <a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">create a virtual machine</a> and <a href="https://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">install Ubuntu 16.04 Server</a> with the help of attached articles in the link.</p>
<h5><span style="color: #000080;">Install SQL Server on Ubuntu Server</span></h5>
<p>Below are the steps you should follow to install SQL Server 2017 on your Ubuntu 16.04 machine that are connected to internet.</p>
<p><strong>1-</strong> First step is to connect to Ubuntu Server locally or using PuTTY.</p>
<p><strong>2-</strong> Once you are connected to Ubuntu server, run below command to download the public repository GPG keys:</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Download GPG Keys</span>
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add –
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1013" src="http://techyaz.com/wp-content/uploads/2017/10/1-Run-Curl-1024x113.jpg" alt="Download GPG keys" width="1024" height="113" srcset="https://techyaz.com/wp-content/uploads/2017/10/1-Run-Curl-1024x113.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/1-Run-Curl-300x33.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/1-Run-Curl-768x85.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/1-Run-Curl.jpg 1070w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><br />
<strong>3-</strong> We can see curl package is not installed on this machine so first we should install curl here. Run below command to install CURL package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install CURL Package.</span>
Sudo apt install curl
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1014" src="http://techyaz.com/wp-content/uploads/2017/10/2-install-curl-1024x501.jpg" alt="Install CURL" width="770" height="330" /></p>
<p>Once curl will be installed, run curl command that are given in step 2 again to download the GPG keys.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1015" src="http://techyaz.com/wp-content/uploads/2017/10/3-Run-Curl.jpg" alt="Run curl to download GPG keys" width="984" height="184" srcset="https://techyaz.com/wp-content/uploads/2017/10/3-Run-Curl.jpg 984w, https://techyaz.com/wp-content/uploads/2017/10/3-Run-Curl-300x56.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/3-Run-Curl-768x144.jpg 768w" sizes="auto, (max-width: 984px) 100vw, 984px" /></p>
<p><strong>4-</strong> Register the Microsoft Ubuntu Repository by running any of the below commands. First command is older one and for RC (Release Candidate) version. If you want to install SQL Server 2017 general availability version then run second command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Register Microsoft Ubuntu Repository for RC version</span>
sudo add-apt-repository "$(curl <a href="https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list">https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list</a>)"

<span style="color: #008000;">#Run this command if you are downloading GA (General Availability) Repository.</span>
sudo curl https://packages.microsoft.com/keys/microsoft.asc \| sudo apt-key add - &amp;&amp; sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server-2017.list)"
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1016" src="http://techyaz.com/wp-content/uploads/2017/10/4-add-apt-repository-1024x117.jpg" alt="add-apt-repository" width="1024" height="117" srcset="https://techyaz.com/wp-content/uploads/2017/10/4-add-apt-repository-1024x117.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/4-add-apt-repository-300x34.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/4-add-apt-repository-768x88.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/4-add-apt-repository.jpg 1238w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>We can see add-apt-repository command is not found so we will first install the required package for this command on this server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install add-apt-repository package</span>
Sudo apt-get install software-properties-common
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1017" src="http://techyaz.com/wp-content/uploads/2017/10/5-add-apt-repository-1024x364.jpg" alt="add-apt-repository" width="1024" height="364" srcset="https://techyaz.com/wp-content/uploads/2017/10/5-add-apt-repository-1024x364.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/5-add-apt-repository-300x107.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/5-add-apt-repository-768x273.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/5-add-apt-repository.jpg 1219w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Type y to proceed in above image. Once installed, again run command given in this step initially. Run the one given for general availability.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1018" src="http://techyaz.com/wp-content/uploads/2017/10/6-add-apt-repository-1024x136.jpg" alt="Download Microsoft Ubuntu Repository" width="1024" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/10/6-add-apt-repository-1024x136.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/6-add-apt-repository-300x40.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/6-add-apt-repository-768x102.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/6-add-apt-repository.jpg 1227w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p><strong>5-</strong> Update the repository by running below command. A series of executions will start during update process.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Update All Packages</span>
Sudo apt-get update
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1019" src="http://techyaz.com/wp-content/uploads/2017/10/7-spt-get-update-1024x84.jpg" alt="update packages in ubuntu" width="1024" height="84" srcset="https://techyaz.com/wp-content/uploads/2017/10/7-spt-get-update-1024x84.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/7-spt-get-update-300x25.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/7-spt-get-update-768x63.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/7-spt-get-update.jpg 1146w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><br />
<strong>6-</strong> Install SQL Server by running below command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server 2017</span>
Sudo apt-get install -y mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1020" src="http://techyaz.com/wp-content/uploads/2017/10/8-mssql-install-1024x436.jpg" alt="Install SQL Server" width="1024" height="436" srcset="https://techyaz.com/wp-content/uploads/2017/10/8-mssql-install-1024x436.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/8-mssql-install-300x128.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/8-mssql-install-768x327.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/8-mssql-install.jpg 1286w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><br />
<strong>7-</strong> Install above suggested package mssql-conf to configure SQL Server 2017. This package will ask you to accept license terms and choose SQL Server edition as shown in below image.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #008000;"> #Run below utility to configure SQL Server </span></strong>
<span style="color: #0000ff;"><strong>sudo /opt/mssql/bin/mssql-conf setup </strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1021" src="http://techyaz.com/wp-content/uploads/2017/10/9-mssql-conf-1024x580.jpg" alt="configure mssql-conf" width="1024" height="580" srcset="https://techyaz.com/wp-content/uploads/2017/10/9-mssql-conf-1024x580.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/9-mssql-conf-300x170.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/9-mssql-conf-768x435.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/9-mssql-conf.jpg 1371w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p><strong>8-</strong> Now check the SQL Server service by running below command. We can see service is running now.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #008000;">#Check SQL Server service</span></strong>
<strong><span style="color: #0000ff;">systemctl status mssql-server</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1022" src="http://techyaz.com/wp-content/uploads/2017/10/10-check-service-1024x206.jpg" alt="Check SQL Server Service" width="1024" height="206" srcset="https://techyaz.com/wp-content/uploads/2017/10/10-check-service-1024x206.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/10/10-check-service-300x60.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/10-check-service-768x154.jpg 768w, https://techyaz.com/wp-content/uploads/2017/10/10-check-service.jpg 1050w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p><strong>9-</strong> Now, you can connect to this instance using SSMS client from your local host or from the server where you have installed SSMS. Make sure that there should be connectivity between both servers. SQL Agent is disabled because it is not installed yet.  Read this article to <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/" target="_blank" rel="noopener">install SQL Server Agent on Ubuntu Server</a> to get it enabled for Agent jobs and other agent related features.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1023" src="http://techyaz.com/wp-content/uploads/2017/10/11-connectusingSSMS.jpg" alt="Connect to SQL Server using SSMS" width="342" height="248" srcset="https://techyaz.com/wp-content/uploads/2017/10/11-connectusingSSMS.jpg 342w, https://techyaz.com/wp-content/uploads/2017/10/11-connectusingSSMS-300x218.jpg 300w" sizes="auto, (max-width: 342px) 100vw, 342px" /></p>
<p><strong>10-</strong> If you face any issue during connectivity, you can check SQL Server port no 1433. If it is not open, run below command to enable port no 1433 and then establish the connection.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #008000;">#Open port 1433
<span style="color: #0000ff;">sudo ufw allow 1433</span></span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1024" src="http://techyaz.com/wp-content/uploads/2017/10/12-Port-enable.jpg" alt="Open port 1433 in ubuntu" width="511" height="88" srcset="https://techyaz.com/wp-content/uploads/2017/10/12-Port-enable.jpg 511w, https://techyaz.com/wp-content/uploads/2017/10/12-Port-enable-300x52.jpg 300w" sizes="auto, (max-width: 511px) 100vw, 511px" /></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>
<pre class="brush: sql; title: ; notranslate" title=""></pre>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/">Install SQL Server 2017 on Ubuntu with Internet Access</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-2017-ubuntu-internet-access/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>Installing SQL Tools on Red Hat Linux</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 04 Sep 2017 13:08:56 +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[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=774</guid>

					<description><![CDATA[<p>I have shown you how to install SQL Server on Redhat Linux Server in my last article. Here I will explain step by step process to install SQL Tools on RedHat Linux 7.3 server. Installing SQL Tools will install sqlcmd&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/">Installing SQL Tools on Red Hat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have shown you <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 Server</a> in my last article. Here I will explain step by step process to install SQL Tools on RedHat Linux 7.3 server. Installing SQL Tools will install sqlcmd and bcp utilities on this RHEL server.</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><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></li>
<li><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></li>
</ul>
<p>If you have installed SQL Server on Red Hat Linux server, you need to install SQL Tools to make database connection locally on the server. Make sure you have internet access on the Linux server where we are going to install SQL Tools. 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-tools-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">installing SQL Tools on RedHat Linux that are running without Internet</a>.</p>
<h3><span style="color: #000080;"><strong>Install SQL Tools on RHEL</strong></span></h3>
<p>As this Linux machine has internet connection so installing SQL Tools on this Linux machine will be quite easy. Let&#8217;s go ahead with the SQL Tools Installation on Red Hat Linux server that are connected to internet. Installation process is quite similar to the <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">installation of SQL Server on Redhat Linux</a>.</p>
<p>Let us first check the SQL Server service to make sure SQL Server is installed on this machine. Run below command to check the service.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check SQL Server Services</span>
systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-775" src="http://techyaz.com/wp-content/uploads/2017/09/1-check-service.jpg" alt="Check SQL Server Service" width="1006" height="197" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-check-service.jpg 1006w, https://techyaz.com/wp-content/uploads/2017/09/1-check-service-300x59.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/1-check-service-768x150.jpg 768w" sizes="auto, (max-width: 1006px) 100vw, 1006px" /></p>
<p>We can see SQL Server is installed on this machine. Now check SQL Tools are installed on this machine or not by running <strong>sqlcmd</strong> utility. We can see this tool is not installed yet.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-776" src="http://techyaz.com/wp-content/uploads/2017/09/2-check-sqlcmd.jpg" alt="check sqlcmd" width="638" height="104" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-check-sqlcmd.jpg 638w, https://techyaz.com/wp-content/uploads/2017/09/2-check-sqlcmd-300x49.jpg 300w" sizes="auto, (max-width: 638px) 100vw, 638px" /></p>
<p>Now we will download the Microsoft SQL Tools Redhat repository configuration file by running below command to start the SQL Tools installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Download Microsoft Red Hat repository configuration file</span>
sudo curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
</span></strong></pre>
<p>You can see file is downloaded to the given folder location. You can see this in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-777" src="http://techyaz.com/wp-content/uploads/2017/09/3-download-repository-1024x265.jpg" alt="download sql tools repository" width="1024" height="265" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-download-repository-1024x265.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/3-download-repository-300x78.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-download-repository-768x199.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/3-download-repository.jpg 1310w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Run below commands to install SQL Tools along with unixODBC package on this server. We need to install unixODBC because of dependency issue. First update all packages by running below command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Run package update.</span>
sudo yum update
</span></strong></pre>
<p>Once package update will complete. Run below command to install SQL Tools. Once you execute below command, a series of execution will start and show you the details of package that are going to install.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span style="color: #008000;">#Install SQL Tools.</span>
<span style="color: #0000ff;">sudo yum install -y mssql-tools unixODBC-devel
</span></strong></pre>
<p>After series of execution, setup will ask you to accept the license terms. Type YES to accept the license terms.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-778" src="http://techyaz.com/wp-content/uploads/2017/09/4-install-sql-tools-1024x551.jpg" alt="Install SQL Tools" width="1024" height="551" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-tools-1024x551.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-tools-300x161.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-tools-768x413.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/4-install-sql-tools.jpg 1440w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>I pressed enter button post accepting the license terms, again a series of execution started and SQL tools installation was completed within minutes.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-779" src="http://techyaz.com/wp-content/uploads/2017/09/5-sql-tool-installation.jpg" alt="install sqlcmd" width="670" height="442" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-sql-tool-installation.jpg 670w, https://techyaz.com/wp-content/uploads/2017/09/5-sql-tool-installation-300x198.jpg 300w" sizes="auto, (max-width: 670px) 100vw, 670px" /></p>
<p>Once SQL Tools will install, you can go ahead and check sqlcmd utility. If your Linux server is not able to recognize SQL Server Tools utilities sqlcmd or bcp we need to set path environment variables. Although, it is optional step but you should run below commands to add /opt/mssql-tools/bin/ to your PATH environment variable.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Add /opt/mssql-tools/bin/ to your PATH environment variable.</span>
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bashrc
source ~/.bashrc
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-780" src="http://techyaz.com/wp-content/uploads/2017/09/6-Path-variable.jpg" alt="Path variables" width="1002" height="86" srcset="https://techyaz.com/wp-content/uploads/2017/09/6-Path-variable.jpg 1002w, https://techyaz.com/wp-content/uploads/2017/09/6-Path-variable-300x26.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/6-Path-variable-768x66.jpg 768w" sizes="auto, (max-width: 1002px) 100vw, 1002px" /></p>
<p>Let us see whether Linux is able to recognize SQL Tool or not in below screenshot. We can see now sqlcmd is throwing output.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-781" src="http://techyaz.com/wp-content/uploads/2017/09/7-check-sqlcmd.jpg" alt="Check sqlcmd" width="695" height="132" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-check-sqlcmd.jpg 695w, https://techyaz.com/wp-content/uploads/2017/09/7-check-sqlcmd-300x57.jpg 300w" sizes="auto, (max-width: 695px) 100vw, 695px" /></p>
<p>Now you can go ahead and connect to your SQL Server instance locally by using sqlcmd tool. You can see i have connected to SQL Server Instance using sqlcmd in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-782" src="http://techyaz.com/wp-content/uploads/2017/09/8-connect-using-sqlcmd.jpg" alt="connect using sqlcmd" width="984" height="369" srcset="https://techyaz.com/wp-content/uploads/2017/09/8-connect-using-sqlcmd.jpg 984w, https://techyaz.com/wp-content/uploads/2017/09/8-connect-using-sqlcmd-300x113.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/8-connect-using-sqlcmd-768x288.jpg 768w" sizes="auto, (max-width: 984px) 100vw, 984px" /></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>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/">Installing SQL Tools on Red Hat 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/installing-sql-tools-red-hat-linux/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>How to Install SQL Server Agent on Ubuntu Server without Internet &#8211; Offline Installation</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 11:18:40 +0000</pubDate>
				<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SQL Server Agent]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=641</guid>

					<description><![CDATA[<p>SQL Server Agent runs scheduled SQL Server jobs and is very useful to automate database tasks. Here i will show you how to install SQL Server Agent on Ubuntu Linux server. We will use offline method to install SQL Server&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/">How to Install SQL Server Agent on Ubuntu Server without Internet &#8211; Offline Installation</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SQL Server Agent runs scheduled SQL Server jobs and is very useful to automate database tasks. Here i will show you how to install SQL Server Agent on Ubuntu Linux server. We will use offline method to install SQL Server Agent because our Ubuntu server is running without an internet connection. <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/" target="_blank" rel="noopener">Installing SQL Server Agent on Ubuntu server that has internet connection</a> is quite easy method. Have a look at the attached article to understand the steps.</p>
<p>Before going ahead, we need a SQL Server Instance running on Ubuntu Linux Server. If you have no idea about installing Ubuntu server or SQL Server 2017 or creating a virtual machine where you can install Ubuntu/RHEL and SQL Server then i would recommend you to read below articles.</p>
<ul>
<li><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></li>
<li><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">How to Install Ubuntu Linux 16.04 on a virtual machine.</a></li>
<li><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">Installing SQL Server 2017 on Ubuntu Server &#8211; Offline Installation.</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Tools on Ubuntu Server &#8211; Offline Installation.</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/" target="_blank" rel="noopener">Install SQL Server Agent on Ubuntu &#8211; Online Method</a></li>
</ul>
<h4><span style="color: #000080;"><strong>Offline Installation of SQL Server Agent on Ubuntu</strong></span></h4>
<p>It is time consuming to install anything if your Ubuntu server has no access of internet. We generally call such installations as offline installation. Microsoft suggests below steps for offline installation of SQL Server Agent on Ubuntu server.</p>
<ul>
<li><a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes#RC2" target="_blank" rel="noopener">Download SQL Server Agent packages.</a></li>
<li>Move this downloaded package to your Ubuntu Linux Machine.</li>
<li>Install the copied debian package on the server.</li>
<li>Resolve Missing Dependencies, if you get any.</li>
</ul>
<p>Now we will go step by step process with the screenshots that will help readers to understand whole process.</p>
<h5><span style="color: #000080;"><strong>SQL Server Agent Offline Installation &#8211; Step by Step</strong></span></h5>
<p>Before moving ahead let&#8217;s check whether SQL Server Agent is installed or not on this machine. You can connect to SQL Server instance using SSMS on your local host. You can see we are able to see SQL Server Agent folder but it is grayed out and not accessible. We need to install SQL Server Agent on Ubuntu server to enable it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-642" src="http://techyaz.com/wp-content/uploads/2017/08/1-check-Agent.jpg" alt="Check SQL Server Agent in SSMS" width="442" height="604" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-check-Agent.jpg 442w, https://techyaz.com/wp-content/uploads/2017/08/1-check-Agent-220x300.jpg 220w" sizes="auto, (max-width: 442px) 100vw, 442px" /></p>
<p>You can check and verify SQL Server service by executing below command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check SQL Server Service.</span>
systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-643" src="http://techyaz.com/wp-content/uploads/2017/08/2-check-mssql.jpg" alt="Check SQL Server Service" width="1019" height="191" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-check-mssql.jpg 1019w, https://techyaz.com/wp-content/uploads/2017/08/2-check-mssql-300x56.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-check-mssql-768x144.jpg 768w" sizes="auto, (max-width: 1019px) 100vw, 1019px" /></p>
<p>You should proceed if SQL Server service is running fine. Next step is to start the package download and proceed with installation. Below is the image of <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes#RC2" target="_blank" rel="noopener">SQL Server Agent Package</a> which we will download to install SQL Server Agent.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-644" src="http://techyaz.com/wp-content/uploads/2017/08/3-download-agent-package-1024x206.jpg" alt="Download SQL Server Agent Package" width="1024" height="206" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-download-agent-package-1024x206.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/3-download-agent-package-300x60.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/3-download-agent-package-768x154.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/3-download-agent-package.jpg 1223w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Download the highlighted debian package for SQL Server Agent. You can download this package on machine or PC which is connected to the internet. Once package will be downloaded to your local PC, next step is to copy this packages to the Ubuntu Linux server that are running without internet connection. I used <strong>WinSCP</strong> tool to copy this file from machine where i have downloaded it to the Linux server. Make sure that there should be connectivity between both machine.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-645" src="http://techyaz.com/wp-content/uploads/2017/08/4-connect-winscp-1024x578.jpg" alt="Connect to WinSCP" width="1024" height="578" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-connect-winscp-1024x578.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/4-connect-winscp-300x169.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-connect-winscp-768x433.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/4-connect-winscp.jpg 1179w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>If you have not installed WinSCP, download it and install on your PC. Launch WinSCP tool and make a connection to Ubuntu server. There are two panes in WinSCp window. The files shows in left side pane is your local system and right side pane is your target Ubuntu server. Now we just need to drag the downloaded debian package from left side pane and drop it to right side pane to copy it to Ubuntu server. Agent file is copied now and we can see that files in both side panes.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-646" src="http://techyaz.com/wp-content/uploads/2017/08/5-copy-agent-package-1024x244.jpg" alt="Copy Agent Package" width="1024" height="244" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-copy-agent-package-1024x244.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/5-copy-agent-package-300x71.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-copy-agent-package-768x183.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/5-copy-agent-package.jpg 1311w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now we can connect to Ubuntu server and validate whether this file is copied there or not. Connect to Ubuntu server and check the files. We can see downloaded file is very much there on Ubuntu server. Now next step is to install this package. We will use the <strong>dpkg package</strong> to install it as we do for other applications on Ubuntu. Let&#8217;s install it by running below command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server Agent on Ubuntu</span>
sudo dpkg -i mssql-server-agent_14.0.900.75-1_amd64.deb
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-647" src="http://techyaz.com/wp-content/uploads/2017/08/6-install-Agent.jpg" alt="Install SQL Server Agent on Ubuntu" width="972" height="422" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-install-Agent.jpg 972w, https://techyaz.com/wp-content/uploads/2017/08/6-install-Agent-300x130.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/6-install-Agent-768x333.jpg 768w" sizes="auto, (max-width: 972px) 100vw, 972px" /></p>
<p>This installation has suggested us to restart SQL Server service to complete this installation so go ahead and restart the service by executing below command.</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-full wp-image-648" src="http://techyaz.com/wp-content/uploads/2017/08/7-restart-sqlserver.jpg" alt="restart SQL Server Service" width="939" height="226" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-restart-sqlserver.jpg 939w, https://techyaz.com/wp-content/uploads/2017/08/7-restart-sqlserver-300x72.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/7-restart-sqlserver-768x185.jpg 768w" sizes="auto, (max-width: 939px) 100vw, 939px" /></p>
<p>Now <strong>SQL Server Agent is installed</strong> on this server. Go ahead connect to this SQL Server Instance using SSMS from local host. This time you would be able to see SQL Server Agent folder enabled.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-649" src="http://techyaz.com/wp-content/uploads/2017/08/8-check-Agent.jpg" alt="Check SQL Server Agent post Installation" width="364" height="608" srcset="https://techyaz.com/wp-content/uploads/2017/08/8-check-Agent.jpg 364w, https://techyaz.com/wp-content/uploads/2017/08/8-check-Agent-180x300.jpg 180w" sizes="auto, (max-width: 364px) 100vw, 364px" /></p>
<p>You can see SQL Server Agent is showing there. Now you can create any jobs on SQL Server to automate database activities.</p>
<p><span style="color: #008080;"><strong>Read more about SQL Server on RedHat Linux:</strong></span></p>
<ul>
<li><strong><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Installing 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-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server 2017 on RedHat Linux – Offline Installation.</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">How to Install SQL Tools on RedHat Linux – Offline Installation.</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">SQL Server Agent Installation on RedHat Linux – Offline Installation.</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-agent-ubuntu-server-without-internet-offline-installation/">How to Install SQL Server Agent on Ubuntu Server without Internet &#8211; Offline Installation</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-ubuntu-server-without-internet-offline-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Step by Step Process to Install SQL Tools on Ubuntu Server running without Internet &#8211; Offline Installation</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 10:58:15 +0000</pubDate>
				<category><![CDATA[SQL Server Administration]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=622</guid>

					<description><![CDATA[<p>I have described step by step process to install Ubuntu 16.04 Server and Offline installation of SQL Server 2017 on Ubuntu server in my last articles. Here I will explain step by step process to install SQL Server tools (sqlcmd&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/">Step by Step Process to Install SQL Tools on Ubuntu Server running without Internet &#8211; Offline Installation</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have described <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 16.04 Server</a> and <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">Offline installation of SQL Server 2017 on Ubuntu server</a> in my last articles. Here I will explain step by step process to install SQL Server tools (sqlcmd and bcp) on Ubuntu server where you had already installed SQL Server 2017. This article will describe the offline method to install SQL tools. The <strong>mssql-tools package</strong> which we will install contains two utilities:</p>
<ul>
<li><strong>sqlcmd:</strong> Command-line query utility.</li>
<li><strong>bcp:</strong> Bulk import-export utility.</li>
</ul>
<p>Before going ahead, we need a Ubuntu server and SQL Server 2017 running on that instance. If you have no idea about installing Ubuntu server or SQL Server 2017 or creating a virtual machine where you can install Ubuntu and SQL Server then i would recommend you to read below articles.</p>
<ul>
<li><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></li>
<li><a href="https://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">How to Install Ubuntu Linux Server on a virtual machine</a></li>
<li><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">Installing SQL Server 2017 on Ubuntu Server &#8211; Offline Installation</a></li>
</ul>
<h4><span style="color: #000080;"><strong>SQL Tools Installation on Ubuntu &#8211; Offline/Without Internet</strong></span></h4>
<p>Installing any package on Ubuntu Linux is straight forward method if your server has internet connection and able to access online repositories. But it becomes painful if your Ubuntu server has no access of internet. We generally call such installations as offline installation. Microsoft suggests below steps for offline installation of SQL Server Tools on Ubuntu server.</p>
<ul>
<li>Download all sql tools related packages. i.e msodbc &amp; mssql-tools</li>
<li>Move these downloaded packages to your Ubuntu Server.</li>
<li>Install the copied debian packages on the server.</li>
<li>Resolve Missing Dependencies, if you get any.</li>
<li>Set the Path environment Variables for this package.</li>
</ul>
<p>Now we will follow step by step process with the screenshots that will help readers to understand this process.</p>
<h5><span style="color: #000080;"><strong>Download &amp; Copy SQL Tools Packages to Ubuntu Server</strong></span></h5>
<p>Before moving ahead let&#8217;s check whether SQL Server is installed or not on this machine. Run below command to check the SQL Server service.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #008000;">#Check SQL Server Service</span><span class="kwrd" style="color: blue;">
systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-623" src="http://techyaz.com/wp-content/uploads/2017/08/1-check-services.jpg" alt="check SQL Server Service on Ubuntu" width="860" height="380" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-check-services.jpg 860w, https://techyaz.com/wp-content/uploads/2017/08/1-check-services-300x133.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/1-check-services-768x339.jpg 768w" sizes="auto, (max-width: 860px) 100vw, 860px" /></p>
<p>We can see SQL Server is installed and running fine on this server. Now you can just type <strong>sqlcmd</strong> to check sql tool is installed or not. We can see it is not installed yet. As we can see SQL Tools are not installed so next step will package download and installation of that package.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-624" src="http://techyaz.com/wp-content/uploads/2017/08/2-check-sqlcmd.jpg" alt="Check sqlcmd" width="388" height="146" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-check-sqlcmd.jpg 388w, https://techyaz.com/wp-content/uploads/2017/08/2-check-sqlcmd-300x113.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-check-sqlcmd-1320x500.jpg 1320w" sizes="auto, (max-width: 388px) 100vw, 388px" /></p>
<p>Let&#8217;s start with downloading the debian package for SQL Tools. You can <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-tools" target="_blank" rel="noopener">download the required SQL Tools debian packages for Ubuntu</a> from the attached link or from <a href="https://packages.microsoft.com/rhel/7.3/prod/" target="_blank" rel="noopener">Microsoft Repositories</a>. You can download these packages on a machine or PC that is connected to the internet. Below are the list of debian packages which needs to be downloaded to install sql tools.</p>
<ul>
<li><strong>msodbcsql_13.1.6.0-1_amd64.deb</strong></li>
<li><strong>mssql-tools_14.0.5.0-1_amd64.deb</strong></li>
</ul>
<p>SQL Tools package installation depends on <strong>msodbcsql package</strong> that must be installed first to avoid any dependency issue. Once package will be downloaded on your local PC, next step is to copy above downloaded packages to the Ubuntu server that are running without internet connection.</p>
<p>You can use any tool, application or method to copy this file from localhost to Ubuntu Linux server. I used <strong>WinSCP</strong> tool to copy this file from machine where i have downloaded the package to the Ubuntu Linux server. Make sure that there should be connectivity between both machine.</p>
<p>If you have not installed WinSCP yet, download and install it on your PC. Launch <strong>WinSCP tool</strong> and make a connection to Ubuntu server. I have explained about WinSCP in my <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">last articles</a>, you can follow it to get more details. Once you established the connection, WinSCP will look like below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-625" src="http://techyaz.com/wp-content/uploads/2017/08/3-download-package-1024x273.jpg" alt="Download SQL Tools Package" width="1024" height="273" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-download-package-1024x273.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/3-download-package-300x80.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/3-download-package-768x205.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/3-download-package.jpg 1370w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now we just need to drag the downloaded debian packages from left side pane and drop it to right side pane to copy it to Ubuntu Linux server. Files are copied now and we can see them in both side panes.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-626" src="http://techyaz.com/wp-content/uploads/2017/08/4-download-package-1024x205.jpg" alt="move sql tool package to Ubuntu" width="1024" height="205" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-download-package-1024x205.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/4-download-package-300x60.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-download-package-768x153.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/4-download-package.jpg 1356w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see SQL Tools packages are copied to location \home\techyaz\ in above screenshot. Now we can connect to Ubuntu server and validate whether files are copied there or not.</p>
<p>Connect to Ubuntu server and check the files. You can run <strong>ls -lrt</strong> to check the files. Once packages will be copied to ubuntu server, next step is to first install msodbcsql package. 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 msodbcsql package</span>
sudo dpkg -i msodbcsql_13.1.6.0-1_amd64.deb
</span></strong></pre>
<p>Here we will use <strong>dpkg package management</strong> system for installation because SQL Tools are debian packages for Ubuntu servers. We can see below dependencies error while executing msodbc package. Now our next step is to fix these dependency issues and then kick off the installation again.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-627" src="http://techyaz.com/wp-content/uploads/2017/08/5-install-msodbc.jpg" alt="install msodbc" width="770" height="288" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-install-msodbc.jpg 770w, https://techyaz.com/wp-content/uploads/2017/08/5-install-msodbc-300x112.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-install-msodbc-768x287.jpg 768w" sizes="auto, (max-width: 770px) 100vw, 770px" /></p>
<h5><span style="color: #000080;"><strong>Resolve Dependencies</strong></span></h5>
<p>We can see msodbcsql package depends on <strong>unixODBC package</strong> so first we need to download, move and install unixODBC package on Ubuntu server.</p>
<p>Resolving dependencies are painful job because every package has some dependencies and you need to download and install all such packages manually if you don&#8217;t have internet connection on Ubuntu server. If your Ubuntu server has internet connection, all dependencies will be installed using online repository.</p>
<p>Now let&#8217;s download and move <strong>unixODBC package</strong> to Ubuntu server. We can <a href="https://packages.ubuntu.com/" target="_blank" rel="noopener">download all required debian packages</a> from attached link.  We can see unixODBC package has been copied to the server now in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-628" src="http://techyaz.com/wp-content/uploads/2017/08/6-copy-unixodbc-1024x219.jpg" alt="Copy UnixODBC" width="1024" height="219" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-copy-unixodbc-1024x219.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/6-copy-unixodbc-300x64.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/6-copy-unixodbc-768x164.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/6-copy-unixodbc.jpg 1358w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Install this package now.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install unixODBC Package.</span>
sudo dpkg -i unixodbc_2.3.1-4.1_amd64.deb
</span></strong></pre>
<p>We can see this package has another dependency error. That means UnixODBC package is dependent on given packages i.e. libodbc1 &amp; odbcinst1debian2.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-629" src="http://techyaz.com/wp-content/uploads/2017/08/7-unixodbc-install-error.jpg" alt="unixodbc install error" width="726" height="327" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-unixodbc-install-error.jpg 726w, https://techyaz.com/wp-content/uploads/2017/08/7-unixodbc-install-error-300x135.jpg 300w" sizes="auto, (max-width: 726px) 100vw, 726px" /></p>
<p>When i downloaded <strong>libodbc1</strong> and tried to install it, this package failed because of another dependency.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-630" src="http://techyaz.com/wp-content/uploads/2017/08/8-libodbc1-1024x318.jpg" alt="Libodbc1" width="1024" height="318" srcset="https://techyaz.com/wp-content/uploads/2017/08/8-libodbc1-1024x318.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/8-libodbc1-300x93.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/8-libodbc1-768x239.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/8-libodbc1.jpg 1436w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>We can see the dependent package in above image. I <a href="https://packages.ubuntu.com/xenial/libltdl7" target="_blank" rel="noopener">downloaded package <strong>libltdl7</strong></a> and installed on Ubuntu server. <strong>libltdl7</strong> package got installed successfully without any dependency error.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-631" src="http://techyaz.com/wp-content/uploads/2017/08/9-lbltdl7.jpg" alt="lbltdl7 installation" width="907" height="386" srcset="https://techyaz.com/wp-content/uploads/2017/08/9-lbltdl7.jpg 907w, https://techyaz.com/wp-content/uploads/2017/08/9-lbltdl7-300x128.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/9-lbltdl7-768x327.jpg 768w" sizes="auto, (max-width: 907px) 100vw, 907px" /></p>
<p>Once <strong>libltdl7 package</strong> will be installed, next step is to install all dependencies in reverse order. Here we will install <strong>libodbc1</strong> then <strong>unixodbc</strong> followed by <strong>msodbcsql</strong> package.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-632" src="http://techyaz.com/wp-content/uploads/2017/08/10-libodbc1-install.jpg" alt="libodbc1 install" width="765" height="159" srcset="https://techyaz.com/wp-content/uploads/2017/08/10-libodbc1-install.jpg 765w, https://techyaz.com/wp-content/uploads/2017/08/10-libodbc1-install-300x62.jpg 300w" sizes="auto, (max-width: 765px) 100vw, 765px" /></p>
<p>We have seen, there were two dependencies to install <strong>unixODBC</strong> package. One <strong>libodbc1</strong> has been installed. Please perform similar exercise to install another dependency <strong>odbcinst1debian2</strong>. Once both packages will be installed, go ahead and install unixodbc in order to install msodbcsql package.</p>
<p>If you want to check all dependencies for these packages, you can get it by running below command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;"><span style="color: #008000;">#Check dependencies of both packages.</span></span><span style="color: #0000ff;">
dpkg -I msodbcsql_13.1.6.0-1_amd64.deb | grep "Depends:"
dpkg -I mssql-tools_14.0.5.0-1_amd64.deb | grep "Depends:"
</span></span></strong></pre>
<p><strong>If you have internet connection on your Ubuntu server</strong> then this task will be very easy to perform. You just need to execute below command to install unixodbc package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install unixodbc on Ubuntu if server is connected to Internet.</span>
sudo apt-get -f install unixodbc
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-633" src="http://techyaz.com/wp-content/uploads/2017/08/11-unixodbc-internet.jpg" alt="unixodbc installation using internet" width="681" height="295" srcset="https://techyaz.com/wp-content/uploads/2017/08/11-unixodbc-internet.jpg 681w, https://techyaz.com/wp-content/uploads/2017/08/11-unixodbc-internet-300x130.jpg 300w" sizes="auto, (max-width: 681px) 100vw, 681px" /></p>
<h5><span style="color: #000080;"><strong>SQL Tools Installation</strong></span></h5>
<p>We have resolved all dependencies errors in above section. Now we will install SQL Tools to establish database connection to SQL Server instance from ubuntu server. Run below command to install the msodbcsql package again post resolving dependencies.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install msodbcsql Package</span>
sudo dpkg -i msodbcsql_13.1.6.0-1_amd64.deb
</span></strong></pre>
<p>Once you will execute above command, you will get below screen to <strong>accept the license terms</strong>. Choose <strong>Yes</strong> and press enter button to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-634" src="http://techyaz.com/wp-content/uploads/2017/08/12-msodbc-install-1024x425.jpg" alt="msodbc installation" width="1024" height="425" srcset="https://techyaz.com/wp-content/uploads/2017/08/12-msodbc-install-1024x425.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/12-msodbc-install-300x125.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/12-msodbc-install-768x319.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/12-msodbc-install.jpg 1423w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Once you press enter, package execution will start. You can see <strong>msodbcsql package is installed successfully</strong> now.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-635" src="http://techyaz.com/wp-content/uploads/2017/08/13-msodbc-install.jpg" alt="msodbc installation" width="941" height="158" srcset="https://techyaz.com/wp-content/uploads/2017/08/13-msodbc-install.jpg 941w, https://techyaz.com/wp-content/uploads/2017/08/13-msodbc-install-300x50.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/13-msodbc-install-768x129.jpg 768w" sizes="auto, (max-width: 941px) 100vw, 941px" /></p>
<p>Next we will install another package <strong>mssql-tools</strong> now. 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 mssql-tools Package</span>
sudo dpkg -i mssql-tools_14.0.5.0-1_amd64.deb
</span></strong></pre>
<p>Again this package will ask you to <strong>accept the license terms</strong> just like msodbcsql package. Choose <strong>yes</strong> and press enter to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-636" src="http://techyaz.com/wp-content/uploads/2017/08/14-mssql-tools-1024x441.jpg" alt="Install mssql tools" width="1024" height="441" srcset="https://techyaz.com/wp-content/uploads/2017/08/14-mssql-tools-1024x441.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-tools-300x129.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-tools-768x331.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-tools.jpg 1413w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You cans see <strong>mssql-tools package is installed</strong> in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-637" src="http://techyaz.com/wp-content/uploads/2017/08/15-mssql-tools.jpg" alt="install mssql tools" width="735" height="154" srcset="https://techyaz.com/wp-content/uploads/2017/08/15-mssql-tools.jpg 735w, https://techyaz.com/wp-content/uploads/2017/08/15-mssql-tools-300x63.jpg 300w" sizes="auto, (max-width: 735px) 100vw, 735px" /></p>
<p><strong>Final step</strong> is to set the <strong>path environment variables</strong>. Run below command to set the path environment variables. Ubuntu will not be able to recognize <strong>sqlcmd utility</strong> unless you set the path environment variable. You can see that in below screenshot. Ubuntu is able to recognize sqlcmd utility once we set the path environment variables.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#To make sqlcmd/bcp accessible from the bash shell for login sessions, modify your PATH in the ~/.bash_profile file</span>
echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bash_profile

<span style="color: #008000;">#To make sqlcmd/bcp accessible from the bash shell for interactive/non-login sessions, modify the PATH in the ~/.bashrc file
</span>echo 'export PATH="$PATH:/opt/mssql-tools/bin"' &gt;&gt; ~/.bashrc
source ~/.bashrc
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-638" src="http://techyaz.com/wp-content/uploads/2017/08/16-path-variable.jpg" alt="Patch variables" width="974" height="249" srcset="https://techyaz.com/wp-content/uploads/2017/08/16-path-variable.jpg 974w, https://techyaz.com/wp-content/uploads/2017/08/16-path-variable-300x77.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/16-path-variable-768x196.jpg 768w" sizes="auto, (max-width: 974px) 100vw, 974px" /></p>
<p>Now connect to SQL Server instance using sqlcmd and run a command to validate this installation. I have checked the SQL Server version installed on ubuntu server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-639" src="http://techyaz.com/wp-content/uploads/2017/08/17-select-version.jpg" alt="" width="737" height="367" srcset="https://techyaz.com/wp-content/uploads/2017/08/17-select-version.jpg 737w, https://techyaz.com/wp-content/uploads/2017/08/17-select-version-300x149.jpg 300w" sizes="auto, (max-width: 737px) 100vw, 737px" /></p>
<p>We get above details that SQL Server 2017 is installed on this Ubuntu server by executing sqlcmd utility. Now we have done with SQL Tools installation on Ubuntu server. Go ahead and connect to your Ubuntu server using SQL Tools.</p>
<p><span style="color: #800000;"><strong>Read more about SQL Server on RedHat Linux:</strong></span></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">Installing 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-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server 2017 on RedHat Linux – Offline Installation.</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">How to Install SQL Tools on RedHat Linux – Offline Installation.</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">SQL Server Agent Installation on RedHat Linux – Offline Installation.</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/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/">Step by Step Process to Install SQL Tools on Ubuntu Server running without Internet &#8211; Offline Installation</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/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install SQL Server 2017 on Ubuntu Server without Internet &#8211; Offline Installation</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 23 Aug 2017 10:07:48 +0000</pubDate>
				<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=604</guid>

					<description><![CDATA[<p>Starting with SQL Server 2017, we can run &#38; deploy our applications on Linux based SQL Server Instances. I have already explained step by step method to install SQL Server on Redhat Linux without any internet connection in my last&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/">How to Install SQL Server 2017 on Ubuntu Server without Internet &#8211; Offline Installation</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Starting with SQL Server 2017, we can run &amp; deploy our applications on Linux based SQL Server Instances. I have already explained step by step method to <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">install SQL Server on Redhat Linux without any internet connection</a> in my last article. Here I will explain step by step process to install SQL Server on Ubuntu 16.04 server that is also running without an internet connection.</p>
<p>We can easily <a href="https://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 if we have internet access to the online repositories</a> but what if we don&#8217;t have internet access to the server. Here i will explain how to perform offline installation of SQL Server on Ubuntu 16.04 Server.</p>
<p>Before going ahead, we need Ubuntu Linux 16.04 server. If you don&#8217;t have Ubuntu server then you can <a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">create a virtual machine</a> and <a href="https://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">install Ubuntu 16.04 Server</a> with the help of attached articles in the link.</p>
<h4><span style="color: #000080;"><strong>Offline Installation of SQL Server 2017 on Ubuntu Server</strong></span></h4>
<p><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 Linux</a> is straight forward method if your server has internet connection and able to access online repositories. But it becomes painful if your Ubuntu server has no access of internet. We generally call it offline installation. Microsoft suggests below steps for offline installation of SQL Server on Ubuntu Linux server.</p>
<ul>
<li>Download the database engine package which you need to install.</li>
<li>Move this downloaded packages to your Ubuntu Machine.</li>
<li>Install the copied Debian package on the server.</li>
<li>Resolve Missing Dependencies, if you get any. This is most painful step in Offline Installation.</li>
<li>Complete the SQL Server Setup by running mssql-conf.</li>
</ul>
<p>Now we will go step by step process with the screenshots that will help readers to understand this process.</p>
<h5><span style="color: #000080;"><strong>Download &amp; Move SQL Server Debian Package on the Server</strong></span></h5>
<p>Let&#8217;s start with downloading the debian package for SQL Server database engine. You can <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes" target="_blank" rel="noopener">download the required debian packages</a> from release notes or from <a href="https://packages.microsoft.com/rhel/7.3/prod/" target="_blank" rel="noopener">Microsoft repositories.</a> I downloaded database engine package from <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes">SQL Server 2017 Release Notes</a>. You can download this package on a machine or PC which is connected to the internet. Below is the image of debian packages that can be downloaded.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-605" src="http://techyaz.com/wp-content/uploads/2017/08/1-download-package-1-1024x214.jpg" alt="download sql server package" width="1024" height="214" srcset="https://techyaz.com/wp-content/uploads/2017/08/1-download-package-1-1024x214.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/1-download-package-1-300x63.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/1-download-package-1-768x160.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/1-download-package-1.jpg 1232w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Next, we need to copy above downloaded package to our Ubuntu server that doesn&#8217;t have internet connection. You can use any tool, application or method to copy this file from local host to Ubuntu server. I used <strong>WinSCP</strong> tool to copy this file from machine where i have downloaded the packge to the Ubuntu server. Make sure that there should be connectivity between both machine.</p>
<p>If you have not installed WinSCP, download it and install on your PC. Launch WinSCP tool and make a connection to Ubuntu server. You can see i entered all details and credentials in below image to make connection. Once you save the details, login button will enable. Click on Login button to establish connection.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-606" src="http://techyaz.com/wp-content/uploads/2017/08/2-connect-winscp-1024x586.jpg" alt="connect to winscp" width="1024" height="586" srcset="https://techyaz.com/wp-content/uploads/2017/08/2-connect-winscp-1024x586.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/2-connect-winscp-300x172.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/2-connect-winscp-768x440.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/2-connect-winscp.jpg 1113w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>It will again ask you to enter password, type the password and press enter to make connection to the Ubuntu Server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-607" src="http://techyaz.com/wp-content/uploads/2017/08/3-connect-winscp-1.jpg" alt="connect to Winscp" width="641" height="591" srcset="https://techyaz.com/wp-content/uploads/2017/08/3-connect-winscp-1.jpg 641w, https://techyaz.com/wp-content/uploads/2017/08/3-connect-winscp-1-300x277.jpg 300w" sizes="auto, (max-width: 641px) 100vw, 641px" /></p>
<p>There are two panes in WinSCp window. The files shows in left side pane is your local system and right side pane is your target Ubuntu server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-608" src="http://techyaz.com/wp-content/uploads/2017/08/4-winscp-1024x265.jpg" alt="WinSCP" width="1024" height="265" srcset="https://techyaz.com/wp-content/uploads/2017/08/4-winscp-1024x265.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/4-winscp-300x78.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/4-winscp-768x199.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/4-winscp.jpg 1361w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Now we just need to drag the downloaded debian package from left side pane and drop it to right side pane to copy it to Ubuntu server. You can see the copy process in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-609" src="http://techyaz.com/wp-content/uploads/2017/08/5-copy-1024x547.jpg" alt="copy files to ubuntu server" width="1024" height="547" srcset="https://techyaz.com/wp-content/uploads/2017/08/5-copy-1024x547.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/5-copy-300x160.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/5-copy-768x411.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/5-copy.jpg 1156w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see debian package is copied to location \home\techyaz\ in below image. So, we can connect to Ubuntu server and validate whether file is copied there or not.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-610" src="http://techyaz.com/wp-content/uploads/2017/08/6-winscp-post-copy-1024x187.jpg" alt="WinSCP post copy the package" width="1024" height="187" srcset="https://techyaz.com/wp-content/uploads/2017/08/6-winscp-post-copy-1024x187.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/6-winscp-post-copy-300x55.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/6-winscp-post-copy-768x140.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/6-winscp-post-copy.jpg 1348w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Connect to Ubuntu server. Check the package in location \home\techyaz\. We can see downloaded file is very much there on Ubuntu server. I have also validated whether SQL Server is installed on this machine previously by someone else or not by checking its service in below image. We can see SQL Server is not installed on this machine yet.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-611" src="http://techyaz.com/wp-content/uploads/2017/08/7-connect-ubuntu-1024x365.jpg" alt="connect to Ubuntu" width="1024" height="365" srcset="https://techyaz.com/wp-content/uploads/2017/08/7-connect-ubuntu-1024x365.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/7-connect-ubuntu-300x107.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/7-connect-ubuntu-768x273.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/7-connect-ubuntu.jpg 1031w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">
#Check the copied package.</span>
ls -lrt

<span style="color: #008000;">#Check SQL Server Service.</span>
systemctl status mssql-service
</span></strong></pre>
<p>Now our next step is to install this package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server debian package.</span>
sudo dpkg -i mssql-server_versionnumber_amd64.deb
</span></strong></pre>
<p><strong>dpkg</strong> is a package manager for Debian-based systems. It can install, remove, and build packages. I ran installation command using <strong>dpkg</strong> 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. Best way to fix missing dependencies is to download the required package, copy them to the Ubuntu server and install them if you don&#8217;t have internet connection on Ubuntu server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-612" src="http://techyaz.com/wp-content/uploads/2017/08/8-install-failed.jpg" alt="SQL Server Install failed" width="889" height="619" srcset="https://techyaz.com/wp-content/uploads/2017/08/8-install-failed.jpg 889w, https://techyaz.com/wp-content/uploads/2017/08/8-install-failed-300x209.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/8-install-failed-768x535.jpg 768w" sizes="auto, (max-width: 889px) 100vw, 889px" /></p>
<h5><span style="color: #000080;"><strong>Resolve Dependencies</strong></span></h5>
<p>I faced few dependency issues while installing above debian package. I ran below command to check all dependencies for this SQL Server debian package.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Package Dependency for below package</span>
dpkg -I mssql-server_versionnumber_amd64.deb
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-613" src="http://techyaz.com/wp-content/uploads/2017/08/9-check-dependencies-1024x360.jpg" alt="Check SQL package dependencies" width="1024" height="360" srcset="https://techyaz.com/wp-content/uploads/2017/08/9-check-dependencies-1024x360.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/9-check-dependencies-300x105.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/9-check-dependencies-768x270.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/9-check-dependencies.jpg 1417w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see the list of dependencies showing into highlighted area which needs to be installed before installing SQL Server package. It&#8217;s very easy to install all such packages into one go by executing below command if your server is connected to Internet. This will download and install all required packages from online repository.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install all dependencies</span>
sudo apt-get -f install libunwind8 libnuma1 libc6 adduser libjemalloc1 libc++1 gdb debconf libcurl3 hostname openssl openssl python libgssapi-krb5-2 libsss-nss-idmap0 gawk sed
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-614" src="http://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies-1024x469.jpg" alt="Install Dependencies" width="1024" height="469" srcset="https://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies-1024x469.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies-300x137.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies-768x352.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies-980x450.jpg 980w, https://techyaz.com/wp-content/uploads/2017/08/10-install-dependencies.jpg 1420w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>It will ask you to enter <span style="color: #008000;"><strong>Y</strong></span> to proceed with the installation for all given packages in the command. You can see all such packages have been installed using online repository.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-615" src="http://techyaz.com/wp-content/uploads/2017/08/11-install-dependecies-1024x138.jpg" alt="Install Dependencies" width="1024" height="138" srcset="https://techyaz.com/wp-content/uploads/2017/08/11-install-dependecies-1024x138.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/11-install-dependecies-300x40.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/11-install-dependecies-768x104.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/11-install-dependecies.jpg 1438w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>But here, we are installing SQL Server on ubuntu server into offline mode that means we don&#8217;t have access to internet on the server. In that case, we need to <strong>manually download</strong> each and every package, move them to Ubuntu server the way we moved SQL Server package and then install all of them there. This is time consuming task because every package has some other dependencies. I downloaded and installed all these packages on Ubuntu Server to proceed. There are lot of packages i installed to fix dependencies. It was not possible for me to take all screenshots so i did not attach them here.</p>
<h5><span style="color: #000080;"><strong>Offline Installation</strong></span></h5>
<p>Once all dependencies have been resolved, move ahead to install SQL Server on this server. Run below command to execute the installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server on Ubuntu</span>
sudo dpkg -i mssql-server_versionnumber_amd64.deb
</span></strong></pre>
<p>We can see <span style="color: #000000;"><strong>SQL Server has been successfully installed</strong></span> on this Ubuntu server. You can see this in below image. Setup also suggests us to run another command to complete this installation. We will execute this command in next step.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-616" src="http://techyaz.com/wp-content/uploads/2017/08/12-sql-install.jpg" alt="SQL Server Installation on Ubuntu" width="793" height="377" srcset="https://techyaz.com/wp-content/uploads/2017/08/12-sql-install.jpg 793w, https://techyaz.com/wp-content/uploads/2017/08/12-sql-install-300x143.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/12-sql-install-768x365.jpg 768w" sizes="auto, (max-width: 793px) 100vw, 793px" /></p>
<p>Now we will run below command to <strong>set the sa password</strong> and <strong>accept the license terms</strong> for SQL Server using <strong>mssql-conf utility</strong>. mssql-conf is a Microsoft SQL Server Configuration utility that are used to configure such parameters.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Run SQL Server Configuration</span>
sudo /opt/mssql/bin/mssql-conf setup
</span></strong></pre>
<p>This execution will ask us to <strong>accept the License terms</strong>, select the <strong>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 us to enter YES to access the license terms. Type <strong>YES</strong> and press enter.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-617" src="http://techyaz.com/wp-content/uploads/2017/08/13-mssql-conf.jpg" alt="mssql-conf" width="734" height="226" srcset="https://techyaz.com/wp-content/uploads/2017/08/13-mssql-conf.jpg 734w, https://techyaz.com/wp-content/uploads/2017/08/13-mssql-conf-300x92.jpg 300w" sizes="auto, (max-width: 734px) 100vw, 734px" /></p>
<p>Once you press enter post <strong>accepting license terms</strong>, setup will give you options to <strong>choose SQL Server edition</strong>. Select correct edition as per your requirement. You can see only first three editions are free and rest of all are paid. I selected option 2 to proceed. Once you choose SQL Server edition, it will ask you to <strong>set sa login password</strong>. Make sure to enter complex password for sa and do not share it to anybody. The moment you set the sa password, SQL Server configuration will proceed to complete the configuration and will be ready to use.</p>
<p><img loading="lazy" decoding="async" class="aligncenter  wp-image-618" src="http://techyaz.com/wp-content/uploads/2017/08/14-mssql-conf-1024x546.jpg" alt="mssql-conf" width="701" height="374" srcset="https://techyaz.com/wp-content/uploads/2017/08/14-mssql-conf-1024x546.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-conf-300x160.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-conf-768x410.jpg 768w, https://techyaz.com/wp-content/uploads/2017/08/14-mssql-conf.jpg 1357w" sizes="auto, (max-width: 701px) 100vw, 701px" /></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 Ubuntu server if you are facing issue during remote connections.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Enable port 1433 for remote connection</span>
sudo ufw allow 1433
</span></strong></pre>
<p>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>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-619" src="http://techyaz.com/wp-content/uploads/2017/08/15-service.jpg" alt="SQL Server Service" width="951" height="227" srcset="https://techyaz.com/wp-content/uploads/2017/08/15-service.jpg 951w, https://techyaz.com/wp-content/uploads/2017/08/15-service-300x72.jpg 300w, https://techyaz.com/wp-content/uploads/2017/08/15-service-768x183.jpg 768w" sizes="auto, (max-width: 951px) 100vw, 951px" /></p>
<p>Now your <strong>SQL Server is ready to use</strong>. You can connect to this instance using SSMS client tool. Next step is to install SQL Tools  (sqlcmd &amp; bcp utilities) and SQL Server Agent on this server.  Read below articles if you want to <strong>install SQL Tools</strong> and <strong>SQL Server Agent</strong> on Ubuntu Server.</p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-sql-tools-ubuntu-server-running-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Tools on Ubuntu Server &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">Step by Step method to install SQL Server Agent on Ubuntu Server &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-ubuntu-server/" target="_blank" rel="noopener">Install SQL Server Agent on Ubuntu that has been connected to internet</a></strong></li>
</ul>
<p>I have connected to SQL Server installed on Ubuntu server from SSMS client. We can see SQL Server Agent is grayed out that is because SQL Server Agent is not installed yet. Read above attached articles to install SQL Server Agent on this Ubuntu Server.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-620" src="http://techyaz.com/wp-content/uploads/2017/08/16-ssms.jpg" alt="Connect to SQL Server using SSMS" width="446" height="604" srcset="https://techyaz.com/wp-content/uploads/2017/08/16-ssms.jpg 446w, https://techyaz.com/wp-content/uploads/2017/08/16-ssms-222x300.jpg 222w" sizes="auto, (max-width: 446px) 100vw, 446px" /></p>
<p><strong><span style="color: #800000;">Read more about SQL Server on RedHat Linux:</span></strong></p>
<ul>
<li><strong><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Installing 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-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server 2017 on RedHat Linux &#8211; Offline Installation.</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">How to Install SQL Tools on RedHat Linux &#8211; Offline Installation.</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">SQL Server Agent Installation on RedHat Linux &#8211; Offline Installation.</a></strong></li>
</ul>
<p>I hope you like this article. Comment us if you have any question. 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-2017-on-ubuntu-server-without-internet-offline-installation/">How to Install SQL Server 2017 on Ubuntu Server without Internet &#8211; Offline Installation</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-2017-on-ubuntu-server-without-internet-offline-installation/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
