安装telnet服务

来源:互联网 发布:mysql建库指定字符集 编辑:程序博客网 时间:2024/06/05 23:45

先检查CentOS7.0是否已经安装以下两个安装包:telnet-server、xinetd。
命令如下:

# rpm -qa telnet-server # rpm -qa xinetd 

如果没有安装,则先安装。
安装命令:

# yum install telnet-server# yum install xinetd

安装完成后,将xinetd服务加入开机自启动:

# systemctl enable xinetd.service 

将telnet服务加入开机自启动:

# systemctl enable telnet.socket

最后,启动以上两个服务即可:

# systemctl start telnet.socket# systemctl start xinetd

检查服务是否开启

#systemctl status telnet.scoket#systemctl status xinetd

http://www.cnblogs.com/lixuwu/p/6102444.html

原创粉丝点击