重启网卡
[root@SRD999/]#servicenetworkrestart
Shuttingdownloopbackinterface:[OK]
Bringinguploopbackinterface:[OK]
Bringingupinterfaceeth0:Activeconnectionstate:activated
Activeconnectionpath:/org/freedesktop/NetworkManager/ActiveConnection/1
[OK]
[root@SRD999/]#
安装telnet
[root@SRD999/]#yum-yinstalltelnet*
Loadedplugins:fastestmirror,refresh-packagekit,security
Loadingmirrorspeedsfromcachedhostfile
*base:mirrors.opencas.cn
*extras:mirrors.zju.edu.cn
*updates:mirrors.zju.edu.cn
SettingupInstallProcess
ResolvingDependencies
-->Runningtransactioncheck
--->Packagetelnet.x86_641:0.17-48.el6willbeinstalled
--->Packagetelnet-server.x86_641:0.17-48.el6willbeinstalled
-->ProcessingDependency:xinetdforpackage:1:telnet-server-0.17-48.el6.x86_64
-->Runningtransactioncheck
...............................................................
[root@SRD999/]#cdetc/xinetd.d
[root@SRD999xinetd.d]#ls
chargen-dgramdaytime-streamecho-dgramtcpmux-servertime-stream
chargen-streamdiscard-dgramecho-streamtelnet
daytime-dgramdiscard-streamrsynctime-dgram
[root@SRD999xinetd.d]#cptelnettelnet.bak备份
[root@SRD999xinetd.d]#vitelnet
[root@SRD999xinetd.d]#
将disable改成no
修改前
修改后
重启服务
[root@SRD999/]#servicexinetdrestart
Stoppingxinetd:[FAILED]
Startingxinetd:[OK]
[root@SRD999/]#servicexinetdrestart
Stoppingxinetd:[OK]
Startingxinetd:[OK]
[root@SRD999/]#
开放防火墙后就可以通过telnet登录系统了