全文検索:
- 38 cephadmでcephインストール後、openstackで利用 @01_linux:13_storage
- bian-octopus/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list # wget -q -O- 'https... ebian-quincy/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list # wget -q -O- 'https... = 192.168.0.101は、ストレージネットワーク <code> # mkdir -p /etc/ceph # cephadm bootstrap --mon-ip 192.168.0.101 -... phadmにホスト登録しラベル付け ==== <code> ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph01 ssh-copy-id -f -i /etc/
- 13 CentOS6メール設定 @01_linux:03_mail
- _64.rpm </code> === 自動アップデート除外 === <code> # vi /etc/yum.conf exclude=postfix* </code> === 証明書を作成しておく === <code> # cd /etc/pki/tls/certs/ # make mail.pem # openssl x509 -... ## 証明書 smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/certs/mail.pem smtpd_tls_key_file = /etc/pki/tls/certs/mail.pem smtpd_tls_session_cache_databa
- 04 Postfix+MySQL+Postfix AdminでバーチャルSMTPサーバの構築 @01_linux:03_mail
- code> === yumの設定でpostfixを除外しておく === <code> # vi /etc/yum.conf --------- 最後に追加 ------------- exclude=... fix on </code> === main.cfの作成 === <code> # vi /etc/postfix/main.cf 70 myhostname = test.flateig... 60 smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/certs/mail.pem smtpd_tls_key_file = /etc/pki/tls/certs/mail.pem smtpd_tls_session_cache_data
- tar @02_freebsd:80_unixコマンド
- |指定したディレクトリにファイルを展開する| ===== コマンド例 ===== ==== /etcディレクトリ以下のファイルをフロッピーディスク(/dev/fd0)にアーカイブする ==== <code console> # cd /etc # tar cf /dev/fd0 ./*\ </code> ==== アーカイブ内のファイル... する ==== <code console> # tar tf /dev/fd0 |head etc/X11/ etc/aliases etc/amd.map etc/antivir.conf etc/apmd.conf etc/auth.conf etc/avguard.conf etc/
- 16 unboundでキャッシュサーバ @01_linux:01_net
- -8.noarch.rpm # sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/epel.repo </code> インストール <code> # yu... == 2.設定変更 ===== ==== 設定ファイル ==== <code> cp -p /etc/unbound/unbound.conf /etc/unbound/unbound.conf.org </code> CPU:24,メモリ: 8G での設定 <code> # cat /etc/unbound/unbound.conf | sed 's/\(^\t\|^ *\)//g' |
- 16 SendMail OP25B SMTPリレー @01_linux:03_mail
- 力する必要がある。 ===== OP25B対応(全サーバリレー) ===== ==== 1./etc/mail/sendmail.mcに下記を追加 ==== dnl define(`SMART_... define(`ESMTP_MAILER_ARGS',`TCP $h 587') ==== 2./etc/mail/authinfoを用意 ==== # cat /etc/mail/authinfo AuthInfo:relay.kumolabo.com "U:root" "I:[設定したユーザ名]... N PLAIN" ==== 3.設定ファイル用意 ==== # makemap hash /etc/mail/authinfo < /etc/mail/authinfo # m4 /etc/ma
- 22 Ceph create-volume でエラー @01_linux:13_storage
- f8fd77c0700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.bootstrap-osd.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2020-09-02 18:30:09.744 7f8fd77c070
- FreeBSD - アップグレード @02_freebsd:99_その他
- ithout-gui-16.1h_2 # make install </code> ===== /etc/stable-supfileを用意 ===== <code> # cp /usr/share/examples/cvsup/stable-supfile /etc/stable-supfile # chmod 644 /etc/stable-supfile </code> ===== /etc/stable-supfileを修正 ===== <code> # vi /etc/stable-supfile --------
- 60 CentOS OpenVPN @01_linux:01_net
- re/doc/openvpn-*/sample-config-files/server.conf /etc/openvpn/ </code> ==== 3.ログローテーション設定 ==== <code console> # vi /etc/logrotate.d/openvpn /var/log/openvpn.log { mi... ifempty sharedscripts postrotate /etc/rc.d/init.d/openvpn restart 2>&1 > /dev/null || t... 設定行のコメントアウトを外してforward許可しておく <code console> # vi /etc/rc.d/init.d/openvpn echo 1 > /proc/sys/net/ipv4/
- 34 UnboundでHA構成 @06_virtualization:05_container
- sudo localectl set-locale LANG=ja_JP.UTF-8 cat /etc/systemd/timesyncd.conf systemctl status systemd-t... m profile latency-performance cat << __EOM__ >> /etc/hosts.allow sshd: 192.168.0. :allow sshd: all :de... _ sudo apt install resolvconf cat << __EOM__ >> /etc/resolvconf/resolv.conf.d/head nameserver 1.1.1.1 ... #volumes: # - './unbound:/opt/unbound/etc/unbound/' network_mode: "host" __EOM__ </co
- 15 Kubernetes Error @06_virtualization:05_container
- = 対応 ==== 下記実行 <code> mkdir -p $HOME/.kube cp -i /etc/kubernetes/admin.conf $HOME/.kube/config chown $(... /.kube/config unset KUBECONFIG export KUBECONFIG=/etc/kubernetes/admin.conf </code> {{tag>Kubernetes}} ... ith --v=5 or higher </code> ==== 対応 ==== rm /etc/containerd/config.toml systemctl restart contai... the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s [
- 32 CentOS5でTLS1.2 Apache PHP @01_linux:02_www
- ・conf用意 ==== <code> # cp build/rpm/httpd.init /etc/init.d/httpd-2.2.24 # diff build/rpm/httpd.init /etc/init.d/httpd-2.2.24 60,62c60,62 < httpd=${HTTPD-... /var/lock/subsys/httpd-2.2.24} 67c67 < CONFFILE=/etc/httpd/conf/httpd.conf --- > CONFFILE=/opt/httpd/... /opt/httpd/httpd-2.2.24/conf/httpd.conf.org # cp /etc/httpd/conf/httpd.conf /opt/httpd/httpd-2.2.24/co
- Apache バーチャルホスト一覧確認 @01_linux:02_www
- rvers: _default_:443 dns.flat8.co.jp (/etc/httpd/conf.d/ssl.conf:81) *:80 ... alHost default server mail.flat8.co.jp (/etc/httpd/conf/httpd.conf:1028) port 80 namevhost mail.flat8.co.jp (/etc/httpd/conf/httpd.conf:1028) port 80 namevhost rikoji.flateight.com (/etc/httpd/conf/httpd.conf:1037) port 80 name
- 02 Postfix + amavisd + clamav @01_linux:03_mail
- tall clamd </code> ==== 設定を修正 ==== <code> # vi /etc/clamd.conf 80 TCPSocket 3310 ↓ コメントアウト 80 #TCP... mavisd-new </code> ==== 設定を修正 ==== <code> # vi /etc/amavisd.conf 14 #@bypass_spam_checks_maps = (1... fixの設定 ===== ==== master.cf修正 ==== <code> # vi /etc/postfix/master.cf smtp-amavis unix - - n ... t=1000 </code> ==== main.cf修正 ==== <code> # vi /etc/postfix/main.cf content_filter=smtp-amavis:[127.0
- Postfix Virtual Dovecot @01_linux:03_mail
- l postfix dovecot </code> <code console> # cat /etc/postfix/main.cf queue_directory = /var/spool/pos... = 550 mynetworks = 127.0.0.0/8 alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases home_mailbox = Maildir/ smtpd_banner = $myhostname ESMTP un... t_sasl_authenticated, #check_client_access hash:/etc/postfix/pop-before-smtp, reject_unlisted_recipie