全文検索:
- 04 Docker MailServer @06_virtualization:05_container
- ります。 /var/lib/docker/volumes/app_certs/_data:/etc/letsencrypt/live <code|compose.yml> services: ... data/dms/config/:/tmp/docker-mailserver/ - /etc/localtime:/etc/localtime:ro - /var/lib/docker/volumes/app_certs/_data:/etc/letsencrypt/live restart: always stop_gra
- 10 Docker Let's Encrypt @06_virtualization:05_container
- : nginx restart: always volumes: - /etc/nginx/conf.d:/etc/nginx/conf.d - /etc/letsencrypt:/etc/letsencrypt - /var/www/html:/var/www/html ports: - 80:80 #network
- 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
- 09 Dockerリバースプロキシ(HTTPS) @06_virtualization:05_container
- 80:80 - 443:443 volumes: - vhost:/etc/nginx/vhost.d - html:/usr/share/nginx/html ... /docker.sock:/tmp/docker.sock:ro - ./certs:/etc/nginx/certs:ro - ./nginx-proxy/custom.conf:/etc/nginx/conf.d/custom.conf:ro restart: always ... nginx-proxy-companion volumes: - vhost:/etc/nginx/vhost.d - html:/usr/share/nginx/html
- 25 Let's Encrypt リバースプロキシ @06_virtualization:05_container
- n.nginx_proxy: "true" volumes: - certs:/etc/nginx/certs:ro - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/... r.sock:/tmp/docker.sock:ro - ./server.conf:/etc/nginx/conf.d/server.conf networks: - pr... t restart: always volumes: - certs:/etc/nginx/certs - acme:/etc/acme.sh - vho
- 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
- 24 bitwarden @06_virtualization:05_container
- n.nginx_proxy: "true" volumes: - certs:/etc/nginx/certs:ro - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/... n restart: always volumes: - certs:/etc/nginx/certs - acme:/etc/acme.sh - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx
- 2022.10.01 Nextcloud @50_dialy:2022:10
- n.nginx_proxy: "true" volumes: - certs:/etc/nginx/certs:ro - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx/html - /var/run/... n restart: always volumes: - certs:/etc/nginx/certs - acme:/etc/acme.sh - vhost.d:/etc/nginx/vhost.d - html:/usr/share/nginx
- 06 Ubuntu Network設定 @01_linux:30_ubuntu
- bond + bridge ===== <code> root@dadmhv03:~# cat /etc/netplan/00-installer-config.yaml network: ethe... 2 </code> ===== ethernetsのみ ===== <code> # cat /etc/netplan/00-installer-config.yaml network: ether... on: 2 </code> ===== bridgeのみ ===== <code> # cat /etc/netplan/00-installer-config.yaml network: ether... </code> ===== ルーティングを書く場合 ===== <code> # cat /etc/netplan/00-installer-config.yaml network: ether
- 2023.12.26 PasswordAuthenticationが効かない。。。 @50_dialy:2023:12
- これで、sshdをリスタートしたが、何故かパスワードログインできてしまう。。。 <code|/etc/ssh/sshd_config> #PasswordAuthentication yes ↓ Pa... いるからでした。 正しいファイルを修正してから、sshdリスタートで解決しました。 <code|/etc/ssh/sshd_config> Include /etc/ssh/sshd_config.d/*.conf </code> <color #ed1c24>このファイルが存在していて、PasswordAuthentication が yes になってるた。</color> <code|/etc/ssh/sshd_config.d/50-cloud-init.conf > PasswordAu
- 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.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}}
- 2023.05.15 Let's Encrypt 証明書削除 @50_dialy:2023:05
- </code> ===== 手動で削除 ===== 手動の場合は下記を削除 <code> /etc/letsencrypt/archive/{ドメイン名} /etc/letsencrypt/renewal/{ドメイン名}.conf /etc/letsencrypt/live/{ドメイン名} </code> {{tag>SSL}}
- 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> これは下記で実行すると
- 2024.02.16 Docker Alpine Timezone @50_dialy:2024:02
- e add tzdata $ cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime </code> <code> # date Fri Feb 16 15:1... の感じ docker-compose.ymlで下記のを記述 volumes: - /etc/localtime:/etc/localtime:ro {{tag>日記 Docker Alpine}}