1.安裝相關(guān)包
yum -y instll telnet-server
yum -y instll telnet
yum -y instll xinetd
2.設(shè)置開機(jī)自啟動
systemctl enable xinetd.service
systemctl enable telnet.socket
3.啟動服務(wù)
systemctl start telnet.socket
systemctl start xinetd(或service xinetd start)