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 revision Previous revision
Next revision
Previous revision
yum_installer_bash_script_centos7 [2018/12/18 10:38]
juckins
yum_installer_bash_script_centos7 [2019/05/02 06:51] (current)
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>+<color #ed1c24>When you run the code below, ensure to redirect output ​and errors ​to a log file.</color>
  
 <​code>​ <​code>​
Line 19: Line 19:
 # #
 # TO RUN: # TO RUN:
-# ./​install-my-yum-packages.bash > /​tmp/​install-my-yum-packages.log+# ./​install-my-yum-packages.bash > /​tmp/​install-my-yum-packages.log ​2>&​1 
 +
 +# DON'T FORGET: 
 +# Google Chrome, VirtualBox
  
 echo ""​ echo ""​
Line 71: Line 74:
 echo "​*****************************************************************"​ echo "​*****************************************************************"​
 yum -y groupinstall "MATE Desktop"​ yum -y groupinstall "MATE Desktop"​
 +echo "​mate-system-monitor"​
 yum -y install mate-system-monitor yum -y install mate-system-monitor
 +echo "​mate-applets"​
 yum -y install mate-applets ​ yum -y install mate-applets ​
  
Line 133: Line 138:
 echo ""​ echo ""​
 echo "​********************* NOW INSTALLING PACKAGE ********************"​ echo "​********************* NOW INSTALLING PACKAGE ********************"​
-echo "MySQL Database client"+echo "mariadb*"
 echo "​*****************************************************************"​ echo "​*****************************************************************"​
-yum -y groupinstall "MySQL Database client"​ +yum -y install mariadb*
- +
- +
-echo ""​ +
-echo "********************* NOW INSTALLING PACKAGE ********************"​ +
-echo "MySQL Database server"​ +
-echo "​*****************************************************************"​ +
-yum -y groupinstall "MySQL Database server"​+
  
  
Line 214: Line 212:
 echo "​*****************************************************************"​ echo "​*****************************************************************"​
 yum -y groupinstall "X Window System"​ yum -y groupinstall "X Window System"​
 +
 +
 +echo ""​
 +echo "​********************* NOW INSTALLING PACKAGE ********************"​
 +echo "​libreoffice"​
 +echo "​*****************************************************************"​
 +yum -y install libreoffice
  
  
Line 219: Line 224:
 echo "​********************* NOW INSTALLING EXTRAS ​ ********************"​ echo "​********************* NOW INSTALLING EXTRAS ​ ********************"​
 echo "​*****************************************************************"​ echo "​*****************************************************************"​
 +echo "​xorg-x11-fonts*"​
 yum -y install xorg-x11-fonts* yum -y install xorg-x11-fonts*
 +
 +echo "​install net-tools"​
 yum -y install net-tools yum -y install net-tools
 +
 +echo "​cups"​
 yum -y install cups yum -y install cups
 +
 +echo "​ImageMagick*"​
 yum -y install ImageMagick* yum -y install ImageMagick*
 +
 +echo "​gedit"​
 yum -y install gedit yum -y install gedit
 +
 +#echo "​kdegraphics"​
 #yum -y install kdegraphics #yum -y install kdegraphics
 +
 +echo "​lftp"​
 yum -y install lftp* yum -y install lftp*
 +
 +#echo "​ssmtp*"​
 #yum -y install ssmtp* #yum -y install ssmtp*
 +
 +echo "​ftp"​
 yum -y install ftp yum -y install ftp
 +
 +echo "​mutt"​
 yum -y install mutt                             # mutt-1.5.21-27.el7.x86_64 does not work with cron yum -y install mutt                             # mutt-1.5.21-27.el7.x86_64 does not work with cron
 +
 +echo "​NetworkManager*"​
 yum -y install NetworkManager* yum -y install NetworkManager*
 +
 +echo "​openconnect*"​
 yum -y install openconnect* yum -y install openconnect*
 +
 +echo "​evince"​
 yum -y install evince yum -y install evince
 +
 +#echo "​gnome-packagekit-updater"​
 #yum -y install gnome-packagekit-updater ​          # for GUI icon notifying updates, not working #yum -y install gnome-packagekit-updater ​          # for GUI icon notifying updates, not working
 +
 +#echo "​gnome-packagekit-installer"​
 #yum -y install gnome-packagekit-installer ​        # for GUI icon notifying updates, not working #yum -y install gnome-packagekit-installer ​        # for GUI icon notifying updates, not working
 +
 +#echo "​gpk-update-viewer"​
 #yum -y install gpk-update-viewer #yum -y install gpk-update-viewer
 +
 +echo "​deltarpm"​
 yum -y install deltarpm yum -y install deltarpm
 +
 +#echo "​*vpn*"​
 #yum -y install *vpn*                           # may not be needed (175MB) #yum -y install *vpn*                           # may not be needed (175MB)
 +
 +echo "​ncftp"​
 yum -y install ncftp yum -y install ncftp
 +
 +echo "​dkms"​
 yum -y install dkms yum -y install dkms
