全文検索:
- 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
- 71 vsftpd @en:01_linux:01_net
- A simple FTP Server ===== Installation ===== <code> # yum install vsftpd </code> ===== Modifying the Configuration File ===== <code console> # vi /etc/vsftpd/vsftpd.conf anonymous_en... if non-encrypted connections are also allowed) </code> ===== Creating a Server Certificate ===== <cod
- Mar 8 2023 SSH Error no hostkey alg @en:50_dialy:2022:03
- ]] is the simplest solution. ===== Error ===== <code> $ ssh 10.10.0.25 no hostkey alg </code> ===== Solution ===== ==== 1. How to create ECDSA keys ==== <code> ssh-keygen -t ecdsa -b 256 </code> The private key and public key are these: <code> $ ls .ssh/id_ec
- 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 @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
- Operation not permitted Cannot delete file @en:01_linux:99_その他
- stems. ===== Cannot be deleted normally ===== <code console> # rm -rf ttyload rm: cannot remove `ttyload': Operation not permitted </code> ===== confirm lsattr ===== <code console> # lsattr ttyload s---ia------- ttyload </code> ===== The file can be deleted if its attributes
- Rebuilding the FreeBSD Kernel @en:02_freebsd:99_その他
- ample, we'll be using MYKERNEL as our example. <code> # cd /usr/src/sys/i386/conf/ # cp GENERIC MYKERNEL </code> ====== Modify MYKERNEL ====== <code> # # GENERIC -- Generic kernel configuration file for FreeBSD/i... ernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' lin
- May 30 2023 chatgpt-clone @en:50_dialy:2023:05
- ne]] ===== setting ===== Modify the following <code|api/.env> HOST=localhost OPENAI_KEY </code> ===== ERROR ===== Older servers don't support AVX and MongoDB doesn't start <code> | WARNING: MongoDB 5.0+ requires a CPU wit... library/mongo/issues/485#issuecomment-891991814 </code> ==== AVX compatibility check ==== <code> # ls
- Dokuwiki.fl8.jp
- mand like this ===== <box 60% left round orange> <code console> # ipcalc -nbm 192.168.65.101/21 NETMAS... BROADCAST=192.168.71.255 NETWORK=192.168.64.0 </code> <code console> # ipcalc -p 192.168.64.1 255.255.248.0 PREFIX=21 </code> </box> ====== PST/PDT/JST ====== PST(UTC-8) P
- 09 SSH in While @en:bash
- While ====== This will display only one line. <code> while read NAME HOST CMD do ssh $NAME@$HOST "$CMD" done </code> When you run SSH, stdin is directed at it, so t... l and not redirect stdin. ===== OK here ===== <code> while read NAME HOST CMD do ssh -n $NAME@$HOST "$CMD" done </code> {{tag>bash ssh while}}
- translation @en:dokuwiki:plugin
- en creating a multilingual page, add the language code at the beginning as follows: Here we create an En... case, I added one line break. Add the following code to sidebarheader.html, and the translation menu will be displayed like the main page: <code|lib/tpl/dokuwiki/sidebarheader.html> <?php $trans... echo $translation->showTranslations(); ?> <br> </code> It will look like this: {{:dokuwiki:plugin:past
- 21 Set up Wireguard client as Gateway @en:50_dialy:2024:02
- 8.0.0/24 will exit through the local Wireguard. <code> [Interface] Address = 10.10.10.1/24 ListenPort =... BBBB= AllowedIPs = 10.10.10.3/32,192.168.0.0/24 </code> ===== Configuration on the Mobile Wireguard ===... ined for 192.168.0.0/24 goes through Wireguard. <code> [Interface] PrivateKey = CCCCCCCCCCCCCCCCCCCCCCC... owedIPs = 10.0.1.0/24, 192.168.0.0/24 Endpoint = X.X.X.X:51820 </code> {{tag>日記 Wireguard network VPN}}
- 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}}
- 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
- Jun 21 2023 Windows2008 Update Failed with Error 800B01009 @en:50_dialy:2023:06
- update was attempted, it kept failing with error code: 800B0109. Upon checking the update history, it