FTP-HTTP方式安装CentOS

FTP安装CentOS-5.6

1、下载CentOS-5.6-i386-netinstall.iso(http://mirrors.163.com/centos/5.6/isos/i386/CentOS-5.6-i386-netinstall.iso) 

2、用UltraISO做成启动U盘

3、在一台和要安装电脑在同一局域网的电脑上安装vsftpd软件,接下来的操作(实现ftp共享)看这篇文章: 《转: Ubuntu安装个人FTP服务器以共享文件?》http://hi.baidu.com/zhangguyuu/blog/item/70bf176174035e48ebf8f8be.html 

4、在ftp服务器电脑上的某一用户主目录(/home/nhqn/,待会登录时用该用户名登录)下挂载iso镜像文件sudo mount -o loop CentOS-5.6-i386-bin-DVD.iso CentOS

5、接下来很简单,根据提示来如果不会,参考文章:《轻松构建并使用网络安装CentOS》http://hi.baidu.com/higkoo/blog/item/daf46fb3291765aad9335a81.html 


【问题】

1、卡在Loading ata_piix drive的问题

解决方法: 在BOOT画面时,键入linux irqpoll 


【注意】

1、在进ftp前拔掉U盘,否则可能导致grub安装时,出现的是U盘的MBR(在内核载入之后就拔掉) 

2、选择“use non-anonymous ftp”

3、如何填写

例: ftp://mirrors.ustc.edu.cn/centos/5.6/os/i386/

第一行: mirrors.ustc.edu.cn

第二行: centos/5.6/os/i386

HTTP方式同样


局域网挂载ISO镜像文件

Linux挂在Fedora 16的ISO镜像文件安装正常

Windows下会出现"...unable to read package metadata.this may be due to a missing repodata directory..."的错误

原因分析:

通过file命令查看挂载目录下所有文件的类型:

GPL:                             ASCII English text
images:                          setgid directory
isolinux:                        setgid directory
Packages:                        setgid directory
repodata:                        setgid directory
RPM-GPG-KEY-fedora:              symbolic link to `RPM-GPG-KEY-fedora-16-primary'
RPM-GPG-KEY-fedora-16-primary:   PGP public key block
RPM-GPG-KEY-fedora-16-secondary: PGP public key block
RPM-GPG-KEY-fedora-arm:          symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-i386:         symbolic link to `RPM-GPG-KEY-fedora-16-primary'
RPM-GPG-KEY-fedora-ppc:          symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-ppc64:        symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-s390:         symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-s390x:        symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-sparc:        symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-sparc64:      symbolic link to `RPM-GPG-KEY-fedora-16-secondary'
RPM-GPG-KEY-fedora-x86_64:       symbolic link to `RPM-GPG-KEY-fedora-16-primary'
TRANS.TBL:                       ASCII text

有一些文件是symbolic link,这在Windows下是不能被识别的,这就是原因所在


参考文章:

http://liuzhigong.blog.163.com/blog/static/178272375201152395156427/



你可能感兴趣的:(windows,linux,centos,ubuntu,FTP服务器)