全文検索:
- 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 事前共有キ
- 31 CentOS5 TLS1.2 @en:01_linux:02_www
- ocol version ===== OpenSSL Version Check ===== <code> # openssl version OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008 </code> ===== Solution ===== Install a newer OpenSSL <code> # yum install gcc gnutls-devel </code> ==== OpenSSL ==== <code> # wget https://www.openssl.org/source
- 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
- 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
- 2024.05.02 Amazon Linux 2023 Zabbix @50_dialy:2024:05
- を入れようとしたけど、入れる事ができなかった。。。 ===== 依存関係のエラー ===== <code> # rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rh... ded by zabbix-agent-6.0.21-release2.el9.aarch64 </code> ===== 結局ソースからインストール ===== ==== ユーザ作成 ==== <code> groupadd --system zabbix useradd --system -g zabb... in/nologin -c "Zabbix Monitoring System" zabbix </code> ==== makeに必要なパッケージインストール ==== <code> dnf insta
- 2024.05.02 Amazon Linux 2023 Zabbix @en:50_dialy:2024:05
- couldn't do it... ===== Dependency Error ===== <code> # rpm -Uvh https://repo.zabbix.com/zabbix/6.0/rh... ded by zabbix-agent-6.0.21-release2.el9.aarch64 </code> ===== Ultimately Installed from Source ===== ==== User Creation ==== <code> groupadd --system zabbix useradd --system -g zab... in/nologin -c "Zabbix Monitoring System" zabbix </code> ==== Installation of Required Packages for make
- 07 Python Selenium @15_python
- ェックをしてください。 </color> ==== selenium インストール ==== <code> pip install selenium Collecting selenium Downl... fully installed selenium-3.141.0 urllib3-1.26.3 </code> ==== Chromeインストール ==== === Centos === <code> cat << EOM > /etc/yum.repos.d/google.chrome.repo [goog... -ssl.google.com/linux/linux_signing_key.pub EOM </code> yum -y install google-chrome-stable # go
- 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
- 2024.03.13 WireGuard MTU @50_dialy:2024:05
- 実行しようとしたりすると 下記のような感じで、SSH接続したコンソールが反応しなくなった。。。 <code> root@vpnserve:~# vi </code> <code> root@vpnserve:~# top </code> ===== 原因 ===== 調べて行くと、どうもこれは**MTG** が関係しているようでした。 デフォルトだと、このようにwg0の
- 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.05.01 blocked using sbl.spamhaus.org @50_dialy:2024:05
- ed-by-Spamhaus-BL-Error-open-resolver|これが同じ現象]] <code> 554 5.7.1 Service unavailable; Client host [XXX.... .org/returnc/pub/XXXX:XXXX:XXX:XXXX::XXXX:XXXX/ </code> ===== 対応方法 ===== 原因は、spamhausがpublic DNS reso... sbl.spamhaus.orgを利用しないようにして、postfix reload で対応 <code|/etc/postfix/main.cf> smtpd_client_restrictions =... #reject_rbl_client sbl.spamhaus.org, permit </code> {{tag>日記 Mail}}
- 2024.04.12 MySQL BIT Field @en:50_dialy:2024:04
- GNED allows only positive numbers to be stored. <code> mysql> desc test; +---------+---------+------+--... ----+------+---------+ 2 rows in set (0.00 sec) </code> ===== To See the Display ===== <code> mysql> select id,name, cast(enabled as UNSIGNED) as enabled fr... 1 | | 2 | BBB | 0 | +----+------+---------+ 2 rows in set (0.01 sec) </code> {{tag>日記 mysql}}
- 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}}
- 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