Tencent Linux(簡(jiǎn)稱Tlinux)是騰訊針對(duì)云的場(chǎng)景研發(fā)的Linux操作系統(tǒng),提供了專門的功能特性和性能優(yōu)化,為云服務(wù)器實(shí)例中的應(yīng)用程序提供高性能,且更加安全可靠的運(yùn)行環(huán)境。Tencent Linux使用免費(fèi),在CentOS(及發(fā)行版)上開(kāi)發(fā)的應(yīng)用程序可直接在Tencent Linux上運(yùn)行,用戶還可持續(xù)獲得騰訊云的更新維護(hù)和技術(shù)支持。
適用說(shuō)明
Tencent Linux適用于下列場(chǎng)景:
·絕大部分云服務(wù)器各規(guī)格族實(shí)例,包括黑石2.0服務(wù)器。
·啟動(dòng)實(shí)例時(shí),需要通過(guò)用戶數(shù)據(jù)(即userdata的方式)將相關(guān)操作傳遞到cloud-init,以達(dá)到在實(shí)例啟動(dòng)時(shí)進(jìn)行動(dòng)態(tài)配置的目的。
主要特性
Tencent Linux 2.4環(huán)境說(shuō)明
用戶態(tài)環(huán)境
用戶態(tài)軟件包保持與最新版CentOS 7兼容,CentOS 7版本的軟件包可以直接在Tencent Linux 2.4中使用。
系統(tǒng)服務(wù)與優(yōu)化配置
系統(tǒng)服務(wù)
·tlinux-irqaffinity:Tencent Linux自動(dòng)中斷分配服務(wù)。
·tlinux-bootlocal:Tencent Linux bootlocal服務(wù),開(kāi)機(jī)自動(dòng)執(zhí)行/etc/rc.d/boot.local。
系統(tǒng)工具
tencent-tools:tos(簡(jiǎn)稱t)命令,用于系統(tǒng)管理。支持的參數(shù)如下:
tos version 2.2
Usage:
tos TencentOS Server System Management Toolset
tos -u|-U| update [rpm_name] Update the system
tos -i|-I| install rpm_name install rpms
tos -s|-S| show Show the system version
tos -c|-C| check [rpm_name] Check the modified rpms
tos -f yum | fix yum Fix yum problems
tos -f dns | fix dns Fix DNS problems
tos -a|-A | analyze Analyze the system performance
tos set dns Set DNS
tos set irq Set irqaffinity, restart irqaffinity service
tos -cu| check-update Check available package updates
tos -b|-B| backup [ reboot ] Backup the system online, or reboot to backup
tos -r|-R| recover|reinstall Recover or Reinstall the system
tos -h|-H| help Show this usage
tos -v|-V| version Show the script version
系統(tǒng)配置
·pam:密碼復(fù)雜度增強(qiáng)。
·/etc/bashrc修改:優(yōu)化bash顯示。
·/etc/hosts:添加TENCENT64及TENCENT64.site。
·/root/.bashrc:優(yōu)化配置。
Tencent Linux 2.4內(nèi)核
基于社區(qū)longterm版本4.14內(nèi)核,詳情請(qǐng)參見(jiàn)TencentOS-kernel。
獲取Tlinux
您可通過(guò)下列方法獲取并使用Tencent Linux:
創(chuàng)建云服務(wù)器實(shí)例時(shí),選擇公共鏡像,并選擇Tencent Linux的相應(yīng)版本。
操作詳情請(qǐng)參見(jiàn)創(chuàng)建實(shí)例。
已創(chuàng)建的云服務(wù)器實(shí)例,可通過(guò)重裝系統(tǒng)將現(xiàn)有操作系統(tǒng)更換為Tencent Linux。
發(fā)布說(shuō)明
技術(shù)支持
騰訊云為Tencent Linux提供如下技術(shù)支持:
·在YUM源提供安全更新(Security Updates),運(yùn)行yum update命令即可實(shí)現(xiàn)版本更新。
·Tencent Linux是基于內(nèi)核社區(qū)長(zhǎng)期支持的4.14.105版本,為云環(huán)境定制的操作系統(tǒng)鏡像。騰訊云將為您在使用Tencent Linux過(guò)程中遇到的問(wèn)題提供技術(shù)支持。