-yum -y install ​vlc                             needs nux+ 
 +echo "​gstreamer gstreamer-plugins-bad-free gstreamer-plugins-base gstreamer-plugins-good gstreamer-tools"​ 
 +yum -y install ​gstreamer gstreamer-plugins-bad-free gstreamer-plugins-base gstreamer-plugins-good gstreamer-tools 
 + 
 +echo "​gstreamer1 gstreamer1-libav gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free-gtk gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly-free"​ 
 +yum -y install gstreamer1 gstreamer1-libav gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free-gtk gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly-free 
 + 
 +echo "​PackageKit-gstreamer-plugin"​ 
 +yum -y install PackageKit-gstreamer-plugin 
 + 
 +#echo "​ktorrent"​
 #yum -y install ktorrent #yum -y install ktorrent
 +
 +echo "​gimp"​
 yum -y install gimp yum -y install gimp
 +
 +echo "php php-mbstring php-mcrypt php-mysql"​
 yum -y install php php-mbstring php-mcrypt php-mysql yum -y install php php-mbstring php-mcrypt php-mysql
 +
 +echo "​fail2ban.noarch"​
 yum -y install fail2ban.noarch ​                # epel yum -y install fail2ban.noarch ​                # epel
 +
 +echo "​perl-CPAN"​
 +yum -y install perl-CPAN
 +
 +echo "​perl-File-Slurp.noarch"​
 yum -y install perl-File-Slurp.noarch ​         # base yum -y install perl-File-Slurp.noarch ​         # base
 +
 +echo "​perl-IPC-System-Simple.noarch"​
 yum -y install perl-IPC-System-Simple.noarch ​  # base yum -y install perl-IPC-System-Simple.noarch ​  # base
 +
 +echo "​perl-IO-All.noarch"​
 yum -y install perl-IO-All.noarch ​             # epel yum -y install perl-IO-All.noarch ​             # epel
 +
 +echo "​perl-HTML-TableExtract.noarch"​
 yum -y install perl-HTML-TableExtract.noarch ​  # epel yum -y install perl-HTML-TableExtract.noarch ​  # epel
 +
 +echo "​perl-List-Compare.noarch"​
 yum -y install perl-List-Compare.noarch ​       # epel yum -y install perl-List-Compare.noarch ​       # epel
 +
 +echo "​perl-List-MoreUtils.x86_64"​
 yum -y install perl-List-MoreUtils.x86_64 ​     # base yum -y install perl-List-MoreUtils.x86_64 ​     # base
 +
 +#echo "​perl-Array-Utils.noarch"​
 #yum -y install perl-Array-Utils.noarch ​       # epel    ​ #yum -y install perl-Array-Utils.noarch ​       # epel    ​
-yum -y install rdesktop ​                       # NUX desktop repo+ 
 +echo "​freerdp"​
 yum -y install freerdp ​                        # replacement for rdesktop yum -y install freerdp ​                        # replacement for rdesktop
