全文検索:
- 2025.03.14 Building Zed Editor on Windows @en:50_dialy:2025:03
- ll: [[https://www.rust-lang.org/tools/install]] <code> winget install Rustlang.Rustup </code> ===== 2. Install MSVC ===== MSVC (Microsoft Visual C++) Use Build Tools for Visual Studio <code> winget install Microsoft.VisualStudio.2022.BuildTools </code> ==== Add C++ Toolset ==== Add from Visual Stu
- 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
- 2025.03.02 Postfix Logging Headers to Log @en:50_dialy:2025:03
- tfix Configuration Change (Incoming Mail) ===== <code|/etc/postfix/header_checks.pcre> /^From: (.*)/ ... RN To Header: $1 /^Cc: (.*)/ WARN Cc Header: $1 </code> <code|/etc/postfix/main.cf> header_checks = pcre:/etc/postfix/header_checks.pcre </code> ===== Heading ===== Headers are logged like th
- 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
- 2025.01.17 AMD Speculative Return Stack Overflow (SRSO) @en:50_dialy:2025:01
- wing shows "Safe RET," the mitigation is active: <code> $ sudo cat /sys/devices/system/cpu/vulnerabiliti... ack_overflow Vulnerable: Safe RET, no microcode </code> ===== How to Disable ===== ==== Ubuntu ==== Add spec_rstack_overflow=off: <code|/etc/default/grub> GRUB_CMDLINE_LINUX="spec_rstack_overflow=off" </code> <code> sudo update-grub sudo reboot </code> ==
- 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
- 2025.02.08 Redirects with # @en:50_dialy:2025:02
- L like this: https://hogehoge.com/hoge2%23page1 <code> RewriteCond %{REQUEST_URI} ^/hoge/page1 RewriteRule ^ /hoge2#page1 [R=302,L] </code> ===== Solution ===== Use an intermediate HTML file and redirect via JavaScript. <code|.htaccess> RewriteCond %{REQUEST_URI} ^/hoge/page1 RewriteRule ^ /hoge2_page1.html [R=302,L] </code> <code|hoge2_page1.html> <script> window.locati
- 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}}
- 24 Bitwarden/Vaultwarden @en:06_virtualization:05_container
- tion compared to the official Bitwarden server. <code> version: '3' services: proxy: image: ngin... cme: vhost.d: html: networks: proxy-tier: </code> ===== Upgrading ===== ==== 1. Docker pull ====... :1.32.5 ==== 2. Modify docker-compose.yml ==== <code> vaultwarden: image: vaultwarden/server:1.32.5 </code> ==== 3. Apply changes ==== docker-compose up