全文検索:
- MySQLコマンド @02_freebsd:04_database:01_mysql
- ンド ====== ===== ①ユーザ関係 ===== ==== ユーザの確認 ==== <code console> mysql> select host,user,password,Grant_p... -------+------------+ 12 rows in set (0.00 sec) </code> ==== 権限の確認 ==== <code console> mysql> SHOW GRANTS FOR testdb_user@localhost; +---------------------... ----------------------------------------------+ </code> === 権限の追加 === <code> グローバルレベル GRANT ALL ON *.*
- 2024.02.21 WireguardクライアントをGatewayにする @50_dialy:2024:02
- で、192.168.0.0/24は、local Wireguardから出ていくことになります。 <code> [Interface] Address = 10.10.10.1/24 ListenPort =... BBBB= AllowedIPs = 10.10.10.3/32,192.168.0.0/24 </code> ===== HomeのWireGuard02の設定 ===== <code> [Interface] # client01 PrivateKey = EEEEEEEEEEEEEEEEEEEEEEEEE... ーのグローバルIPアドレス:ポート番号を指定 PersistentKeepAlive = 30 </code> ==== Nat設定ufw ==== [[https://dokuwiki.fl8.jp/0
- 2024.03.13 WireGuard MTU @50_dialy:2024:05
- 実行しようとしたりすると 下記のような感じで、SSH接続したコンソールが反応しなくなった。。。 <code> root@vpnserve:~# vi </code> <code> root@vpnserve:~# top </code> ===== 原因 ===== 調べて行くと、どうもこれは**MTG** が関係しているようでした。 デフォルトだと、このようにwg0の
- 06 WireGuard @01_linux:10_network
- === 環境 === Ubuntu 22.04 ===== 1.インストール ===== <code> # apt install wireguard </code> ===== 2.鍵作成 ===== ==== サーバ用 ==== 秘密鍵:privkey 公開鍵:pubkey <code> # mkdir -p ~/server && cd ~/server # wg genkey >... YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYSUQ= </code> ==== クライアント用 ==== 秘密鍵:privkey 公開鍵:pubkey 事前共有キ
- 2024.01.18 SSL Error in Rails @en:50_dialy:2024:01
- 18 SSL Error in Rails ====== ===== Error ===== <code> OpenSSL::SSL::SSLError in RecruitsController#upd... failed (unable to get local issuer certificate) </code> This also results in "unable to get local issuer certificate". <code> openssl s_client -showcerts -host valid-isrgroo... n error: unable to get local issuer certificate </code> ==== Solution ==== === Path of root certificat
- 2022.01.24 About SSHD MaxStartups @en:50_dialy:2022:01
- e following error was output to /var/log/secure: <code> Received disconnect from 192.168.XX.XX: 11: pam_... nix(sshd:session): session closed for user root </code> ===== Response ===== Increasing MaxStartups in
- 08 Ubuntu Nat iptables直 @01_linux:30_ubuntu
- .ipv4.ip_forward設定までは同じ ===== ufw enable ===== <code> # ufw enable Command may disrupt existing ssh co... irewall is active and enabled on system startup </code> ===== allow ssh ===== 現状の接続が切れるとSSHできなくなるので、すぐにSSHをEnableへ <code> # ufw allow ssh Rule added Rule added (v6) </code> ===== Nat設定 ===== <code> # vi /etc/ufw/before.rul
- 23 Apache vhost一覧 @01_linux:02_www
- ====== 23 Apache vhost一覧 ====== <code> # apachectl -S VirtualHost configuration: 127.0.0.1:8443 ... S Define: DUMP_RUN_CFG User: name="daemon" id=1 Group: name="daemon" id=1 </code> {{tag>Apache vhost}}
- 2024.01.18 RailsでSSLエラー @50_dialy:2024:01
- 24.01.18 RailsでSSLエラー ====== ===== エラー ===== <code> OpenSSL::SSL::SSLError in RecruitsController#upd... failed (unable to get local issuer certificate) </code> こちらも「unable to get local issuer certifi」になってしまう。 <code> # openssl s_client -showcerts -host valid-isrgro... n error: unable to get local issuer certificate </code> ==== 対応 ==== === rubyが利用しているルート証明書のパス === ru