CentOS is about to stop maintenance, embrace Ali "Dragon Lizard" (Anolis OS), VMware installs Anolis OS and introduces

I. Introduction

When you perform some server operations on your own computer, you basically use CentOS 7or CentOS 8, but at the end of 2021, CentOS 8 announced that it will stop maintenance; CentOS 7 will also stop maintenance on June 30, 2024!

So it's time for us to change to another operating system. After more than ten years of precipitation, Ali brought the operating system - "龙蜥"(Anolis OS)here we come!

For us, it is still necessary to support domestic products, after all, they will not be monitored by foreign countries, safe! In terms of performance, Ali’s business can be supported, and ours should be fine. It’s good for us to deploy our own local servers and build some environments!
Fully compatible CentOS , the official website also has some migration articles, if you are interested, you can take a look!

2. Introduction to Anolis OS

Anolis OS official website

1 Introduction

At the 2021 Yunqi Conference, Alibaba Cloud released a new operating system "龙蜥"(Anolis OS)and announced 开源. The Dragon Lizard operating system is positioned in the server market and supports x86、ARM、LoongArcha variety of hardware architectures. The Dragon Lizard operating system is fully open source,Compatible with CentoS ecology, providing services through open source communities and operating system vendors,Technical support for at least 10 years

The Dragon Lizard system has made multiple optimizations especially for the development of cloud-native applications. It is 综合性能可提升40%also 故障率可降低50%compatible CentOS生态, supported 一键迁移, and provided for typical scenarios on the cloud 全栈国密能力.

The Dragon Lizard system is expected to succeed CentOS and continue to serve the public. Therefore, it is necessary to be compatible with the CentOS ecosystem and reduce migration costs. Alibaba Cloud's Longduan system 欧拉系统is similar to Huawei's. As the two largest cloud service providers in China, it is very necessary to have their own operating system.

Yunqi Conference

2. Technical highlights

  • Compatible with CentOS software ecology Compatible
    with CentOS software ecology, compatible with international mainstream Linux vendor releases
  • Support Dragonwell cloud native Java
  • Support Linux Kernel 4.19 LTS
    Support Linux Kernel 4.19 LTS version and synchronize the latest achievements of the upstream community to help users obtain the innovation dividend of the open source community in time
  • Support multi-computing architecture and mainstream server hardware
    Support x86_64 and aarch64 architecture and Phytium, Haiguang, Zhaoxin, Kunpeng and other chips, adapt to x86 and arm64 mainstream server hardware
  • Provide migration tools
    Provide migration tools from CentOS system to Anolis OS to help the smooth migration of systems and applications
  • Support open source distributed relational database OceanBase
  • Support for secure containers Kata Containers
  • Support open source cloud-native relational database PolarDB
    Next-generation relational cloud-native database

3. Development history

insert image description here

3. Installation experience

Having said so much, it is better to experience it!
This time, VMware16 is used to install!

1. Download mirror

We directly download the latest version!

insert image description here
This download x86 64type:

insert image description here
click to download:
insert image description here

remind: You can use Thunder to download faster!

Thunder money! ! !

2. Create a new virtual machine

We use a typical installation

insert image description here
Let's skip the image first, and then install it later:

insert image description here
We can install it as CentOS 8, and it seems that 7 is also possible!

insert image description here
Try not to place it on the C drive!

insert image description here
Test here, 20GB is enough!

insert image description here

3. Edit the virtual machine

Click Finish, and you will go to the main interface:
Select Edit
insert image description here
Let’s configure the memory and processor. Here, the editor’s memory is set to 4GB, and the processor is 2 cores and 2 threads!
It is mainly Anolis OSa mirror image of the configuration!

insert image description here

The configuration is complete:

insert image description here

4. Start the initialized virtual machine

We start the virtual machine and select the first one:

insert image description here
If you like English, you can switch it by yourself, just continue!

insert image description here
We assign the installation destination to him, otherwise it is a warning!

insert image description here

insert image description here

Configure the root password:

insert image description here
You can install the smallest one in the software selection, so the speed is faster. The installation here has an interface. The main purpose is to see if it is the same as CentOS. Let’s start the installation!

insert image description here
After the installation is complete, restart the system:

insert image description here

5. Initialization

We need to agree to the license agreement:

insert image description here

insert image description here
We finish the configuration, don't create a user, just use root directly!

Welcome Screen:

insert image description here
Turn off positioning:

insert image description here
Configure your account information:

insert image description here

set password:

insert image description here
start using:

insert image description here
The interface is not the same as CentOS:

insert image description here

6. use

CentOS has a command line on the right button. After searching for this for a while, I found that there is an activity in the upper left corner, and it will come out when clicked!

insert image description here

There is a big hole here:

I don't know why, but the editor doesn't automatically connect to the network. After a long time, I thought there was something wrong with my installation. There are too few tutorials for AnolisOS on the Internet!

We can connect it in the upper right corner!

insert image description here

Check the ip, Xiao Bian is still accustomed to using it xshellto operate!

ifconfig

insert image description here

4. Test use

Test to install docker and run an nginx to see if it can be accessed and used normally!

To install docker, you can read the article written by the editor before, and I will not take everyone to install it here!

Install Docker in Linux

1. Interlude

When installing docker, we can install centOS to install it, and an error will appear:

 软件包 podman-2:4.1.1-2.module+an8.6.0+10825+318933f1.x86_64 需要 runc >= 1.0.0-57,
 但没有提供者可以被安装
(尝试在命令行中添加 '--allowerasing' 来替换冲突的软件包 或 
'--skip-broken' 来跳过无法安装的软件包 或 '--nobest' 来不只使用软件包的最佳候选)

Tell us the solution:
add parameter replacement or skip after the command:

sudo yum install docker-ce docker-ce-cli containerd.io --allowerasing

You can take a look at the xshell connection virtual machine:

xshell connects to the server

2. Run the nginx container

docker run --name nginx -d -p 80:80 nginx

3. Turn off the firewall

systemctl stop firewalld.service				

View fire status:

systemctl status firewalld

4. Test Access

Port 80 can be ignored:
http://192.168.239.139/

insert image description here

V. Summary

After experiencing it for a while, it is actually non-perceptual, and there are some differences in some places, but the obvious reminder in English before has become Chinese!

It feels good, but there is a problem, and there is still relatively little information on the Internet, so I can only go to the community to ask questions!

The ecology is gradually improving, and more people use it, and there will be more tutorials slowly. For our development, we still need to support domestic production!


The predecessors planted trees and the descendants enjoyed the shade. It is helpful to you. Please don't be stingy with your little hands who make a fortune and pay attention to it!

Pay attention to the editor's WeChat public account, and communicate and learn together! Read the article first!

Guess you like

Origin blog.csdn.net/qq_52423918/article/details/128676085