RHEL 5.1 下面安装tftp服务
来源:互联网 发布:python辗转相减法 编辑:程序博客网 时间:2024/05/01 01:15
转载自:http://www.cnblogs.com/emouse/
挂载RHEL 5.1安装光盘,在虚拟机中选择设置就可以了。如图所示
设置挂载
[root@localhost Server]# cd /mnt
[root@localhost mnt]# mkdir cdrom
[root@localhost mnt]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
找到安装文件
[root@localhost mnt]# cd cdrom/Server/
[root@localhost Server]# ls tftp*
tftp-0.42-3.1.i386.rpm tftp-server-0.42-3.1.i386.rpm
执行安装命令
[root@localhost Server]# rpm -ivh tftp-server-0.42-3.1.i386.rpm
warning: tftp-server-0.42-3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
xinetd is needed by tftp-server-0.42-3.1.i386
安装失败,显示缺少一个依赖的文件没装,那就先装它好了。
[root@localhost Server]# ls xinetd*
xinetd-2.3.14-10.el5.i386.rpm
[root@localhost Server]# rpm -ivh xinetd-2.3.14-10.el5.i386.rpm
warning: xinetd-2.3.14-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:xinetd ########################################### [100%]
安装成功,在装tftp试试。
[root@localhost Server]# rpm -ivh tftp-server-0.42-3.1.i386.rpm
warning: tftp-server-0.42-3.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:tftp-server ########################################### [100%]
安装成功。
[root@localhost Server]# cd /
[root@localhost /]# ls
bin dev home lost+found misc net proc sbin srv tftpboot usr
boot etc lib media mnt opt root selinux sys tmp var
根目录下面已经创建了tftpboot目录。
下面看一下配置文件。
[root@localhost /]# vi /etc/xinetd.d/tftp
打开后默认如图所示,如果对应的改一下。disable 改为no就可以了。
启动服务。没有启动起来的要在重新启动一下。
[root@localhost /]# service xinetd start
启动 xinetd:
[root@localhost /]# netstat -a | grep tftp
[root@localhost /]# service xinetd restart
停止 xinetd: [确定]
启动 xinetd: [确定]
查看服务
[root@localhost /]# netstat -a | grep tftp
udp 0 0 *:tftp *:*
服务已经启动。
- RHEL 5.1 下面安装tftp服务
- RHEL 5.1 下面安装tftp服务
- RedHat9安装tftp服务
- Ubuntu 安装tftp服务
- fedora10 安装tftp服务
- redhat安装tftp服务
- [ubuntu]安装tftp服务
- Ruby在RHEL下面的安装问题
- Ubuntu安装配置TFTP服务
- CentOS 6.0 tftp服务安装
- ubuntu下安装tftp服务
- ubuntu11.10安装tftp服务
- ubuntu下安装tftp服务
- ubuntu下安装tftp服务
- ubuntu下安装tftp服务
- ubuntu下安装tftp服务
- ubuntu12.10安装tftp服务
- Ubuntu中安装tftp服务
- 查找算法之二分查找
- 2012开源中国开源世界高峰论坛有感
- 来个经典的大字闹钟
- PHP 从数据库遍历返回json
- 查找算法之哈希查找
- RHEL 5.1 下面安装tftp服务
- xp怎么修改桌面图标?
- 从字符串中取颜色
- 查找算法整理之索引查找
- 求最长不增子序列、最长单调递减子序列、最长不降子序列、最长单调递增子序列长度
- VC6.0查看汇编代码
- ZigZag打印二叉树
- 常见的几种RuntimeException-
- 怎么截桌面的背景