FastHandle - IT Operations Examples

FastHandle is fast operation tools for infrastructure configurations and tests.

User Tools

Site Tools


os:linux:pkg:scripts:rpm.sh.html



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
os:linux:pkg:scripts:rpm.sh.html [2017/12/21 01:31]
kurihara ↷ Page moved from os:package:scripts:rpm.sh.html to os:pkg:scripts:rpm.sh.html
os:linux:pkg:scripts:rpm.sh.html [2018/05/08 02:01]
kurihara
Line 1: Line 1:
-[[os:package:index.html|]]+[[os:linux:pkg:index.html]]
 ====== rpm.sh ====== ====== rpm.sh ======
 +
 +$FHHOME/target/scripts/rpm.sh
  
  
Line 12: Line 14:
 #     rpm.sh centos7 #     rpm.sh centos7
 #     rpm.sh centos6 #     rpm.sh centos6
-#     rpm.sh nginx 
  
 if [ -z $1 ]; then if [ -z $1 ]; then
Line 38: Line 39:
     rpm -q mailx             > /dev/null 2>&1 || yum -y install mailx     rpm -q mailx             > /dev/null 2>&1 || yum -y install mailx
     rpm -q nmap-ncat         > /dev/null 2>&1 || yum -y install nmap-ncat     rpm -q nmap-ncat         > /dev/null 2>&1 || yum -y install nmap-ncat
 +    rpm -q ccze              > /dev/null 2>&1 || yum -y install ccze
 } }
  
Line 46: Line 48:
         ;;         ;;
     centos6) centos6     centos6) centos6
-        ;; 
-    nginx) nginx 
         ;;         ;;
     *) echo "$1 option is valid"     *) echo "$1 option is valid"
Line 56: Line 56:
 \\ \\
 <WRAP box 90%> <WRAP box 90%>
-[[os:package:index.html]]+[[os:linux:pkg:index.html]]
 <catlist ..:..: -noAddPageButton -noHead> <catlist ..:..: -noAddPageButton -noHead>
 </WRAP> </WRAP>


os/linux/pkg/scripts/rpm.sh.html.txt · Last modified: 2018/05/08 02:01 by kurihara