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-docker.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -237,4 +237,4 @@ Other common tools to connect to SQL Server include:
237
237
238
238
## Next steps
239
239
240
-
After installing SQL Server on Linux, next see [how to connect to the server and run basic Transact-SQL queries](sql-server-linux-connect-and-query-sqlcmd.md). Also, check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.
240
+
Check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-red-hat.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
# required metadata
3
3
title: Get started with SQL Server 2017 on Red Hat Enterprise Linux | Microsoft Docs
4
-
description: Describes how to install SQL Server 2017 CTP 2.1 on Red Hat Enterprise Linux.
4
+
description: Describes how to install SQL Server 2017 RC1 on Red Hat Enterprise Linux.
5
5
author: sabotta
6
6
ms.author: carlasab
7
7
manager: craigg
@@ -25,7 +25,7 @@ ms.assetid: ""
25
25
---
26
26
# Install SQL Server and create a database on Red Hat
27
27
28
-
In this quick start tutorial, you first install SQL Server 2017 CTP 2.1 on Red Hat Enterprise Linux (RHEL) 7.3. Then connect with **sqlcmd** to create your first database and run queries.
28
+
In this quick start tutorial, you first install SQL Server 2017 RC1 on Red Hat Enterprise Linux (RHEL) 7.3. Then connect with **sqlcmd** to create your first database and run queries.
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-suse.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
# required metadata
3
3
title: Get started with SQL Server 2017 on SUSE Linux Enterprise Server | Microsoft Docs
4
-
description: Describes how to install SQL Server 2017 CTP 2.1 on SUSE Linux Enterprise Server.
4
+
description: Describes how to install SQL Server 2017 RC1 on SUSE Linux Enterprise Server.
5
5
author: sabotta
6
6
ms.author: carlasab
7
7
manager: craigg
@@ -25,7 +25,7 @@ ms.assetid: ""
25
25
---
26
26
# Install SQL Server and create a database on SUSE Linux Enterprise Server
27
27
28
-
In this quick start tutorial, you first install SQL Server 2017 CTP 2.1 on SUSE Linux Enterprise Server (SLES) v12 SP2. Then connect with **sqlcmd** to create your first database and run queries.
28
+
In this quick start tutorial, you first install SQL Server 2017 RC1 on SUSE Linux Enterprise Server (SLES) v12 SP2. Then connect with **sqlcmd** to create your first database and run queries.
Copy file name to clipboardExpand all lines: docs/linux/quickstart-install-connect-ubuntu.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.technology: database-engine
11
11
---
12
12
# Install SQL Server and create a database on Ubuntu
13
13
14
-
In this quick start tutorial, you first install SQL Server 2017 CTP 2.1 on Ubuntu 16.04. Then connect with **sqlcmd** to create your first database and run queries.
14
+
In this quick start tutorial, you first install SQL Server 2017 RC1 on Ubuntu 16.04. Then connect with **sqlcmd** to create your first database and run queries.
-[Red Hat Enterprise Linux](quickstart-install-connect-red-hat.md)
34
+
-[SUSE Linux Enterprise Server](quickstart-install-connect-suse.md)
35
+
-[Ubuntu](quickstart-install-connect-ubuntu.md)
36
36
37
37
## Step 1: Join [!INCLUDE[ssNoVersion](../../docs/includes/ssnoversion-md.md)] host to AD domain
38
38
Numerous tools exist to help you join the [!INCLUDE[ssNoVersion](../../docs/includes/ssnoversion-md.md)] host machine to your AD domain. This walkthrough uses [realmd](https://www.freedesktop.org/software/realmd/docs/guide-active-directory-join.html), a popular open source package. If you haven't already, install both the **realmd** and Kerberos client packages on the [!INCLUDE[ssNoVersion](../../docs/includes/ssnoversion-md.md)] host machine using your Linux distribution's package manager:
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-azure-virtual-machine.md
+32-30Lines changed: 32 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: This tutorial shows how to create a Linux SQL Server 2017 virtual m
6
6
author: rothja
7
7
ms.author: jroth
8
8
manager: jhubbard
9
-
ms.date: 05/01/2017
9
+
ms.date: 07/17/2017
10
10
ms.topic: article
11
11
ms.prod: sql-linux
12
12
ms.technology: database-engine
@@ -32,45 +32,45 @@ Open the [Azure portal](https://portal.azure.com/).
32
32
33
33
1. Click **New** on the left.
34
34
35
-
2. In the **New** blade, click **Compute**.
35
+
1. In the **New** blade, click **Compute**.
36
36
37
-
3. Click **See All** next to the **Featured Apps** heading.
37
+
1. Click **See All** next to the **Featured Apps** heading.
38
38
39
39

40
40
41
-
4. In the search box, type **SQL Server 2017**, and press **Enter** to start the search.
41
+
1. In the search box, type **SQL Server 2017**, and press **Enter** to start the search.
42
42
43
43

44
44
45
45
> [!TIP]
46
46
> This filter shows the available Linux virtual machine image(s) for SQL Server 2017. Over time, SQL Server 2017 images for other supported Linux distributions will be listed. You can also click this [link](https://ms.portal.azure.com/#blade/Microsoft_Azure_Marketplace/GalleryFeaturedMenuItemBlade/selectedMenuItemId/home/searchQuery/sql%20server%202017) to go directly to the search results for SQL Server 2017.
47
47
48
-
5. Select a SQL Server 2017 image from the search results.
48
+
1. Select a SQL Server 2017 image from the search results.
49
49
50
-
5. Click **Create**.
50
+
1. Click **Create**.
51
51
52
-
6. On the **Basics** blade, fill in the details for your Linux VM.
52
+
1. On the **Basics** blade, fill in the details for your Linux VM.
> You have the choice of using an SSH public key or a Password for authentication. SSH is more secure. For instructions on how to generate an SSH key, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys).
58
58
59
-
7. Click **OK**.
59
+
1. Click **OK**.
60
60
61
-
8. On the **Size** blade, choose a machine size. For development and functional testing, we recommend a VM size of **DS2** or higher. For performance testing, use **DS13** or higher.
61
+
1. On the **Size** blade, choose a machine size. For development and functional testing, we recommend a VM size of **DS2** or higher. For performance testing, use **DS13** or higher.
62
62
63
63

64
64
65
65
To see other sizes, select **View all**. For more information about VM machine sizes, see [Linux VM sizes](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-sizes).
66
66
67
-
9. Click **Select**.
67
+
1. Click **Select**.
68
68
69
-
10. On the **Settings** blade, you can make changes to the settings or keep the default settings.
69
+
1. On the **Settings** blade, you can make changes to the settings or keep the default settings.
70
70
71
-
11. Click **OK**.
71
+
1. Click **OK**.
72
72
73
-
12. On the **Summary** page, click **OK** to create the VM.
73
+
1. On the **Summary** page, click **OK** to create the VM.
74
74
75
75
> [!NOTE]
76
76
> The Azure VM pre-configures the firewall to open the SQL Server port 1433 for remote connections. But to remotely connect, you also need to add a network security group rule as described in the next section.
@@ -81,67 +81,69 @@ To be able to remotely connect to SQL Server on an Azure VM, you must configure
81
81
82
82
1. In the portal, select **Virtual machines**, and then select your SQL Server VM.
83
83
84
-
2. In the list of properties, select **Network interfaces**.
84
+
1. In the list of properties, select **Network interfaces**.
5. In the properties of the Network Security Group, selct **Inbound security rules**.
94
+
1. In the properties of the Network Security Group, selct **Inbound security rules**.
95
95
96
-
6. Click the **+Add** button.
96
+
1. Click the **+Add** button.
97
97
98
-
7. Provide a Name of "SQLServerRemoteConnections".
98
+
1. Provide a Name of "SQLServerRemoteConnections".
99
99
100
-
8. In the **Service** list, select **MS SQL**.
100
+
1. In the **Service** list, select **MS SQL**.
101
101
102
102

103
103
104
-
11. Click **OK** to save the rule for your VM.
104
+
1. Click **OK** to save the rule for your VM.
105
105
106
106
## <aid="connect"></a> Connect to the Linux VM
107
107
108
-
If you already use a BASH shell, connect to the Azure VM using the **ssh** command. In the following command, replace the VM user name and IP address to connect to your Linux VM.
108
+
If you already use a BASH shell, connect to the Azure VM using the **ssh** command. In the following command, replace the VM user name and IP address to connect to your Linux VM.
109
109
110
110
```bash
111
111
ssh -l AzureAdmin 100.55.555.555
112
112
```
113
-
You can find the IP address of your VM in the Azure portal.
113
+
114
+
You can find the IP address of your VM in the Azure portal.
114
115
115
116

116
117
117
118
If you are running on Windows and do not have a BASH shell, you can install an SSH client, such as PuTTY.
118
119
119
120
1.[Download and install PuTTY](http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html).
120
121
121
-
2. Run PuTTY.
122
+
1. Run PuTTY.
122
123
123
-
3. On the PuTTY configuration screen enter your VM's public IP address.
124
+
1. On the PuTTY configuration screen enter your VM's public IP address.
124
125
125
-
4. Click Open and enter your username and password at the prompts.
126
+
1. Click Open and enter your username and password at the prompts.
126
127
127
128
For more information about connecting to Linux VMs, see [Create a Linux VM on Azure using the Portal](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-quick-create-portal#ssh-to-the-vm).
128
129
129
130
## Configure SQL Server
130
131
131
132
1. After connecting to your Linux VM, open a new command terminal.
132
133
133
-
2. Set up SQL Server with the following command.
134
+
1. Set up SQL Server with the following command.
134
135
135
136
```bash
136
137
sudo /opt/mssql/bin/mssql-conf setup
137
138
```
138
-
139
+
139
140
Accept the License and enter a password for the system administrator account. You can start the server when prompted.
140
141
141
-
3. Optionally, [install the SQL Server Tools](sql-server-linux-setup-tools.md).
142
+
1. Optionally, [install the SQL Server Tools](sql-server-linux-setup-tools.md).
142
143
143
144
## Next steps
144
-
Now that you have a SQL Server 2017 virtual machine in Azure, you can [connect locally and run a test query](sql-server-linux-connect-and-query-sqlcmd.md).
145
+
146
+
Now that you have a SQL Server 2017 virtual machine in Azure, you can connect locally with **sqlcmd** to run Transact-SQL queries.
145
147
146
148
If you configured the Azure VM for remote SQL Server connections, you should also be able to connect remotely. For an example of connecting to SQL Server on Linux from a remote Windows machine, see [Use SSMS on Windows to connect to SQL Server on Linux](sql-server-linux-develop-use-ssms.md).
0 commit comments