Sql server 2022 chạy trên linux
Skip to main content This browser is no longer supported. Show Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Install SQL Server 2022 Machine Learning Services (Python and R) on Linux
In this articleApplies to: SQL Server 2022 (16.x) Preview - LinuxThis article guides you in the installation of SQL Server Machine Learning Services on Linux. Python and R scripts can be executed in-database using Machine Learning Services. You can install Machine Learning Services on Ubuntu. Currently, Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES) are unsupported. You can install ML Services on a Docker container running a Linux distribution. Inside the Docker container, the steps would be the same as below. For more information, see the Supported platforms section in the installation guidance for SQL Server on Linux. Pre-install checklist
Package listOn an internet-connected device, packages are downloaded and installed independently of the database engine using the package installer for each operating system. The following table describes all available packages, but for R and Python, you specify packages that provide either the full feature installation or the minimum feature installation. Available installation packages for SQL Server 2022 (16.x) Preview on Linux:
Install on UbuntuRefer to Quickstart: Install SQL Server and create a database on Ubuntu for SQL Server 2022 (16.x) Preview on Linux installation. Then, use the following steps to install SQL Server Machine Learning Services on Ubuntu:
Install R on UbuntuThe following commands register the repository providing the R language platform. Tip If possible, run
Install Python on Ubuntu
Install on RHELInstallation for SQL Server 2022 (16.x) Preview Machine Learning Services for Red Hat Enterprise Linux (RHEL) is currently not supported. Install on SUSE LinuxInstallation for SQL Server 2022 (16.x) Preview Machine Learning Services for SUSE Linux Enterprise Server (SLES) v15 is currently not supported. Install JavaTo install the Java language extension, see Install SQL Server Java Language Extension on Linux. Verify installationTo validate installation:
Offline installationFollow the Offline installation instructions for steps on installing the packages. Find your download site, and then download specific packages using the package list below. Tip Several of the package management tools provide commands that can help you determine package dependencies. For yum, use Next stepsPython developers can learn how to use Python with SQL Server by following these tutorials:
R developers can get started with some simple examples, and learn the basics of how R works with SQL Server. For your next step, see the following links:
FeedbackSubmit and view feedback for |