Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


yum_installer_bash_script_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
yum_installer_bash_script_centos7 [2017/05/30 10:45] juckinsyum_installer_bash_script_centos7 [2017/11/22 07:05] juckins
Line 1: Line 1:
 ==== Yum installer bash script (CentOS7) == ==== Yum installer bash script (CentOS7) ==
 +
 +When you run the code below, ensure to redirect output to a log file.
  
 <code> <code>
Line 30: Line 32:
 echo "*****************************************************************" echo "*****************************************************************"
 yum -y install wget yum -y install wget
-mkdir /root/downloads +yum install epel-release 
-cd /root/downloads +#mkdir /root/downloads 
-wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm +#cd /root/downloads 
-rpm -ivh epel-release-7-6.noarch.rpm+#wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm 
 +#rpm -ivh epel-release-7-6.noarch.rpm
  
  
Line 223: Line 226:
 #yum -y install ssmtp* #yum -y install ssmtp*
 yum -y install ftp yum -y install ftp
-yum -y install mutt+yum -y install mutt                             # mutt-1.5.21-27.el7.x86_64 does not work with cron
 yum -y install NetworkManager* yum -y install NetworkManager*
 yum -y install openconnect* yum -y install openconnect*
Line 261: Line 264:
 yum -y install chrony                          # NTP / clock yum -y install chrony                          # NTP / clock
 yum -y install ntpdate yum -y install ntpdate
 +yum -y install gcc
 +yum -y install kernel-devel
  
 echo "" echo ""
yum_installer_bash_script_centos7.txt · Last modified: 2022/12/07 13:24 by juckins