You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/includes/sql-linux-quickstart-connect-query.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,8 +109,9 @@ In addition to **sqlcmd**, you can use the following cross-platform tools to man
109
109
|||
110
110
|---|---|
111
111
|[Azure Data Studio](../azure-data-studio/index.md)| A cross-platform GUI database management utility. |
112
-
|[mssql-cli](https://github.com/dbcli/mssql-cli/tree/master/doc)| A cross-platform command-line interface for running Transact-SQL commands. |
113
112
|[Visual Studio Code](../linux/sql-server-linux-develop-use-vscode.md)| A cross-platform GUI code editor that run Transact-SQL statements with the mssql extension. |
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-ubuntu.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@ description: This quickstart shows how to install SQL Server 2017 or SQL Server
5
5
author: rothja
6
6
ms.author: jroth
7
7
manager: craigg
8
-
ms.date: 07/16/2018
8
+
ms.date: 05/28/2019
9
9
ms.topic: conceptual
10
10
ms.prod: sql
11
-
ms.custom: "sql-linux, seodec18"
11
+
ms.custom: "sqlfreshmay19"
12
12
ms.technology: linux
13
13
ms.assetid: 31c8c92e-12fe-4728-9b95-4bc028250d85
14
14
---
@@ -30,13 +30,13 @@ In this quickstart, you install SQL Server 2019 preview on Ubuntu 16.04. You the
30
30
::: moniker-end
31
31
32
32
> [!TIP]
33
-
> This tutorial requires user input and an internet connection. If you are interested in the [unattended](sql-server-linux-setup.md#unattended) or [offline](sql-server-linux-setup.md#offline) installation procedures, see [Installation guidance for SQL Server on Linux](sql-server-linux-setup.md).
33
+
> This tutorial requires user input and an internet connection. If you are interested in the unattended or offline installation procedures, see [Installation guidance for SQL Server on Linux](sql-server-linux-setup.md).
34
34
35
35
## Prerequisites
36
36
37
37
You must have a Ubuntu 16.04 machine with **at least 2 GB** of memory.
38
38
39
-
To install Ubuntu on your own machine, go to [https://www.ubuntu.com/download/server](https://www.ubuntu.com/download/server). You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](https://docs.microsoft.com/azure/virtual-machines/linux/tutorial-manage-vm).
39
+
To install Ubuntu 16.04 on your own machine, go to [http://releases.ubuntu.com/xenial/](http://releases.ubuntu.com/xenial/). You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](https://docs.microsoft.com/azure/virtual-machines/linux/tutorial-manage-vm).
40
40
41
41
> [!NOTE]
42
42
> At this time, the [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) for Windows 10 is not supported as an installation target.
@@ -91,7 +91,7 @@ To configure SQL Server on Ubuntu, run the following commands in a terminal to i
91
91
5. Once the configuration is done, verify that the service is running:
92
92
93
93
```bash
94
-
systemctl status mssql-server
94
+
systemctl status mssql-server --no-pager
95
95
```
96
96
97
97
6. If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall.
@@ -137,7 +137,7 @@ To configure SQL Server on Ubuntu, run the following commands in a terminal to i
137
137
5. Once the configuration is done, verify that the service is running:
138
138
139
139
```bash
140
-
systemctl status mssql-server
140
+
systemctl status mssql-server --no-pager
141
141
```
142
142
143
143
6. If you plan to connect remotely, you might also need to open the SQL Server TCP port (default 1433) on your firewall.
These packages depend on **msodbcsql**, which must be installed first. The **msodbcsql** pacakage also has a dependency on either **unixODBC-devel** (RPM) or **unixodbc-dev** (Debian). The location of the **msodbcsql** packages are listed in the following table:
209
+
1. Also locate and copy the **msodbcsql** package, which is a dependency. The **msodbcsql** package also has a dependency on either **unixODBC-devel** (Red Hat and SLES) or **unixodbc-dev** (Ubuntu). The location of the **msodbcsql** packages are listed in the following table:
210
210
211
-
| msodbcsql package | Version | Download |
212
-
|-----|-----|-----|
213
-
| Red Hat RPM msodbcsql package | 13.1.6.0-1 | [msodbcsql RPM package](https://packages.microsoft.com/rhel/7.3/prod/msodbcsql-13.1.6.0-1.x86_64.rpm) |
1. **Move the downloaded packages to your Linux machine**. If you used a different machine to download the packages, one way to move the packages to your Linux machine is with the **scp** commmand.
221
218
222
219
1. **Install the and packages**: Install the **mssql-tools** and **msodbc** packages. If you get any dependency errors, ignore them until the next step.
223
220
224
221
| Platform | Package install commands |
225
222
|-----|-----|
226
-
| Red Hat | `sudo yum localinstall msodbcsql-13.1.6.0-1.x86_64.rpm`<br/>`sudo yum localinstall mssql-tools-14.0.5.0-1.x86_64.rpm` |
1. **Resolve missing dependencies**: You might have missing dependencies at this point. If not, you can skip this step. In some cases, you must manually locate and install these dependencies.
231
228
232
229
For RPM packages, you can inspect the required dependencies with the following commands:
233
230
234
231
```bash
235
-
rpm -qpR msodbcsql-13.1.6.0-1.x86_64.rpm
236
-
rpm -qpR mssql-tools-14.0.5.0-1.x86_64.rpm
232
+
rpm -qpR msodbcsql-<version>.rpm
233
+
rpm -qpR mssql-tools-<version>.rpm
237
234
```
238
235
239
236
For Debian packages, if you have access to approved repositories containing those dependencies, the easiest solution is to use the **apt-get** command:
@@ -248,8 +245,8 @@ To manually install these packages, use the following steps:
248
245
If this does not work for your Debian package, you can inspect the required dependencies with the following commands:
Microsoft also supports deploying and managing SQL Server containers by using OpenShift and Kubernetes.
41
42
@@ -65,9 +66,6 @@ If you use **Network File System (NFS)** remote shares in production, note the f
65
66
66
67
When you install or upgrade SQL Server, you get the latest version of SQL Server from your configured Microsoft repository. The quickstarts use the SQL Server 2017 Cumulative Update **CU** repository. But you can instead configure the **GDR** repository or the **Preview (vNext)** repository. For more information on repositories and how to configure them, see [Configure repositories for SQL Server on Linux](sql-server-linux-change-repo.md).
67
68
68
-
> [!IMPORTANT]
69
-
> If you previously installed a CTP or RC version of SQL Server 2017, you must remove the preview repository and register a General Availability (GA) one. For more information, see [Configure repositories for SQL Server on Linux](sql-server-linux-change-repo.md).
70
-
71
69
## <aid="platforms"></a> Install SQL Server 2017
72
70
73
71
You can install SQL Server 2017 on Linux from the command line. For step-by-step instructions, see one of the following quickstarts:
@@ -78,12 +76,12 @@ You can install SQL Server 2017 on Linux from the command line. For step-by-step
78
76
-[Run on Docker](quickstart-install-connect-docker.md)
79
77
-[Provision a SQL VM in Azure](/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=/sql/toc/toc.json)
80
78
79
+
After installing, consider making additional configuration changes for optimal performance. For more information, see [Performance best practices and configuration guidelines for SQL Server on Linux](sql-server-linux-performance-best-practices.md).
80
+
81
81
## <aid="sqlvnext"></a> Install SQL Server 2019 preview
82
82
83
83
You can install SQL Server 2019 preview on Linux using the same quickstart links in the previous section. However, you must register the **Preview (vNext)** repository instead of the **CU** repository. The quickstarts provide instructions on how to do this.
84
84
85
-
After installing, consider making additional configuration changes for optimal performance. For more information, see [Performance best practices and configuration guidelines for SQL Server on Linux](sql-server-linux-performance-best-practices.md).
86
-
87
85
## <aid="upgrade"></a> Update SQL Server
88
86
89
87
To update the **mssql-server** package to the latest release, use one of the following commands based on your platform:
@@ -214,6 +212,7 @@ After installation, you can also install or enable optional SQL Server features.
214
212
-[SQL Server command-line tools](sql-server-linux-setup-tools.md)
215
213
-[SQL Server Agent](sql-server-linux-setup-sql-agent.md)
216
214
-[SQL Server Full Text Search](sql-server-linux-setup-full-text-search.md)
0 commit comments