-yum -y install mariadb-server mariadb+ 
 +echo "bind-utils"
 yum -y install bind-utils yum -y install bind-utils
 +
 +#echo "​libpng12"​
 #yum -y install libpng12 ​                      # Maybe VirtualBox EL7 #yum -y install libpng12 ​                      # Maybe VirtualBox EL7
 +
 +echo "​qt"​
 yum -y install qt                              # VirtualBox EL7 yum -y install qt                              # VirtualBox EL7
 +
 +echo "​qt-x11"​
 yum -y install qt-x11 ​                         # VirtualBox EL7 yum -y install qt-x11 ​                         # VirtualBox EL7
 +
 +echo "​vsftpd"​
 yum -y install vsftpd yum -y install vsftpd
-yum -y install perl-CPAN+ 
 +echo "​tcl"​
 yum -y install tcl yum -y install tcl
 +
 +echo "​python-httplib2"​
 yum -y install python-httplib2 ​                # TAT yum -y install python-httplib2 ​                # TAT
 +
 +echo "​MySQL-python"​
 yum -y install MySQL-python ​                   # TAT yum -y install MySQL-python ​                   # TAT
 +
 +echo "​python-requests"​
 +yum -y install python-requests ​                # TAT
 +
 +echo "​jq" ​                                     # TAT
 +yum -y install jq
 +
 +echo "​gnome-disk-utility"​
 yum -y install gnome-disk-utility ​             # for gnome-disks command yum -y install gnome-disk-utility ​             # for gnome-disks command
 +
 +echo "​mod_ssl"​
 yum -y install mod_ssl ​                        # HTTPS functionality yum -y install mod_ssl ​                        # HTTPS functionality
 +
 +echo "​chrony"​
 yum -y install chrony ​                         # NTP / clock yum -y install chrony ​                         # NTP / clock
 +
 +echo "​ntpdate"​
 yum -y install ntpdate yum -y install ntpdate
 +
 +echo "​gcc"​
 yum -y install gcc yum -y install gcc
 +
 +echo "​kernel-devel"​
 yum -y install kernel-devel yum -y install kernel-devel
 +
 +echo "​pangox-compat"​
 yum -y install pangox-compat ​                  # Cisco AnyConnect VPN client v4.x GUI yum -y install pangox-compat ​                  # Cisco AnyConnect VPN client v4.x GUI
 +
 +echo "​tidy"​
 yum -y install tidy yum -y install tidy
 +
 +echo "​mcelog"​
 yum -y install mcelog yum -y install mcelog
 +
 +echo "​pv"​
 +yum -y install pv
 +
 +#echo "​thunderbird"​
 +#yum -y install thunderbird
 +
 +echo "​dos2unix" ​                               # ASMAD
 +yum -y install dos2unix
 +
 +echo "​tree"​
 +yum -y install tree
 +
 +
 +echo ""​
 +echo "​********************* NOW INSTALLING PACKAGE ********************"​
 +echo "​samba-*"​
 +echo "​*****************************************************************"​
 +yum -y install samba-*
 +
 +
 +echo ""​
 +echo "​*********************** ENABLE NUX Desktop Repo******************"​
 +# https://​www.tecmint.com/​enable-nux-dexktop-repository-on-rhel-centos/​
 +echo "​*****************************************************************"​
 +rpm --import http://​li.nux.ro/​download/​nux/​RPM-GPG-KEY-nux.ro ​
 +rpm -Uvh http://​li.nux.ro/​download/​nux/​dextop/​el7/​x86_64/​nux-dextop-release-0-5.el7.nux.noarch.rpm
 +echo "​rdesktop"​
 +yum -y install rdesktop ​                       # NUX desktop repo
 +echo "​vlc"​
 +yum -y install vlc                             # Nux desktop repo
 +
  
 echo ""​ echo ""​
yum_installer_bash_script_centos7.1545147497.txt.gz · Last modified: 2018/12/18 10:38 by juckins