Guest User

Untitled

a guest
Aug 26th, 2014
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. mount /dev/sr0 /mnt
  4.  
  5. rm -fr /etc/yum.repos.d/*.repo
  6.  
  7. echo "
  8. [dvd]
  9. name=CentOS
  10. baseurl=file:///mnt/
  11. gpgcheck=0
  12. " > /etc/yum.repos.d/dvd.repo
  13.  
  14. yum clean all
  15.  
  16. #compiler
  17. 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