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

Next revision
Previous revision
Next revisionBoth sides next revision
yum_installer_bash_script_centos7 [2015/11/07 17:19] – created juckinsyum_installer_bash_script_centos7 [2016/01/10 08:58] juckins
Line 1: Line 1:
 +==== Yum installer bash script (CentOS7) ==
 +
 <code> <code>
 #!/bin/bash #!/bin/bash
Line 10: Line 12:
 echo "                    CentOS 7 Updates                          *" echo "                    CentOS 7 Updates                          *"
 echo "*****************************************************************" echo "*****************************************************************"
 +
 +
 +echo "********************* NOW INSTALLING PACKAGE ********************"
 +echo "EPEL Repo"
 +echo "*****************************************************************"
 +yum -y install wget
 +mkdir /root/downloads
 +cd /root/downloads
 +wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
 +rpm -ivh epel-release-7-0.2.noarch.rpm
  
  
Line 69: Line 81:
 echo "*****************************************************************" echo "*****************************************************************"
 yum -y groupinstall "Electronic Lab" yum -y groupinstall "Electronic Lab"
- 
- 
-echo "********************* NOW INSTALLING PACKAGE ********************" 
-echo "File and Print Server" 
-echo "*****************************************************************" 
-yum -y groupinstall "File and Print Server" 
  
  
Line 123: Line 129:
 echo "*****************************************************************" echo "*****************************************************************"
 yum -y groupinstall "Scientific Support" yum -y groupinstall "Scientific Support"
- 
- 
-echo "********************* NOW INSTALLING PACKAGE ********************" 
-echo "Security Tools" 
-echo "*****************************************************************" 
-yum -y groupinstall "Security Tools" 
  
  
Line 171: Line 171:
 echo "*****************************************************************" echo "*****************************************************************"
 yum -y groupinstall "Xfce" yum -y groupinstall "Xfce"
 +
 +
 +echo "********************* NOW INSTALLING PACKAGE ********************"
 +echo "X Window System"
 +echo "*****************************************************************"
 +yum -y groupinstall "X Window System"
  
  
 echo "********************* NOW INSTALLING EXTRAS  ********************" echo "********************* NOW INSTALLING EXTRAS  ********************"
 echo "*****************************************************************" echo "*****************************************************************"
-yum -y install rdesktop 
 yum -y install xorg-x11-fonts* yum -y install xorg-x11-fonts*
 yum -y install ImageMagick* yum -y install ImageMagick*
Line 190: Line 195:
 yum -y install totem yum -y install totem
 yum -y install ktorrent yum -y install ktorrent
 +yum -y install gimp
 +yum -y install 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 197: Line 204:
 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 rdesktop                       # NUX desktop repo
 +yum -y install freerdp                         # replacement for rdesktop
 +yum install mariadb-server mariadb
 +
 +
 +echo "*********************** ENABLE SERVICES  ************************"
 +echo "*****************************************************************"
 +systemctl start httpd.service
 +systemctl enable httpd.service
 +
 +echo "*****************************************************************"
 +echo "                           DONE                               *"
 +echo "*****************************************************************"
 </code> </code>
yum_installer_bash_script_centos7.txt · Last modified: 2022/12/07 13:24 by juckins