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 [2016/06/06 20:48] 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) ==
 +
 +<fc #ff0000>When you run the code below, ensure to redirect output to a log file.</fc>
  
 <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 214: Line 217:
 echo "********************* NOW INSTALLING EXTRAS  ********************" echo "********************* NOW INSTALLING EXTRAS  ********************"
 echo "*****************************************************************" echo "*****************************************************************"
-#yum -y install xorg-x11-fonts*+yum -y install xorg-x11-fonts*
 yum -y install net-tools yum -y install net-tools
 yum -y install cups yum -y install cups
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 253: Line 256:
 yum -y install qt                              # VirtualBox EL7 yum -y install qt                              # VirtualBox EL7
 yum -y install qt-x11                          # VirtualBox EL7 yum -y install qt-x11                          # VirtualBox EL7
-yum -y vsftpd +yum -y install vsftpd 
-yum -y perl-CPAN +yum -y install perl-CPAN 
-yum -y python-httplib2                         # TAT +yum -y install python-httplib2                 # TAT 
-yum -y MySQL-python                            # TAT +yum -y install MySQL-python                    # TAT 
 +yum -y install gnome-disk-utility              # for gnome-disks command 
 +yum -y install mod_ssl                         # HTTPS functionality 
 +yum -y install chrony                          # NTP / clock 
 +yum -y install ntpdate 
 +yum -y install gcc 
 +yum -y install kernel-devel
  
 echo "" echo ""
Line 264: Line 272:
 systemctl start httpd.service systemctl start httpd.service
 systemctl enable httpd.service systemctl enable httpd.service
 +systemctl start chronyd.service
 +systemctl enable chronyd.service
  
  
yum_installer_bash_script_centos7.txt · Last modified: 2022/12/07 13:24 by juckins