Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- mount /dev/sr0 /mnt
- rm -fr /etc/yum.repos.d/*.repo
- echo "
- [dvd]
- name=CentOS
- baseurl=file:///mnt/
- gpgcheck=0
- " > /etc/yum.repos.d/dvd.repo
- yum clean all
- #compiler
- yum -y install gcc gcc-c++ gcc-gfortran rsh-server ypserv cmake nfs-utils patch rpcbind
Advertisement
Add Comment
Please, Sign In to add comment