linux平台开启ftp/telnet服务
来源:互联网 发布:咨询行业 收获 知乎 编辑:程序博客网 时间:2024/05/16 07:19
点评:在安装好Redhat以后,需要设置Ftp和Telnet服务文件,才能启动Ftp和Telnet服务,可以通过远程控制进行开启。 1.1、用root用户登录,进入终端命令模式; 1.2、开启ftp服务。 cd /etc/xinetd.d,编辑ftp服务的配置文件gssftp的设置: 图1 开启ftp服务设置.
详细出处参考:http://www.jb51.net/os/RedHat/1360.html###
在安装好Redhat以后,需要设置Ftp和Telnet服务文件,才能启动Ftp和Telnet服务,可以通过远程控制进行开启。
1.1、用root用户登录,进入终端命令模式;
1.2、开启ftp服务。
cd /etc/xinetd.d,编辑ftp服务的配置文件gssftp的设置:
图1 开启ftp服务设置.
vi gssftp ,将 修改两项内容:
(1)server_args = -l –a 去掉-a 改为server_args = -l
(2)disable=yes改为disable=no
(3)保存退出。
1.3、开启telnet服务
cd /etc/xinetd.d ,察看telnet服务的配置文件krb5-telnet的设置:
图2 开启telnet服务设置
vi krb5-telnet
(1)将disable=yes,改为disable=no,保存退出。
1.4、激活服务:
telnet /ftp 是挂在 xinetd 底下的,所以自然只要重新激活 xinetd 就能够将 xinetd 里头的设定重新读进来,所以刚刚设定的telnet /ftp自然也就可以被激活。
激活目录和命令:
cd /etc/rc.d/init.d/
service xinetd restart
有时会提示命令不存在,需要加上命令的路径
[root@localhost init.d]# service xinetd resart
bash: service: command not found
[root@localhost init.d]# /sbin/service xinetd restart
图3 重新启动FTP、Telnet服务
1.5连上FTP
图4 连接FTP
说明,如果主机设置了DNS时,不知道为什么FTP连接时有点慢,当连上去以后就正常,如果去掉DNS好像就没有这个问题。
详细出处参考:http://www.jb51.net/os/RedHat/1360.html###
- 开启linux平台ftp/telnet服务
- linux平台开启ftp/telnet服务
- linux(redhat)开启telnet,ftp服务
- linux下开启ftp和telnet服务
- linux 开启ftp和telnet服务
- 如何开启Linux的telnet服务 开启ftp服务
- 如何开启Linux的telnet服务 开启ftp服务
- Linux上面开启FTP服务和Telnet服务、xmanager连接
- redhat开启ftp telnet服务
- Redhat Enterprise Linux 5 开启telnet/ftp服务
- Linux Telnet服务开启
- linux开启telnet服务
- linux开启telnet服务
- linux开启telnet服务
- Linux开启telnet服务
- linux开启telnet服务
- linux开启ftp和telnet
- [转]RedHat5 开启telnet,ftp等服务
- Spring+Hibernate3+Proxool
- 英语练习30 Money doesn't grow on trees
- ECMAScript 关键字
- sqlite 简介 命令 数据库 使用 教程
- linux查看及修改文件属性及权限
- linux平台开启ftp/telnet服务
- 一起学DNS系列(二)理解计算机的主DNS后缀选项
- JavaScript对ECMAScript的实现
- 插入排序
- 嫣然一笑苦了情
- 一起学DNS系列(一)基础、概览
- Phong模型
- android 开发之旅 helloworld
- JavaScript 定义类或对象