---------------------------------------------------------------------------
ホームディレクトリに、適宜のプログラム名で下記シェルスクリプトのプログラムを書き込む。
cd /home/miyasaka/; \
vi tensou.sh
以下をコピーし張り付ける。
---------------------------------------------------------------------------
#!/bin/sh
# 2019.09.22 変更
#---------------------------------------------------------------
#ftp
cp /home/miyasaka/x86_64-src2/ftp-0.17-67.el7.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#RPMforgeリポジトリ
cp /home/miyasaka/x86_64-src2/yum-plugin-priorities-1.1.31-50.el7.noarch.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#httpd 2019.09
cp /home/miyasaka/x86_64-src2/httpd-2.4.41.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/openssl-1.1.1d.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/nghttp2-1.39.2.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/apr-1.7.0.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/apr-util-1.6.1.tar.gz /usr/local/src/
#---------------------------------------------------------------
#fswebcam
cp /home/miyasaka/x86_64-src2/fswebcam-20100622.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/gd-progs-2.0.35-26.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/gd-devel-2.0.35-26.el7.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#sendmail
cp /home/miyasaka/x86_64-src2/hesiod-3.2.1-3.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/procmail-3.22-36.el7_4.1.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/cyrus-sasl-2.1.26-17.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/sendmail-8.14.7-5.el7.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#logwatch
cp /home/miyasaka/x86_64-src2/logwatch-7.4.0-35.20130522svn140.el7_5.noarch.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/perl-YAML-Syck-1.27-3.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/perl-Date-Manip-6.41-2.el7.noarch.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/perl-Sys-CPU-0.54-4.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/perl-Sys-MemInfo-0.91-7.el7.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#clamd 0.101.4-1 H31.09.21
cp /home/miyasaka/x86_64-src2/pcre2-10.23-2.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/clamav-0.101.4-1.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/clamav-data-0.101.4-1.el7.noarch.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/clamav-filesystem-0.101.4-1.el7.noarch.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/clamav-lib-0.101.4-1.el7.x86_64.rpm /usr/local/src/
cp /home/miyasaka/x86_64-src2/clamav-update-0.101.4-1.el7.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
#chkrootkit
cp /home/miyasaka/x86_64-src2/chkrootkit.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/glibc-static-2.17-55.el7_0.1.x86_64.rpm /usr/local/src/
#---------------------------------------------------------------
cp /home/miyasaka/x86_64-src2/webalizer-2.23-08-src.tgz /usr/local/src/
cp /home/miyasaka/x86_64-src2/diced01914.tar.gz /usr/local/src/
cp /home/miyasaka/x86_64-src2/nkf-2.1.5.tar.gz /usr/local/src/
#---------------------------------------------------------------
#sensors
cp /home/miyasaka/x86_64-src2/lm_sensors-3.4.0-8.20160601gitf9185e5.el7.x86_64.rpm /usr/local/src/
#
echo " *** 転送完了 ***"
---------------------------------------------------------------------------
属性を変更して実行します。
chmod 755 /home/miyasaka/tensou.sh; \
/home/miyasaka/tensou.sh
|