Tencent cloud server operating system TencentOS installation and experience

A brief introduction to TencentOS

TencentOS Server (also known as Tencent Linux abbreviated as Tlinux) is a Linux operating system developed by Tencent for cloud scenarios. It provides special features and performance optimizations, providing high performance for applications in cloud server instances, and more secure and reliable operation surroundings. Tencent Linux is free to use. Applications developed on CentOS (and distribution) can be run directly on Tencent Linux. Users can also continue to receive Tencent Cloud's update maintenance and technical support.

Support platform

X86: Support intel, AMD (including ROME platform)

ARM64: Support hot patch, virtualization

Localization support: Haiguang cpu

Main features

1) Kernel customization:

Customized based on the 4.14.105 version long-term supported by the kernel community, adding new features suitable for cloud scenarios, improving kernel performance and fixing major defects

2) Container support:

Optimized for container scenarios, providing isolation enhancement and performance optimization features: meminfo, vmstat, cpuinfo, stat, loadavg, uptime, diskstats
Sysctl isolation, such as tcp_no_delay_ack, tcp_max_orphans, a large number of file systems and network BUGFIX
NVME IO are isolated proportionally

3) Performance optimization:

The computing, storage, and network subsystems have been optimized, including: optimizing xfs memory allocation, solving xfs kmem_alloc allocation failure alarms, optimizing network packet receiving large memory allocation problems, and solving the problem of consuming too much memory when UDP packets are large, limiting system page cache occupancy Memory ratio, so as to avoid insufficient memory to affect business performance or OOM

4) Other features:

Offline scheduling algorithm (BT)
process anti-gdb
ARM64 hot patch pagecache
limit

5) Defect support:

Provides kdump kernel dump capability after operating system crashes Provides kernel hot patch upgrade capability

6) Security update:

Tencent Linux will be updated regularly to enhance security and functionality

GitHub address

https://github.com/Tencent/TencentOS-kernel

Download the ISO image file of the X86_64 version to install and experience TencentOS

1. Download the ISO image file of TencentOS from the Tencent Cloud Mirror Station

 
  1. TencentOS的ISO镜像文件
  2. https://mirrors.cloud.tencent.com/tlinux/2.4/iso/tlinux_2.4_for_x86_64_20200925.iso
  3. 安装说明文档
  4. https://mirrors.cloud.tencent.com/tlinux/2.4/iso/TencentOS_server_installation.pdf
  5.  

2. Create a virtual machine

3. Choose the cdrom method to complete the automatic installation of the system

4. Screenshot of the system installation process

System installation is done by decompressing the sqfs file 

reboot -f reboot

5. Enter the login interface after restarting

user: root

password: Tlinux2019++

6. Configure the IP address of the eth0 network card

Since it is NAT mode, set the IP address to 192.168.150.25/24 and the gateway to 192.168.150.2 here

7. SSH login

View /root/Changlog

8. Use of built-in tencentos-tools

1) tos -h view command help

 
  1. tos -h

For example,
after configuring the domain name DNS server,
tos -cu checks for system updates,
you can see that the latest version is already

 

2) tos -i

 
  1. tos -i ncdu

 #Install the ncdu software in EPEL

3) tos -b backup system

 
  1. tos -b

Guess you like

Origin blog.csdn.net/wx_15323880413/article/details/108898786