centos 5 netinstall 之网络安装

这么低的版本确实现在很难找了,也几乎没人用,正是因为如此,所以网上的资料就很难找,为此写这篇文章来记录下。

准备工作:

http://vault.centos.org/   这是所有的centos镜像文件都可以找到的地方 而且低版本的好像似乎只有这里支持最全了

下载centos 5 netinstall x86_64 iso镜像 文件比较小,还没你一个视频大

vmware workstation 14

开始安装

创建虚拟机的过程就不说了,相当简单

加载镜像----开启虚拟机------选择安装媒体 http

重点来了   

Web site name:  

vault.centos.org

CentOS directory for i386:

/5.11/os/i386

CentOS directory for x86_64:

/5.11/os/x86_64

接着这里  会去下载安装镜像 速度那是相当慢  国外的服务器 这个必须理解!

然后后面的就和下载完整版的iso安装一样了

yum 源配置,这个是比较困难的,目前来说,所以记录下。

 CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates 
[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
baseurl=http://vault.centos.org/5.11/os/x86_64/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

参考链接:https://www.linuxidc.com/Linux/2019-02/157104.htm

你可能感兴趣的:(centos,5,网络安装,linux系统运维)