全文検索:
- 50 CentOS5.7 ドライバ組み込み @01_linux:99_その他
- mp/work/new_cdrom/isolinux/ # mkdir initrd_work # cd initrd_work # gunzip -c ../initrd.img |cpio -i # ... す ===== <code console> # mkdir /tmp/work_driver # cd /tmp/work_driver # rpm2cpio ../kmod-hp-netxtreme2... = ドライバモジュールをフォルダに入れて、再度固める ===== <code console> # cd /tmp/work/new_cdrom/isolinux/initrd_work/modules # mkdir unpacked # cd unpacked # gunzip -c ../modules.cgz |cpio -id # c
- 13 CentOS6メール設定 @01_linux:03_mail
- ll epel-release </code> === ダウンロード === <code> # cd /usr/local/src # wget http://mirror.neu.edu.cn/Ce... <code> # rpm -ivh postfix-2.9.5-1.el6.src.rpm # cd ~/rpmbuild/SOURCES # cp /usr/local/src/*.patch . # cd ../SPECS/ # vi postfix.spec ------------------ (7... .sleep %patch4 -p1 -b .vda ------------------ # cd ~ # yum install rpm-build # rpmbuild -ba ~/rpmbu
- 33 OpenNebula Windows Template @01_linux:08_仮想化
- = 33 OpenNebula Windows Template ====== ===== 1. CD-ROM upload ===== <code> $ cat << __CD__ > Windows2019_STD_CD-ROM.tmpl NAME="Windows2019 STD CD-ROM" PATH="/home/SW_DVD9_Win_Server_STD_CORE_2019_1809.1_64Bit_Jap
- 03 Postfix + Postgrey @01_linux:03_mail
- m # rpm -ivh --nomd5 postgrey-1.34-1.rf.src.rpm # cd /usr/src/redhat/SOURCES/ # tar zxvf postgrey-1.34.tar.gz # cd postgrey-1.34 # wget http://k2net.hakuba.jp/pub/t... # patch -p0 < targrey-0.31-postgrey-1.34.patch # cd .. # rm -f postgrey-1.34.tar.gz && tar czvf postg... f.src.rpm # rpm -ivh postgrey-1.32-1.rf.src.rpm # cd /usr/src/redhat/SOURCES/ # tar zxvf postgrey-1.32
- 04 Postfix+MySQL+Postfix AdminでバーチャルSMTPサーバの構築 @01_linux:03_mail
- 対応する為、パッチをあて再構築</color> === インストール === <code> # cd /usr/local/src # wget http://ftp-stud.fht-esslin... ES # rpm -ivh postfix-2.3.3-2.1.el5_2.src.rpm # cd /usr/src/redhat/SOURCES # wget http://vda.source... http://k2net.hakuba.jp/pub/postfix-sleep.patch # cd /usr/src/redhat/SPECS/ # cp postfix.spec postfix... install dovecot </code> === 証明書設定 === <code> # cd /etc/pki/tls/certs/ # make mail.pem # openssl x
- 60 CentOS OpenVPN @01_linux:01_net
- 成 ===== ==== 1.CA証明書、秘密鍵作成 ==== <code console> # cd /etc/openvpn/ # cp -r /usr/share/doc/openvpn-2.2.2/easy-rsa/2.0/ easy-rsa # cd easy-rsa # vi vars export KEY_COUNTRY="JP" export... と=既に作成済のクライアント名と重複しないこと</color> <code console> # cd /etc/openvpn/easy-rsa/ # source vars </code> ===... ト証明書廃止 ==== client1のクライアント証明書廃止 <code console> # cd /etc/openvpn/easy-rsa/ # source vars # sh revoke
- 31 CentOS5 でTLS1.2 @01_linux:02_www
- -1.0.2r.tar.gz # tar zxvf openssl-1.0.2r.tar.gz # cd openssl-1.0.2r # ./config shared enable-ssl2 enab... et-1.16.1.tar.gz # tar -xzvf wget-1.16.1.tar.gz # cd wget-1.16.1 # export PKG_CONFIG_PATH=/opt/openssl... et /usr/bin/wget </code> ==== Curl ==== <code> # cd /usr/local/src # wget https://curl.haxx.se/downlo... url-7.58.0.tar.gz # tar xzvf curl-7.58.0.tar.gz # cd curl-7.58.0 # ./configure --enable-libcurl-option
- 32 CentOS5でTLS1.2 Apache PHP @01_linux:02_www
- d.conf /opt/httpd/httpd-2.2.24/conf/httpd.conf # cd /opt/httpd/httpd-2.2.24 # cp -rvf /etc/httpd/conf... //svn.php.net/repository/pecl/crack/trunk crack # cd crack # /opt/php-5.6.13/bin/phpize # ./configure ... /php5/php-5.6.40.tar.gz tar xvf php-5.6.40.tar.gz cd php-5.6.40/ext/mssql/ /opt/php-5.6.13/bin/phpize ... からダウンロード <code> # tar zxvf mysql-5.1.56.tar.gz # cd mysql-5.1.56 # ./configure --prefix=/opt/mysql-5.
- 06 WireGuard @01_linux:10_network
- 公開鍵:pubkey <code> mkdir -p ~/WireGuard/server && cd ~/WireGuard/server wg genkey > privkey cat priv... code> CL=client01 mkdir -p ~/WireGuard/${CL} && cd ~/WireGuard/${CL} wg genkey > privkey cat privk... code> CL=client02 mkdir -p ~/WireGuard/${CL} && cd ~/WireGuard/${CL} wg genkey > privkey cat privk... ===== 6.クライアント設定ファイル作成 ===== <code> CL=client01 cd ~/WireGuard/${CL} SERVER_pubkey=`cat ~/WireGuard
- 32_1 SPDK(Storage Performance Development Kit) @01_linux:01_net
- 8576 kB </code> ===== 5.SPDKのビルド ===== <code> # cd /usr/src # git clone https://github.com/spdk/spdk # cd spdk # git submodule update --init # scripts/pkgd... ====== 6.spdkのiscsi.confファイル設定 ====== <code> # cd /usr/src/spdk/app/iscsi_tgt # vi iscsi.conf [glo
- 51 Heartbeat + Pacemaker + galera(3 server) @01_linux:01_net
- 64.repo.tar.gz # yum remove cluster-glue-libs # cd pacemaker-1.0.13-2.1.el6.x86_64.repo/rpm/ # yum ... hatenablog.com/entry/2014/04/13/210821]] <code> # cd /tmp # tar zxvf pacemaker-1.0.13-2.1.el6.x86_64.repo.tar.gz # cd /tmp/pacemaker-1.0.13-2.1.el6.x86_64.repo yum -c
- VPNサーバ(PacketiX) @01_linux:01_net
- .02-7392-rtm-2011.02.28-ja-linux-x86-32bit.tar.gz cd vpnserver make cd .. mv vpnserver /usr/local cd /usr/local/vpnserver/ chmod 600 * chmod 700 vpncmd chmod 700 vpnserver
- 06 GitPrep @01_linux:12_ツール
- uthorized_key </code> ==== セットアップ ==== <code> $ cd gitprep $ bash -x setup.sh </code> ==== Mojolic... om/yuki-kimoto/gitprep.git gitprep.repo <code> $ cd gitprep.repo $ git pull </code> === 3.全て上書き === ... tprep.conf </code> === 5.setup.sh実行 === <code> $ cd gitprep/ $ bash -x setup.sh </code> === 6.mojo.s
- 28 Ceph ISCSI @01_linux:13_storage
- gwcli ===== gwcliでコマンドから設定可能 <code> # gwcli > /> cd /iscsi-target > /iscsi-target> create iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw > /iscsi-target> cd iqn.2003-01.com.redhat.iscsi-gw:iscsi-igw/gateway... 002 10.xxx.xx.xx > /iscsi-target...-igw/gateways> cd /disks > /disks> create pool=rbd image=disk_1 siz
- 05 Percona Xtrabackup @01_linux:11_データベース:01_mysql
- ra-info --no-timestamp /backup/xtrabackup/base/ # cd /backup/xtrabackup/base/ # tar zcvf /backup/xtrab... tream.gz </code> ==== リストア ==== <code console> # cd /backup/xtrabackup # s3cmd ls s3://matsui-backup ... //matsui-backup/incremental_20140124.xbstream.gz cd /backup/xtrabackup s3cmd get s3://matsui-backup/b