Skip to content

Commit 8a3fc4b

Browse files
committed
Update monikers for Ubuntu article
1 parent 96db7a1 commit 8a3fc4b

2 files changed

Lines changed: 58 additions & 84 deletions

File tree

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ For more information on supported platforms, see [Release notes for [!INCLUDE[ss
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).
4747
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.
4848

49+
<!--SQL Server 2019 on Linux-->
50+
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
51+
4952
## Azure Marketplace images
5053

5154
You can create your VM based on the following Azure Marketplace image:
@@ -60,6 +63,8 @@ You can configure SQL Server on Linux with **mssql-conf**, using the following c
6063
sudo /opt/mssql/bin/mssql-conf setup
6164
```
6265

66+
::: moniker-end
67+
6368
## Prerequisites
6469

6570
You must have a RHEL 8.0 - 8.6 machine with **at least 2 GB** of memory.

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

Lines changed: 53 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,76 @@ 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+
::: moniker-end
27+
<!--SQL Server 2019 on Linux-->
28+
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
29+
30+
In this quickstart, you install [!INCLUDE [sssql19-md](../includes/sssql19-md.md)] on Ubuntu 20.04. Then you can connect with **sqlcmd** to create your first database and run queries.
31+
32+
For more information on supported platforms, see [Release notes for SQL Server 2019 on Linux](sql-server-linux-release-notes-2019.md).
33+
34+
::: moniker-end
35+
<!--SQL Server 2022 on Linux-->
36+
::: moniker range=">= sql-server-linux-ver16 || >= sql-server-ver16"
37+
38+
In this quickstart, you install [!INCLUDE [sssql22-md](../includes/sssql22-md.md)] on Ubuntu 20.04. Then you can connect with **sqlcmd** to create your first database and run queries.
39+
40+
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).
41+
42+
::: moniker-end
43+
2644
> [!TIP]
2745
> 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).
2846
2947
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.
3048

49+
<!--SQL Server 2019 on Linux-->
50+
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
51+
3152
## Azure Marketplace images
3253

33-
You can create your VM based on the following Azure Marketplace image:
54+
You can create your VM based on one of the following two Azure Marketplace images:
3455

35-
- [Ubuntu 18.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2017-ubuntupro1804)
56+
- [Ubuntu 20.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-ubuntupro2004)
57+
- [Ubuntu 18.04](https://azuremarketplace.microsoft.com/marketplace/apps/microsoftsqlserver.sql2019-ubuntupro1804)
3658

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.
59+
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.
3860

3961
You can configure SQL Server on Linux with **mssql-conf**, using the following command:
4062

4163
```bash
4264
sudo /opt/mssql/bin/mssql-conf setup
4365
```
4466

67+
::: moniker-end
68+
4569
## Prerequisites
4670

71+
<!--SQL Server 2017 on Linux-->
72+
::: moniker range="= sql-server-linux-2017 || = sql-server-2017"
73+
4774
You must have an Ubuntu 18.04 machine with **at least 2 GB** of memory.
4875

4976
To install Ubuntu 18.04 on your own machine, go to <https://releases.ubuntu.com/18.04/>. You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm).
5077

78+
::: moniker-end
79+
<!--SQL Server 2019 on Linux-->
80+
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
81+
82+
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
83+
84+
To install Ubuntu 20.04 on your own machine, go to <https://releases.ubuntu.com/20.04/>. You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm).
85+
86+
::: moniker-end
87+
<!--SQL Server 2022 on Linux-->
88+
::: moniker range=">= sql-server-linux-ver16 || >= sql-server-ver16"
89+
90+
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
91+
92+
To install Ubuntu 20.04 on your own machine, go to <https://releases.ubuntu.com/20.04/>. You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm).
93+
94+
::: moniker-end
95+
5196
If you've previously installed a Community Technology Preview (CTP) or Release Candidate (RC) of [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)], you must first remove the old repository before following these steps. For more information, see [Configure Linux repositories for SQL Server](sql-server-linux-change-repo.md).
5297

5398
The [Windows Subsystem for Linux](/windows/wsl/about) isn't supported as an installation target for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)].
@@ -58,6 +103,9 @@ For other system requirements, see [System requirements for SQL Server on Linux]
58103

59104
To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubuntu, run the following commands in a terminal to install the **mssql-server** package.
60105

106+
<!--SQL Server 2017 on Linux-->
107+
::: moniker range="= sql-server-linux-2017 || = sql-server-2017"
108+
61109
1. Import the public repository GPG keys:
62110

63111
```bash
@@ -96,50 +144,10 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
96144

97145
1. If you plan to connect remotely, you might also need to open the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] TCP port (default 1433) on your firewall.
98146

99-
At this point, [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] is running on your Ubuntu machine and is ready to use!
100-
101147
::: moniker-end
102148
<!--SQL Server 2019 on Linux-->
103149
::: moniker range="= sql-server-linux-ver15 || = sql-server-ver15"
104150

105-
In this quickstart, you install [!INCLUDE [sssql19-md](../includes/sssql19-md.md)] on Ubuntu 20.04. Then you can connect with **sqlcmd** to create your first database and run queries.
106-
107-
For more information on supported platforms, see [Release notes for SQL Server 2019 on Linux](sql-server-linux-release-notes-2019.md).
108-
109-
> [!TIP]
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).
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:
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-
129-
## Prerequisites
130-
131-
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
132-
133-
To install Ubuntu 20.04 on your own machine, go to <https://releases.ubuntu.com/20.04/>. You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm).
134-
135-
The [Windows Subsystem for Linux](/windows/wsl/about) isn't supported as an installation target for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)].
136-
137-
For other system requirements, see [System requirements for SQL Server on Linux](sql-server-linux-setup.md#system).
138-
139-
## <a id="install"></a> Install SQL Server
140-
141-
To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubuntu, run the following commands in a terminal to install the **mssql-server** package.
142-
143151
1. Import the public repository GPG keys:
144152

145153
```bash
@@ -178,49 +186,10 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
178186

179187
1. If you plan to connect remotely, you might also need to open the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] TCP port (default 1433) on your firewall.
180188

181-
At this point, [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] is running on your Ubuntu machine and is ready to use!
182-
183189
::: moniker-end
184190
<!--SQL Server 2022 on Linux-->
185191
::: moniker range=">= sql-server-linux-ver16 || >= sql-server-ver16"
186192

187-
In this quickstart, you install [!INCLUDE [sssql22-md](../includes/sssql22-md.md)] on Ubuntu 20.04. Then you can connect with **sqlcmd** to create your first database and run queries.
188-
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).
190-
191-
> [!TIP]
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).
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):
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-
210-
## Prerequisites
211-
212-
You must have an Ubuntu 20.04 machine with **at least 2 GB** of memory.
213-
214-
To install Ubuntu 20.04 on your own machine, go to <https://releases.ubuntu.com/20.04/>. You can also create Ubuntu virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm).
215-
216-
The [Windows Subsystem for Linux](/windows/wsl/about) isn't supported as an installation target for [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)].
217-
218-
For other system requirements, see [System requirements for SQL Server on Linux](sql-server-linux-setup.md#system).
219-
220-
## <a id="install"></a> Install SQL Server
221-
222-
To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubuntu, run the following commands in a terminal to install the **mssql-server** package.
223-
224193
1. Import the public repository GPG keys:
225194

226195
```bash
@@ -259,10 +228,10 @@ To configure [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] on Ubunt
259228

260229
1. If you plan to connect remotely, you might also need to open the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] TCP port (default 1433) on your firewall.
261230

262-
At this point, [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] is running on your Ubuntu machine and is ready to use!
263-
264231
::: moniker-end
265232

233+
At this point, [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] is running on your Ubuntu machine and is ready to use!
234+
266235
## <a id="tools"></a> Install the SQL Server command-line tools
267236

268237
To create a database, you need to connect with a tool that can run Transact-SQL statements on [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)]. The following steps install the [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] command-line tools: [**sqlcmd**](../tools/sqlcmd-utility.md) and [**bcp**](../tools/bcp-utility.md).

0 commit comments

Comments
 (0)