Skip to content

Commit 96db7a1

Browse files
committed
Stage and replace PRs 24417 and 24430 for Linux quickstarts
1 parent 3fc90df commit 96db7a1

2 files changed

Lines changed: 91 additions & 27 deletions

File tree

docs/linux/quickstart-install-connect-red-hat.md

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ title: "RHEL: Install SQL Server on Linux"
33
titleSuffix: SQL Server
44
description: This quickstart shows how to install SQL Server on Red Hat Enterprise Linux (RHEL) and then create and query a database with sqlcmd.
55
author: VanMSFT
6-
ms.custom:
7-
- seo-lt-2019
8-
- intro-installation
96
ms.author: vanto
107
ms.reviewer: randolphwest
11-
ms.date: 05/20/2022
12-
ms.topic: conceptual
8+
ms.date: 10/20/2022
139
ms.prod: sql
1410
ms.technology: linux
11+
ms.topic: conceptual
12+
ms.custom:
13+
- seo-lt-2019
14+
- intro-installation
1515
---
1616
# Quickstart: Install SQL Server and create a database on Red Hat
1717

@@ -42,8 +42,23 @@ For more information on supported platforms, see [Release notes for [!INCLUDE[ss
4242

4343
::: moniker-end
4444

45-
> [!TIP]
45+
> [!TIP]
4646
> 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:
52+
53+
- [RHEL 8.0](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-rhel8)
54+
55+
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+
```
4762

4863
## Prerequisites
4964

@@ -64,10 +79,10 @@ The following commands for installing [!INCLUDE [ssnoversion-md](../includes/ssn
6479

6580
```bash
6681
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:
6883
sudo yum install python2
6984
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:
7186
sudo alternatives --config python
7287
```
7388

@@ -121,10 +136,10 @@ The following commands for installing [!INCLUDE [ssnoversion-md](../includes/ssn
121136

122137
```bash
123138
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:
125140
sudo yum install python2
126141
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:
128143
sudo alternatives --config python
129144
```
130145

docs/linux/quickstart-install-connect-ubuntu.md

Lines changed: 66 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: This quickstart shows how to install SQL Server 2017 or SQL Server
44
author: VanMSFT
55
ms.author: vanto
66
ms.reviewer: randolphwest
7-
ms.date: 05/20/2022
8-
ms.topic: conceptual
7+
ms.date: 10/20/2022
98
ms.prod: sql
9+
ms.technology: linux
10+
ms.topic: conceptual
1011
ms.custom:
1112
- seo-lt-2019
1213
- intro-installation
13-
ms.technology: linux
1414
---
1515
# Quickstart: Install SQL Server and create a database on Ubuntu
1616

@@ -23,9 +23,25 @@ In this quickstart, you install [!INCLUDE [sssql17-md](../includes/sssql17-md.md
2323

2424
For more information on supported platforms, see [Release notes for SQL Server 2017 on Linux](sql-server-linux-release-notes-2017.md).
2525

26-
> [!TIP]
26+
> [!TIP]
2727
> 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).
2828
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:
34+
35+
- [Ubuntu 18.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2017-ubuntupro1804)
36+
37+
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+
2945
## Prerequisites
3046

3147
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
90106

91107
For more information on supported platforms, see [Release notes for SQL Server 2019 on Linux](sql-server-linux-release-notes-2019.md).
92108

93-
> [!TIP]
109+
> [!TIP]
94110
> 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).
95111
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:
117+
118+
- [Ubuntu 20.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-ubuntupro2004)
119+
- [Ubuntu 18.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-ubuntupro1804)
120+
121+
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+
96129
## Prerequisites
97130

98131
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
155188

156189
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).
157190

158-
> [!TIP]
191+
> [!TIP]
159192
> 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).
160193
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):
199+
200+
- [Ubuntu 20.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-ubuntupro2004)
201+
202+
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+
161210
## Prerequisites
162211

163212
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
221270
Use the following steps to install the **mssql-tools** on Ubuntu. If **curl** isn't installed, you can run this code:
222271

223272
```bash
224-
sudo apt-get update
225-
sudo apt install curl
273+
sudo apt-get update
274+
sudo apt install curl
226275
```
227276

228277
<!--SQL Server 2017 on Linux-->
@@ -243,15 +292,15 @@ sudo apt install curl
243292
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).
244293

245294
```bash
246-
sudo apt-get update
295+
sudo apt-get update
247296
sudo apt-get install mssql-tools unixodbc-dev
248297
```
249298

250299
You can update to the latest version of **mssql-tools** using the following commands:
251300

252301
```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
255304
```
256305

257306
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
290339
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).
291340

292341
```bash
293-
sudo apt-get update
342+
sudo apt-get update
294343
sudo apt-get install mssql-tools unixodbc-dev
295344
```
296345

297346
You can update to the latest version of **mssql-tools** using the following commands:
298347

299348
```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
302351
```
303352

304353
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
337386
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).
338387

339388
```bash
340-
sudo apt-get update
389+
sudo apt-get update
341390
sudo apt-get install mssql-tools unixodbc-dev
342391
```
343392

344393
You can update to the latest version of **mssql-tools** using the following commands:
345394

346395
```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
349398
```
350399

351400
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

Comments
 (0)