Book Image

SQL Server on Linux

Book Image

SQL Server on Linux

Overview of this book

Microsoft's launch of SQL Server on Linux has made SQL Server a truly versatile platform across different operating systems and data-types, both on-premise and on-cloud. This book is your handy guide to setting up and implementing your SQL Server solution on the open source Linux platform. You will start by understanding how SQL Server can be installed on supported and unsupported Linux distributions. Then you will brush up your SQL Server skills by creating and querying database objects and implementing basic administration tasks to support business continuity, including security and performance optimization. This book will also take you beyond the basics and highlight some advanced topics such as in-memory OLTP and temporal tables. By the end of this book, you will be able to recognize and utilize the full potential of setting up an efficient SQL Server database solution in your Linux environment.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

SQL Server installation on Kubuntu


The installation procedure on Kubuntu is identical to that in Ubuntu 16.04 and 16.10, which are officially supported by Microsoft. Kubuntu and Ubuntu share the same version numbering. My installation example is based on Kubuntu 16.10.

The whole installation procedure is command line-based. It means that you will be required to use bash.

Note

If you want to start installation, you will need minimum 3.25GB of memory to run SQL Server on Linux.

The following are the steps to install SQL Server on Linux on Kubuntu:

  1. The first step is to add GPG keys and register SQL Server Ubuntu repository:
        # curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
        # curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list | sudo tee
        /etc/apt/sources.list.d/mssql-server.list
  1. Run the following two commands to install SQL Server. The first one is to refresh the packages list and the second one to start setting up:
        #...