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/linux/quickstart-install-connect-red-hat.md
+25-10Lines changed: 25 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,15 @@ title: "RHEL: Install SQL Server on Linux"
3
3
titleSuffix: SQL Server
4
4
description: This quickstart shows how to install SQL Server on Red Hat Enterprise Linux (RHEL) and then create and query a database with sqlcmd.
5
5
author: VanMSFT
6
-
ms.custom:
7
-
- seo-lt-2019
8
-
- intro-installation
9
6
ms.author: vanto
10
7
ms.reviewer: randolphwest
11
-
ms.date: 05/20/2022
12
-
ms.topic: conceptual
8
+
ms.date: 10/20/2022
13
9
ms.prod: sql
14
10
ms.technology: linux
11
+
ms.topic: conceptual
12
+
ms.custom:
13
+
- seo-lt-2019
14
+
- intro-installation
15
15
---
16
16
# Quickstart: Install SQL Server and create a database on Red Hat
17
17
@@ -42,8 +42,23 @@ For more information on supported platforms, see [Release notes for [!INCLUDE[ss
42
42
43
43
::: moniker-end
44
44
45
-
> [!TIP]
45
+
> [!TIP]
46
46
> 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).
47
+
If you choose to have a pre-installed SQL Server VM on RHEL ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
48
+
49
+
## Azure Marketplace images
50
+
51
+
You can create your VM based on the following Azure Marketplace image:
When you use the above marketplace image, you avoid the installation step, and can directly configure the instance by providing the SKU and the `sa` password needed to get started with SQL Server. SQL Server Azure VMs deployed on RHEL using the above Marketplace images, are fully supported by both Microsoft and Red Hat.
56
+
57
+
You can configure SQL Server on Linux with **mssql-conf**, using the following command:
58
+
59
+
```bash
60
+
sudo /opt/mssql/bin/mssql-conf setup
61
+
```
47
62
48
63
## Prerequisites
49
64
@@ -64,10 +79,10 @@ The following commands for installing [!INCLUDE [ssnoversion-md](../includes/ssn
64
79
65
80
```bash
66
81
sudo alternatives --config python
67
-
# If not configured, install python2 and openssl10 using the following commands:
82
+
# If not configured, install python2 and openssl10 using the following commands:
68
83
sudo yum install python2
69
84
sudo yum install compat-openssl10
70
-
# Configure python2 as the default interpreter using this command:
85
+
# Configure python2 as the default interpreter using this command:
71
86
sudo alternatives --config python
72
87
```
73
88
@@ -121,10 +136,10 @@ The following commands for installing [!INCLUDE [ssnoversion-md](../includes/ssn
121
136
122
137
```bash
123
138
sudo alternatives --config python
124
-
# If not configured, install python2 and openssl10 using the following commands:
139
+
# If not configured, install python2 and openssl10 using the following commands:
125
140
sudo yum install python2
126
141
sudo yum install compat-openssl10
127
-
# Configure python2 as the default interpreter using this command:
142
+
# Configure python2 as the default interpreter using this command:
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-ubuntu.md
+66-17Lines changed: 66 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ description: This quickstart shows how to install SQL Server 2017 or SQL Server
4
4
author: VanMSFT
5
5
ms.author: vanto
6
6
ms.reviewer: randolphwest
7
-
ms.date: 05/20/2022
8
-
ms.topic: conceptual
7
+
ms.date: 10/20/2022
9
8
ms.prod: sql
9
+
ms.technology: linux
10
+
ms.topic: conceptual
10
11
ms.custom:
11
12
- seo-lt-2019
12
13
- intro-installation
13
-
ms.technology: linux
14
14
---
15
15
# Quickstart: Install SQL Server and create a database on Ubuntu
16
16
@@ -23,9 +23,25 @@ In this quickstart, you install [!INCLUDE [sssql17-md](../includes/sssql17-md.md
23
23
24
24
For more information on supported platforms, see [Release notes for SQL Server 2017 on Linux](sql-server-linux-release-notes-2017.md).
25
25
26
-
> [!TIP]
26
+
> [!TIP]
27
27
> 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).
28
28
29
+
If you choose to have a pre-installed SQL Server VM on Ubuntu ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
30
+
31
+
## Azure Marketplace images
32
+
33
+
You can create your VM based on the following Azure Marketplace image:
When you use this image, you avoid the installation step, and can directly configure the instance by providing the SKU and the `sa` password needed to get started with SQL Server. SQL Server Azure VMs deployed on Ubuntu Pro using the above Marketplace images, are fully supported by both Microsoft and Canonical.
38
+
39
+
You can configure SQL Server on Linux with **mssql-conf**, using the following command:
40
+
41
+
```bash
42
+
sudo /opt/mssql/bin/mssql-conf setup
43
+
```
44
+
29
45
## Prerequisites
30
46
31
47
You must have an Ubuntu 18.04 machine with **at least 2 GB** of memory.
@@ -90,9 +106,26 @@ In this quickstart, you install [!INCLUDE [sssql19-md](../includes/sssql19-md.md
90
106
91
107
For more information on supported platforms, see [Release notes for SQL Server 2019 on Linux](sql-server-linux-release-notes-2019.md).
92
108
93
-
> [!TIP]
109
+
> [!TIP]
94
110
> 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).
95
111
112
+
If you choose to have a pre-installed SQL Server VM on Ubuntu ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
113
+
114
+
## Azure Marketplace images
115
+
116
+
You can create your VM based on one of the following two Azure Marketplace images:
When you use these images, you avoid the installation step, and can directly configure the instance by providing the SKU and the `sa` password needed to get started with SQL Server. SQL Server Azure VMs deployed on Ubuntu Pro using the above Marketplace images, are fully supported by both Microsoft and Canonical.
122
+
123
+
You can configure SQL Server on Linux with **mssql-conf**, using the following command:
124
+
125
+
```bash
126
+
sudo /opt/mssql/bin/mssql-conf setup
127
+
```
128
+
96
129
## Prerequisites
97
130
98
131
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
@@ -155,9 +188,25 @@ In this quickstart, you install [!INCLUDE [sssql22-md](../includes/sssql22-md.md
155
188
156
189
For more information on supported platforms, see [Release notes for [!INCLUDE[sssql22](../includes/sssql22-md.md)] on Linux](sql-server-linux-release-notes-2022.md).
157
190
158
-
> [!TIP]
191
+
> [!TIP]
159
192
> 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).
160
193
194
+
If you choose to have a pre-installed SQL Server VM on Ubuntu ready to run your production-based workload, then please follow the [best practices](/azure/azure-sql/virtual-machines/windows/performance-guidelines-best-practices-checklist) for creating the SQL Server VM.
195
+
196
+
## Azure Marketplace images
197
+
198
+
You can create your VM based on the following Azure Marketplace image (currently SQL Server 2019 only):
When you use this image, you avoid the installation step, and can directly configure the instance by providing the SKU and the `sa` password needed to get started with SQL Server. SQL Server Azure VMs deployed on Ubuntu Pro using the above Marketplace images, are fully supported by both Microsoft and Canonical.
203
+
204
+
You can configure SQL Server on Linux with **mssql-conf**, using the following command:
205
+
206
+
```bash
207
+
sudo /opt/mssql/bin/mssql-conf setup
208
+
```
209
+
161
210
## Prerequisites
162
211
163
212
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
@@ -221,8 +270,8 @@ To create a database, you need to connect with a tool that can run Transact-SQL
221
270
Use the following steps to install the **mssql-tools** on Ubuntu. If **curl** isn't installed, you can run this code:
222
271
223
272
```bash
224
-
sudo apt-get update
225
-
sudo apt install curl
273
+
sudo apt-get update
274
+
sudo apt install curl
226
275
```
227
276
228
277
<!--SQL Server 2017 on Linux-->
@@ -243,15 +292,15 @@ sudo apt install curl
243
292
1. Update the sources list and run the installation command with the `unixODBC` developer package. For more information, see [Install the Microsoft ODBC driver for SQL Server (Linux)](../connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md).
244
293
245
294
```bash
246
-
sudo apt-get update
295
+
sudo apt-get update
247
296
sudo apt-get install mssql-tools unixodbc-dev
248
297
```
249
298
250
299
You can update to the latest version of **mssql-tools** using the following commands:
251
300
252
301
```bash
253
-
sudo apt-get update
254
-
sudo apt-get install mssql-tools
302
+
sudo apt-get update
303
+
sudo apt-get install mssql-tools
255
304
```
256
305
257
306
1. For convenience, add `/opt/mssql-tools/bin/` to your `PATH` environment variable, to make **sqlcmd** or **bcp** accessible from the bash shell.
@@ -290,15 +339,15 @@ sudo apt install curl
290
339
1. Update the sources list and run the installation command with the `unixODBC` developer package. For more information, see [Install the Microsoft ODBC driver for SQL Server (Linux)](../connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md).
291
340
292
341
```bash
293
-
sudo apt-get update
342
+
sudo apt-get update
294
343
sudo apt-get install mssql-tools unixodbc-dev
295
344
```
296
345
297
346
You can update to the latest version of **mssql-tools** using the following commands:
298
347
299
348
```bash
300
-
sudo apt-get update
301
-
sudo apt-get install mssql-tools
349
+
sudo apt-get update
350
+
sudo apt-get install mssql-tools
302
351
```
303
352
304
353
1. For convenience, add `/opt/mssql-tools/bin/` to your `PATH` environment variable, to make **sqlcmd** or **bcp** accessible from the bash shell.
@@ -337,15 +386,15 @@ sudo apt install curl
337
386
1. Update the sources list and run the installation command with the `unixODBC` developer package. For more information, see [Install the Microsoft ODBC driver for SQL Server (Linux)](../connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server.md).
338
387
339
388
```bash
340
-
sudo apt-get update
389
+
sudo apt-get update
341
390
sudo apt-get install mssql-tools unixodbc-dev
342
391
```
343
392
344
393
You can update to the latest version of **mssql-tools** using the following commands:
345
394
346
395
```bash
347
-
sudo apt-get update
348
-
sudo apt-get install mssql-tools
396
+
sudo apt-get update
397
+
sudo apt-get install mssql-tools
349
398
```
350
399
351
400
1. For convenience, add `/opt/mssql-tools/bin/` to your `PATH` environment variable, to make **sqlcmd** or **bcp** accessible from the bash shell.
0 commit comments