Linux:online


Online installation of SQL Server package on LINUX:






Prerequisites:

  1. A machine (VM, physical, etc) with Linux installed
    1. Red Hat Enterprise Linux (7.3 or 7.4)
  2. The Working internet to install package of SQL Server 2017 onto your Linux machine.
    1. Repo file creation
    2. Installing package

Start Vm and Login to linux

Here im using root user:

Creating Repository File:

Here are link  from microsoft to get the detail on repo file

sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo


--To check repo file 
#cat /etc/yum.repos.d/mssql-server.repo 

--To cleans up any cached packages in any enabled repository cache directory
#yum clean all

--update to the latest current version of package.It takes some time to update
#yum update

Install package online

#sudo yum install -y mssql-server


After installation completion following screen apprears:


At this time setup files are loaded successfully. You have to copy the line from above command output shown in dotted line. 

Configure installation of sql server:


#sudo /opt/mssql/bin/mssql-conf setup

Choose edition based on requirement, as I am testing I choose Evaluation edition
Enter password for SA user.


Now check the status of services
#systemctl status mssql-server.service


So installation is completed successfully

We can check by connecting, first we need ip address

#ifconfig 


Connect using SSMS:


Use ip address from above command output and username as SA with your given password.


Name

Azure Backup Database Clustering Crash Dumps DBCC Deadlock Link Server Log Shipping Maintenance Migration Mirroring Monitoring Performance Tuning Permissions Post Installations Prerequisites Replication Restore Database SQL Installations SQL on Linux SQL Uninstallations SSIS T-SQL Windows Server
false
ltr
item
hybriddba.blogspot.com: Linux:online
Linux:online
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRK5Q9UIqJRPFqOEDm1t4gyhN8uSqwa6iGNYSgRAyCMXovBP9S7DZPGGzMEeXsK8isP2pLs3sBI2xpyUOy5F2QAYNJL4w2a0_1huJaNOfezPF6Zf4Nb17sD5y9YgVXcrGYLyUjbY7NFrH-/s1600/1579482208262609-0.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRK5Q9UIqJRPFqOEDm1t4gyhN8uSqwa6iGNYSgRAyCMXovBP9S7DZPGGzMEeXsK8isP2pLs3sBI2xpyUOy5F2QAYNJL4w2a0_1huJaNOfezPF6Zf4Nb17sD5y9YgVXcrGYLyUjbY7NFrH-/s72-c/1579482208262609-0.png
hybriddba.blogspot.com
https://hybriddba.blogspot.com/2019/04/linuxonline.html
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/
https://hybriddba.blogspot.com/2019/04/linuxonline.html
true
7679493960263860249
UTF-8
Not found any posts Not found any related posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU Tag ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Contents See also related Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy