全文検索:
- 22 Ceph create-volume でエラー @01_linux:13_storage
- waldb --block.db optane/rocksdb Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-o... 3ac-dcb8-48a8-88cc-cdf96b6ecfcf Running command: /usr/bin/ceph-authtool --gen-print-key Running command: /usr/bin/mount -t tmpfs tmpfs /var/lib/ceph/osd/ceph-0
- CentOS5.2でApache2.2インストール @01_linux:02_www
- tar.gz # cd httpd-2.2.9 # ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite=shared... ode> ===== 起動スクリプト用意 ===== <code console> # cp /usr/local/src/httpd-2.2.14/build/rpm/httpd.init /etc/... sole> # vi /etc/init.d/httpd 54 #apachectl=/usr/sbin/apachectl 55 apachectl=/usr/local/apache2/bin/apachectl 56 #httpd=${HTTPD-/usr/sbin/htt
- Postfix Virtual Dovecot @01_linux:03_mail
- ectory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/libexec/postfix mail_owner = postfix myhostname = example.com mydomain = ... bug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmai
- rpm @01_linux:99_その他
- ===== <code> # rpm -ql rsync /etc/xinetd.d/rsync /usr/bin/rsync /usr/share/doc/rsync-2.5.7 /usr/share/doc/rsync-2.5.7/COPYING /usr/share/doc/rsync-2.5.7/README /usr/share/doc/rsync-2.5.7/tech_report
- 31 CentOS5 でTLS1.2 @01_linux:02_www
- 26 Feb 2019 </code> === Pathを通す === <code> # mv /usr/bin/openssl /usr/bin/openssl.bak # ln -s /opt/openssl-1.0.2r/bin/openssl /usr/bin/openssl # echo '/opt/openssl-1.0.2r/lib' > /e... /libz.so.1 (0x0000003d00400000) libidn.so.11 => /usr/lib64/libidn.so.11 (0x00000036ef000000) librt.so
- VPNサーバ(PacketiX VPN -> SoftEther VPN)移行方法 @01_linux:01_net
- ww.softether.org/]]からダウンロード <code console> # cd /usr/local/src # wget http://www.softether-download.co... ックアップ ==== 元のPacketiXフォルダを移動 <code console> # mv /usr/local/vpnserver /usr/local/vpnserver.PacketiX_bak </code> ==== ④フォルダ移動 ==== 元PacketiXフォルダがあった場所にコンパ... イルしたSoftEther VPNのフォルダを移動する。 <code console> # mv /usr/local/src/vpnserver /usr/local/vpnserver </code>
- 75 Proftpd @01_linux:01_net
- 8b.tar.gz cd proftpd-1.3.8b ./configure --prefix=/usr/local/proftpd --with-modules=mod_tls make sudo make install </code> ==== 3.設定ファイル ==== <code|/usr/local/proftpd/etc/proftpd.conf> Umask 002 User... TLSProtocol TLSv1.2 TLSRSACertificateFile /usr/local/proftpd/etc/proftpd.cert.pem TLSRSACertificateKeyFile /usr/local/proftpd/etc/proftpd.key.pem TLSCipherSu
- 03 Postfix + Postgrey @01_linux:03_mail
- rpm -ivh --nomd5 postgrey-1.34-1.rf.src.rpm # cd /usr/src/redhat/SOURCES/ # tar zxvf postgrey-1.34.tar.... 34 # rm -rf postgrey-1.34 # rpmbuild -bb --clean /usr/src/redhat/SPECS/postgrey.spec # yum -y install postgrey && rpm -e postgrey # rpm -ivh /usr/src/redhat/RPMS/noarch/postgrey-1.34-1.noarch.rpm # rm -f /usr/src/redhat/RPMS/noarch/postgrey-* # rpmbuild --rm
- 04 Postfix+MySQL+Postfix AdminでバーチャルSMTPサーバの構築 @01_linux:03_mail
- 為、パッチをあて再構築</color> === インストール === <code> # cd /usr/local/src # wget http://ftp-stud.fht-esslingen.d... RPMS/postfix-2.3.3-2.1.el5_2.src.rpm # mkdir -p /usr/src/redhat/SOURCES # rpm -ivh postfix-2.3.3-2.1.el5_2.src.rpm # cd /usr/src/redhat/SOURCES # wget http://vda.sourceforge... p://k2net.hakuba.jp/pub/postfix-sleep.patch # cd /usr/src/redhat/SPECS/ # cp postfix.spec postfix.spec
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- ata/ chmod 750 /data/ # grep Environment=PGDATA /usr/lib/systemd/system/postgresql-13.service Environm... PGSETUP_INITDB_OPTIONS="-E UTF8 --no-locale" /usr/pgsql-13/bin/postgresql-13-setup initdb ===== PA... __EOM__ | tee /var/lib/pgsql/.pgsql_profile PATH=/usr/pgsql-13/bin:$PATH export PATH __EOM__ source /v... PostgreSQL 13 database server Loaded: loaded (/usr/lib/systemd/system/postgresql-13.service; disable
- 51 Heartbeat + Pacemaker + galera(3 server) @01_linux:01_net
- 0.0 0.0 36788 2264 ? S 08:51 0:00 /usr/lib64/heartbeat/ccm 496 56092 1.3 0.0 74132 5900 ? S 08:51 0:00 /usr/lib64/heartbeat/cib root 56093 0.0 0.0 77676 2500 ? S 08:51 0:00 /usr/lib64/heartbeat/lrmd -r root 56094 0.0 0.0 69652 8288 ? SL 08:51 0:00 /usr/lib64/heartbeat/stonithd 496 56095 0.0 0.0
- 13 CentOS6メール設定 @01_linux:03_mail
- pel-release </code> === ダウンロード === <code> # cd /usr/local/src # wget http://mirror.neu.edu.cn/CentALT... 2.9.5-1.el6.src.rpm # cd ~/rpmbuild/SOURCES # cp /usr/local/src/*.patch . # cd ../SPECS/ # vi postfix.s... = hash:/etc/postfix/transport mailbox_command = /usr/bin/procmail virtual_transport = procmail ##virtu... ail unix - n n - - pipe flags=R user=mail argv=/usr/bin/procmail -t -m USER=${user} DOMAIN=${nexthop}
- 21 CentOS5でPacketix VPN Client @01_linux:01_net
- -x64.tar.gz # cd vpnclient # make # mv vpnserver /usr/local # cd /usr/local/vpnclient # chmod 600 * # chmod 700 vpnclient vpncmd </code> ==== エラーが出る場合(/usr/bin/ld: cannot find ....) ==== <code console> # ... H=eth0 VPN=vpn_nic01 VPN_GW=192.168.30.1 DAEMON=/usr/local/vpnclient/vpnclient LOCK=/var/lock/subsys/v
- 15 CentOS6 suPHP7.2 @01_linux:02_www
- oreconf --force --install ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --with-apr=/usr/bin/apr-1-config \ --with-apxs=/usr/sbin/apxs \ --with-apache-user=apache \ --with-setid-mode=owner \ ... false ;PATH environment variable env_path="/bin:/usr/bin" ;Umask to set, specify in octal notation um
- AdaptecRaid監視 @01_linux:04_監視
- ails|check-aacraid.py]] <code console> # ls -al /usr/local/bin/check-aacraid.py </code> ==== visudoを設... ンドを実行できるよう設定しておく。 nagios ALL=(root) NOPASSWD: /usr/StorMan/arcconf GETCONFIG 1 * あと、これをコメントアウトしとくの... orange round left| 下記を追加> command[check_aacraid]=/usr/local/bin/check-aacraid.py </box> <box orange ro... - 対処 <code console> 60 for line in os.popen4("/usr/bin/sudo /usr/StorMan/arcconf GETCONFIG 1 AD")[1]