FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
os:linux:pkg:scripts:rpm.sh.html [2017/12/31 23:42] kurihara |
os:linux:pkg:scripts:rpm.sh.html [2018/05/08 02:01] (current) kurihara |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | [[os: | + | [[os:linux: |
====== rpm.sh ====== | ====== rpm.sh ====== | ||
- | $FHHOME/ | + | $FHHOME/target/ |
Line 14: | Line 14: | ||
# | # | ||
# | # | ||
- | # | ||
if [ -z $1 ]; then | if [ -z $1 ]; then | ||
Line 40: | 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 | rpm -q nmap-ncat | ||
+ | rpm -q ccze > /dev/null 2>&1 || yum -y install ccze | ||
} | } | ||
Line 48: | Line 48: | ||
;; | ;; | ||
centos6) centos6 | centos6) centos6 | ||
- | ;; | ||
- | nginx) nginx | ||
;; | ;; | ||
*) echo "$1 option is valid" | *) echo "$1 option is valid" | ||
Line 58: | Line 56: | ||
\\ | \\ | ||
<WRAP box 90%> | <WRAP box 90%> | ||
- | [[os: | + | [[os:linux: |
<catlist ..:..: -noAddPageButton -noHead> | <catlist ..:..: -noAddPageButton -noHead> | ||
</ | </ |
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.