linux补包

1、挂载文件
export LANG=C
mkdir -p /media/cdrom
mount /dev/cdrom /media/cdrom
mount /dev/hdc /media/cdrom
mount /dev/scd0 /media/cdrom
mount /dev/sr0 /media/cdrom

2、添加yum源

cat > /etc/yum.repos.d/iso.repo <<END
[iso]
name=install dvd
baseurl=file:///media/iso/Server
enabled=1
gpgcheck=0
END

3、安装包

yum clean all
rpm -q binutils compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat
yum -y install binutils compat-gcc-34 compat-gcc-34.i686 compat-libstdc++-33 compat-libstdc++-33.i686 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc.i686 glibc-common glibc-devel glibc-devel.i686 glibc-headers ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel make sysstat
yum -y install libXp
yum -y install libXp.i686
yum -y install libXt.i686
yum -y install libXtst.i686
yum -y install zlib.i686
yum -y install unixODBC
yum -y install unixODBC-devel

上一篇:Android Phonebook编写联系人UI加载及联系人保存流程(二)


下一篇:前端笔记之NodeJS(四)MongoDB数据库&Mongoose&自制接口&MVC架构思想|实战