8000 sql-docs/docs/linux/sql-server-linux-setup-sql-agent.md at live · DerekHackett/sql-docs · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
101 lines (73 loc) · 3.55 KB

File metadata and controls

101 lines (73 loc) · 3.55 KB
title description author ms.author manager ms.date ms.topic ms.prod ms.technology ms.assetid
Install SQL Server Agent on Linux | Microsoft Docs
This topic describes how to install the SQL Server Agent on Linux.
rothja
jroth
jhubbard
07/17/2017
article
sql-linux
database-engine
77f16adc-e6cb-4a57-82f3-7b9780369868

Install SQL Server Agent on Linux

The following steps install SQL Server Agent (mssql-server-agent) on Linux. The SQL Server Agent runs scheduled SQL Server jobs. For information on the features supported for this release of the SQL Server Agent, see the Release Notes.

Note

Before installing SQL Server Agent, first install SQL Server RC2+. This configures the keys and repositories that you use when you install the mssql-server-agent package.

Install the SQL Server Agent for your platform:

Use the following steps to install the mssql-server-agent on Red Hat Enterprise Linux.

sudo yum install mssql-server-agent
sudo systemctl restart mssql-server

If you already have mssql-server-agent installed, you can update to the latest version with the following commands:

sudo yum check-update
sudo yum update mssql-server-agent
sudo systemctl restart mssql-server

If you need an offline installation, locate the SQL Server Agent package download in the Release notes. Then use the same offline installation steps described in the topic Install SQL Server.

Use the following steps to install the mssql-server-agent on Ubuntu.

sudo apt-get update 
sudo apt-get install mssql-server-agent
sudo systemctl restart mssql-server

If you already have mssql-server-agent installed, you can update to the latest version with the following commands:

sudo apt-get update 
sudo apt-get install mssql-server-agent
sudo systemctl restart mssql-server

If you need an offline installation, locate the SQL Server Agent package download in the Release notes. Then use the same offline installation steps described in the topic Install SQL Server.

Use the following steps to install the mssql-server-agent on SUSE Linux Enterprise Server.

Install mssql-server-agent

sudo zypper install mssql-server-agent
sudo systemctl restart mssql-server

If you already have mssql-server-agent installed, you can update to the latest version with the following commands:

sudo zypper refresh
sudo zypper update mssql-server-agent
sudo systemctl restart mssql-server

If you need an offline installation, locate the SQL Server Agent package download in the Release notes. Then use the same offline installation steps described in the topic Install SQL Server.

Next steps

For more information on how to use SQL Server Agent to create, schedule, and run jobs, see Run a SQL Server Agent job on Linux.

0