Tencent Linux(簡稱Tlinux)是騰訊針對云的場景研發(fā)的Linux操作系統(tǒng),提供了專門的功能特性和性能優(yōu)化,為云服務(wù)器實例中的應(yīng)用程序提供高性能,且更加安全可靠的運行環(huán)境。Tencent Linux使用免費,在CentOS(及發(fā)行版)上開發(fā)的應(yīng)用程序可直接在Tencent Linux上運行,用戶還可持續(xù)獲得騰訊云的更新維護和技術(shù)支持。
適用說明
Tencent Linux適用于下列場景:
·絕大部分云服務(wù)器各規(guī)格族實例,包括黑石2.0服務(wù)器。
·啟動實例時,需要通過用戶數(shù)據(jù)(即userdata的方式)將相關(guān)操作傳遞到cloud-init,以達(dá)到在實例啟動時進行動態(tài)配置的目的。
主要特性
Tencent Linux 2.4環(huán)境說明
用戶態(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自動中斷分配服務(wù)。
·tlinux-bootlocal:Tencent Linux bootlocal服務(wù),開機自動執(zhí)行/etc/rc.d/boot.local。
系統(tǒng)工具
tencent-tools:tos(簡稱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ù)雜度增強。
·/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)核,詳情請參見TencentOS-kernel。
獲取Tlinux
您可通過下列方法獲取并使用Tencent Linux:
創(chuàng)建云服務(wù)器實例時,選擇公共鏡像,并選擇Tencent Linux的相應(yīng)版本。
操作詳情請參見創(chuàng)建實例。
已創(chuàng)建的云服務(wù)器實例,可通過重裝系統(tǒng)將現(xiàn)有操作系統(tǒng)更換為Tencent Linux。
發(fā)布說明
技術(shù)支持
騰訊云為Tencent Linux提供如下技術(shù)支持:
·在YUM源提供安全更新(Security Updates),運行yum update命令即可實現(xiàn)版本更新。
·Tencent Linux是基于內(nèi)核社區(qū)長期支持的4.14.105版本,為云環(huán)境定制的操作系統(tǒng)鏡像。騰訊云將為您在使用Tencent Linux過程中遇到的問題提供技術(shù)支持。