全文検索:
- 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
- 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... pec_rstack_overflow Vulnerable: Safe RET, no microcode </code> ===== How to Disable ===== ==== Ubuntu ==== Add spec_rstack_overflow=off: <code|/etc/default/grub> GRUB_CMDLINE_LINUX="spec_rstac
- 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
- 2025.02.08 Redirects with # @en:50_dialy:2025:02
- a # (hash) in the URL. However, the # gets URL-encoded, preventing the redirect from working correctly.... 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/page
- 2025.05.23 Synchronizing with WinSCP @en:50_dialy:2025:05
- everything stored in the `Desktop\Sync` folder. <code> Desktop\Sync sync.bat upload.txt key.ppk </code> ===== 1. Create an SFTP session in WinSCP =====... bat` must be Shift-JIS to avoid errors.</color> <code|upload.bat> @rem sync set LOCAL="C:\Users\hogehog... E% /console /log=upload.log /privatekey=key.ppk </code> ===== 3. WinSCP Script ===== <color #ed1c24>※
- translation @en:dokuwiki:plugin
- ===== Creating multilingual pages using language codes For example, when 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
- 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