Most modern applications are built on open source software. The YiTian Arm-based platform provides a robust ecosystem for open source software, letting you install and deploy most packages directly from your operating system's software repositories. This topic explains how to use popular open source software, such as NGINX, MySQL, Redis, TensorFlow, and PyTorch, on YiTian ECS instances.
Nginx
NGINX is a high-performance HTTP server and reverse proxy. It also proxies email protocols such as IMAP, POP3, and SMTP. You can install NGINX directly on your YiTian ECS instance.
Alibaba Cloud Linux, CentOS, and Fedora
sudo yum install nginx -y
Ubuntu and Debian
sudo apt install nginx
openSUSE
sudo zypper install nginx
MySQL
MySQL is a popular open source relational database management system. Its speed, reliability, and ease of use make it a top choice for web applications, from small projects to large-scale deployments. You can install MySQL directly on your YiTian ECS instance.
Alibaba Cloud Linux, CentOS, and Fedora
sudo yum install mysql -y
Ubuntu and Debian
sudo apt install mysql-server -y
openSUSE
sudo zypper install mysql
Redis
Redis is a popular open source in-memory key-value store distributed under the BSD (Berkeley Software Distribution) license. It is often used as a high-performance database, cache, message broker, and streaming engine. You can install Redis directly on your YiTian ECS instance.
Alibaba Cloud Linux, CentOS, and Fedora
sudo yum install redis -y
Ubuntu and Debian
sudo apt install redis
openSUSE
sudo zypper install redis
TensorFlow
TensorFlow is an end-to-end open source platform for machine learning. It provides a comprehensive and flexible ecosystem of tools, libraries, and community resources. TensorFlow is widely used in machine learning and deep neural network research. To use TensorFlow on a YiTian ECS instance, we recommend one of the following methods.
-
Build a TensorFlow Docker image from the official source. For more information, see TensorFlow for AArch64.
During the build, use the options
--build-type tensorflow, --build-target=neoverse-n2to create a version of TensorFlow optimized for YiTian ECS instances. -
Pull an official pre-built Arm Docker image from Docker Hub. For more information, see TensorFlow docker images for Arm Neoverse.
PyTorch
PyTorch is an open source machine learning library for Python. Based on Torch, it is used in applications such as natural language processing. To use PyTorch on a YiTian ECS instance, we recommend one of the following methods.
-
Build a PyTorch Docker image from the official source. For more information, see PyTorch for AArch64.
During the build, use the options
--build-type pytorch, --build-target=neoverse-n2to create a version of PyTorch optimized for YiTian ECS instances. -
Pull an official pre-built Arm Docker image from Docker Hub. For more information, see PyTorch docker images for Arm Neoverse.