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/05/20 17:07] 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 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 234: Line 237:
 yum -y install ncftp yum -y install ncftp
 yum -y install dkms yum -y install dkms
-yum -y install totem+yum -y install vlc                             # needs nux
 #yum -y install ktorrent #yum -y install ktorrent
 yum -y install gimp yum -y install gimp
-yum -y install php-mbstring php-mcrypt php-mysql+yum -y install php php-mbstring php-mcrypt php-mysql
 yum -y install fail2ban.noarch                 # epel yum -y install fail2ban.noarch                 # epel
 yum -y install perl-File-Slurp.noarch          # base yum -y install perl-File-Slurp.noarch          # base
Line 245: Line 248:
 yum -y install perl-List-Compare.noarch        # epel yum -y install perl-List-Compare.noarch        # epel
 yum -y install perl-List-MoreUtils.x86_64      # base yum -y install perl-List-MoreUtils.x86_64      # base
-#yum -y install perl-Array-Utils.noarch         # epel     +#yum -y install perl-Array-Utils.noarch        # epel     
-yum -y install rdesktop                       # NUX desktop repo+yum -y install rdesktop                        # NUX desktop repo
 yum -y install freerdp                         # replacement for rdesktop yum -y install freerdp                         # replacement for rdesktop
 yum -y install mariadb-server mariadb yum -y install mariadb-server mariadb
 yum -y install bind-utils yum -y install bind-utils
 +#yum -y install libpng12                       # Maybe VirtualBox EL7 
 +yum -y install qt                              # VirtualBox EL7 
 +yum -y install qt-x11                          # VirtualBox EL7 
 +yum -y install vsftpd 
 +yum -y install perl-CPAN 
 +yum -y install python-httplib2                 # 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 257: 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