全文検索:
- 2024.01.18 RailsでSSLエラー @50_dialy:2024:01
- e=error: certificate verify failed (unable to get local issuer certificate) </code> こちらも「unable to get local issuer certifi」になってしまう。 <code> # openssl s_client ... t.org -port 443 Verification error: unable to get local issuer certificate </code> ==== 対応 ==== === rubyが利用しているルート証明書のパス === ruby は、/usr/local/ssl/cert.pem を利用していました。 <code|ssl_path.rb> requir
- 2024.01.18 SSL Error in Rails @en:50_dialy:2024:01
- e=error: certificate verify failed (unable to get local issuer certificate) </code> This also results in "unable to get local issuer certificate". <code> openssl s_client -sh... t.org -port 443 Verification error: unable to get local issuer certificate </code> ==== Solution ==== =... certificate used by ruby === Ruby was using /usr/local/ssl/cert.pem. <code|ssl_path.rb> require 'openssl
- 2024.01.16 openssl.soのLoadError @50_dialy:2024:01
- 1w # ./Configure # make # make install # ll /usr/local/lib64/libssl.so.1.1 -rwxr-xr-x. 1 root root 689456 Jan 15 22:27 /usr/local/lib64/libssl.so.1.1 </code> ld.so.confに読み込むディレクトリを設定 <code> # cat /etc/ld.so.conf.d/local.conf /usr/local/lib64 </code> 即読み込み <code> # ldconfig </code> === Error === <code> # ./Configure C
- 04 Docker MailServer @06_virtualization:05_container
- /dms/config/:/tmp/docker-mailserver/ - /etc/localtime:/etc/localtime:ro - /var/lib/docker/volumes/app_certs/_data:/etc/letsencrypt/live restart:... olor #ed1c24>※Timezone設定は下記で行っている。</color> /etc/localtime:/etc/localtime:ro <code> # diff mailserver.env mailserver.env.org 45c45 < POSTMASTER_ADDRESS=hoge@
- 2021.12.30 Docker Dokuwiki bitnami @50_dialy:2021:12
- NUMBER=8443 volumes: dokuwiki_data: driver: local </code> <code|timezone.ini> [Date] date.timezone... gehoge.com -> http://dokuwiki:8080' STAGE: 'local' #STAGE: 'production' #FORCE_RENEW: '... ogepassword volumes: dokuwiki_data: driver: local </code> ===== Apache実行ユーザはdaemon ===== default... are known race conditions that\n\twill allow any local user to read any file on the system.\n\tIf you st
- 2024.02.21 WireguardクライアントをGatewayにする @50_dialy:2024:02
- k| X.X.X.X| | Wireguard network| 10.10.10.0/24| | local networdk|192.168.0.0/24| この環境で、MobileのWireguardから、local WireguardをGatewayとして、local network(192.168.0.0/24)に接続したい場合 ===== Cloud上のWireGuard01の設定 ===== こうする事で、192.168.0.0/24は、local Wireguardから出ていくことになります。 <code> [Interface] Addre
- 21 Set up Wireguard client as Gateway @en:50_dialy:2024:02
- k| X.X.X.X| | Wireguard network| 10.10.10.0/24| | local networdk|192.168.0.0/24| In this scenario, if you want to connect the local network (192.168.0.0/24) through a local Wireguard as the gateway from a Mobile Wireguard. ===== Config... destined for 192.168.0.0/24 will exit through the local Wireguard. <code> [Interface] Address = 10.10.10
- 25 Let's Encrypt リバースプロキシ @06_virtualization:05_container
- SCOPE da005313961c app_proxy-tier bridge local ab784e6540fd bridge bridge local 4fbd17879a28 host host local 4045783681f8 none null local </code> <code> --- version: '3' services: nginx:
- 07 Python Selenium @15_python
- zip chromedriver_linux64.zip mv chromedriver /usr/local/bin/chromedriver # /usr/local/bin/chromedriver --version ChromeDriver 92.0.4515.107 (87a818b10553a07434... t('--no-sandbox') driver = webdriver.Chrome('/usr/local/bin/chromedriver', options=chrome_options) # 操作
- 2022.10.01 Nextcloud @50_dialy:2022:10
- @gmogshd.com # - SSL_KEY=/certs/servhostname.local.key # - SSL_CSR=/certs/servhostname.local.csr # - SSL_CERT=/certs/servhostname.local.crt # networks: # - proxy-tier volumes: db:
- 2024.02.16 Docker Alpine Timezone @50_dialy:2024:02
- d tzdata $ cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime </code> <code> # date Fri Feb 16 15:16:38 J... 感じ docker-compose.ymlで下記のを記述 volumes: - /etc/localtime:/etc/localtime:ro {{tag>日記 Docker Alpine}}
- 16 共用サーバで、pythonインストール @15_python
- ール ===== 今回は3.3.4をインストール <code> CPPFLAGS="-I/usr/local/ssl/include" LDFLAGS="-L/usr/local/ssl/lib" pyenv install 3.3.4 pyenv virtualenv 3.3.4 flask_3.3.4 pyenv
- 23 Apache vhost一覧 @01_linux:02_www
- a NameVirtualHost default server status.localhost (/opt/bitnami/apache/conf/vhosts/00_status-vhost.conf:1) port 80 namevhost status.localhost (/opt/bitnami/apache/conf/vhosts/00_status-vh
- 27 Docker Djnago @06_virtualization:05_container
- 42.png}} ===== 6 自動起動 ===== 再起動後の自動起動は、/etc/rc.localを使うのが良いかも [[06_virtualization:05_container:26_docker_iptables|Docker iptablesの話]] <code|/etc/rc.local> #!/bin/sh sleep 5 iptables -I DOCKER-USER -p tc
- 30 React-admin @06_virtualization:05_container
- ant to use, and validate with Enter: ❯ Hard coded local username/password Hard coded local username/password None No authProvider ↓ How do you want to