热门关键字:  ubuntu  分区  Fedora  linux系统进程  函数

当前位置 :| 主页>Linux教程>linux安装>

通过网络安装Linux(CentOS)系统的方法

来源: 作者: 时间:2007-11-09 Tag: 点击:

 

2.TFTP

由于必须支持TSIZE协议,所以不能安装最原始的TFTP包。我选择使用 tftp-hpa 。

 

编辑文件 /etc/xinetd.d/tftp (若没有,则添加tftp文件)(若不存在xinetd.d,请安装 xinetd 包)

 

# default: off

# description: The tftp server serves files using the trivial file transfer \

# protocol. The tftp protocol is often used to boot diskless \

# workstations, download configuration files to network-aware printers, \

# and to start the installation process for some operating systems.

service tftp

{

disable = no

socket_type = dgram

protocol = udp

wait = yes

user = root

server = /usr/sbin/in.tftpd

server_args = -s /tftpboot

per_source = 11

cps = 100 2

flags = IPv4

}

 

这里将 /tftpboot 定义为 tftp 服务的默认目录,您可以自行修改。

 

保存之后重启 /etc/init.d/xinetd 服务,即可开启 tftp 服务。

 

如何测试 tftp 是否成功开启?

 

在 tftp 目录下创建一个文件,比如 1.txt 。

 

在 Shell 中连接 tftp 服务:

 

tftp 127.0.0.1

tftp>get 1.txt

 

若服务成功开启,则能看到成功下载文件的提示。并在当前目录下找到1.txt文件。

 

接着复制光盘中 isolinux 目录下的 vmlinuz、initrd.img 文件到 /tftpboot 目录下。



相关文章:
Linux 系统安装
给您的U盘安装linux
其实是可以用虚拟光驱在虚拟机上装linux的
CentOS 4.7 for i386安装
利用虚拟机在移动硬盘中安装Puppy Linux
X86上4系统的安装
通过chroot 构建Linux操作系统概要
FreeBSD安装小记
freebsd7 硬盘安装
制作initrd镜像 -- 续前
RHEL5安装序列号
rhel5硬盘安装常见问题
linux 远程安装
在VirtualBox中安装Solaris的一点说明
USB Damn Small Linux install
硬盘安装Damn Small Linux
damn small linux 安装方法
安装centos
Solaris 11 安装图解(1)
Solaris 11 安装图解(2)
Solaris 11 安装图解(3)
Solaris 11 安装图解(4)
Solaris 11 安装图解(5)
Solaris 11 安装图解(6)
Solaris 11 安装图解(7)
Solaris 11 安装图解(8)
portable linux 安装成功
如何在Vista系统下使用虚拟机安装Linux
包括Wingrub的GRUB命令模式安装Linux
如何从硬盘分区上安装solaris10