全文検索:
- 06 WireGuard @01_linux:10_network
- Ps は、32bitで記述</color> <code> # cat << __EOM__ > /etc/wireguard/wg0.conf [Interface] Address = 10.0.1.1... 4.起動 ===== これでwg0が作成されます。 <code> # wg-quick up /etc/wireguard/wg0.conf # ip -4 a 3: wg0: <POINTOPOIN... </code> ==== 停止の場合 ==== <code> # wg-quick down /etc/wireguard/wg0.conf </code> ===== 5.自動起動の設定 =====... }} ===== 8.Linuxクライアントからの接続 ===== クライアント設定ファイルを/etc/wireguard/wg0.confに記述して、起動でOK <code> atp install
- 2024.01.18 SSL Error in Rails @en:50_dialy:2024:01
- So, we need to create a symlink: <code> # ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /usr... root 49 Jan 18 15:13 /usr/local/ssl/cert.pem -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem </co... orlist/9/baseos [error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt] </code> This can be
- 08 Ubuntu Nat iptables直 @01_linux:30_ubuntu
- ==== 再起動しても反映 ==== # grep net.ipv4.ip_forward /etc/sysctl.conf net.ipv4.ip_forward=1 ===== SNAT =... ded (v6) </code> ===== Nat設定 ===== <code> # vi /etc/ufw/before.rules # FORWARD *filter -A FORWARD -m
- 2024.01.18 RailsでSSLエラー @50_dialy:2024:01
- irectory </code> これはリンクを張ってあげる <code> # ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /us... root 49 Jan 18 15:13 /usr/local/ssl/cert.pem -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem </co... orlist/9/baseos [error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt] </code> これは下記で実行すると
- 31 CentOS5 TLS1.2 @en:01_linux:02_www
- usr/bin/openssl echo '/opt/openssl-1.0.2r/lib' > /etc/ld.so.conf.d/openssl.conf </code> === Load Librar... tificate http://curl.haxx.se/ca/cacert.pem # mv /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt.org # mv cacert.pem /etc/pki/tls/certs/ca-bundle.crt echo 'ca-certificate
- 2024.05.02 Amazon Linux 2023 Zabbix @en:50_dialy:2024:05
- tion of Configuration ==== <code> cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=... <code> cp misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/ chkconfig --add zabbix_agentd chkconfig z... :on 5:on 6:off </code> ==== Startup ==== <code> /etc/init.d/zabbix_agentd start /etc/init.d/zabbix_agentd status </code> {{tag>日記 Zabbix}}
- 2024.05.02 Amazon Linux 2023 Zabbix @50_dialy:2024:05
- </code> ==== conf修正 ==== <code> # cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=... code> cp misc/init.d/fedora/core5/zabbix_agentd /etc/init.d/ chkconfig --add zabbix_agentd chkconfig z... on 4:on 5:on 6:off </code> ==== 起動 ==== <code> /etc/init.d/zabbix_agentd start /etc/init.d/zabbix_agentd status </code> {{tag>日記 Zabbix}}
- 2024.05.01 blocked using sbl.spamhaus.org @50_dialy:2024:05
- pamhaus.orgを利用しないようにして、postfix reload で対応 <code|/etc/postfix/main.cf> smtpd_client_restrictions = perm