2023-12-01から1ヶ月間の記事一覧

FreeBSD 12.4 bash /etc/profile の問題

bash は /usr/local/etc/profile のみ読む ( /etc/profile は読まない ) Hmm. Something I overlooked with regards to bash (I don't use it): Code: 20200716: AFFECTS: users of shells/bash, shells/bash-static AUTHOR: ehaupt@FreeBSD.org In order to…

ネットワークペイロード 転送量

HTTP Archiveが分析したURLは、デスクトップ向けが730万3959件、モバイル向けが1032万8202件です。転送量からみる各サイトのファイルサイズの中央値は、2022年7月時点でデスクトップ向けが2314.4KB(約2.26MB)、モバイル向けが2040.4KB(約1.99MB)となっていま…

CVE-2023-48795 terrapin

https://twitter.com/satorukanno/status/1737311133885935655https://github.com/RUB-NDS/Terrapin-ScannerFreeBSD 12.4 はまだ Note: While this issue does affect 12.4-STABLE and 12.4-RELEASE, the version of OpenSSH in 12.4 is old enough the vend…

Ubuntu 22.04 PHP5.6

php5.6 インストール sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php sudo apt update sudo apt-get install php5.6 php5.6-fpm Ubuntu 22.04 に複数の PHP バージョンをインストールする 2023 mysql-server-8.0 に p…

openssh バージョン

頑張って翻訳すると、「バージョン情報は、接続先SSHサーバとのプロトコルの互換性を有効にする調整のために、サーバとクライアントによって使用される。非互換のバージョンはまだ広く使われているので、このプロトコル機能のチェックは現在もまだ必要とされ…

FreeBSD openssh-portable

https://www.cyberciti.biz/faq/how-to-install-and-upgrade-openssh-server-on-freebsd/FreeBSD 12.4-RELEASE-p9 openssh-portable-9.3.p2_1,1blacklistdを使用する場合はportsでインストールする [ ] BLACKLISTD FreeBSD blacklistd(8) support インストー…

PRIMERGY TX1320 M5 CSM

M5世代はCSM(Compatibility Supported Module)がないUEFI オンリー 2020年11月以降に発表した製品は、「BIOSモード」は非サポートとなり、「UEFIモード」のみご使用になれます。 https://jp.fujitsu.com/platform/server/primergy/pdf/note/uefi.pdf…

USBのGrub2からSATAのHDDのUbuntuを起動 lvm

内臓HDDのUbuntuをUSBメモリのGrub2から叩く。 - 手続き型音楽の日常 2017 grub> set root=(hd0,gpt2) grub> linuxefi /vmlinuz-3.10.0-514.16.1.el7.x86_64 root=/dev/mapper/cl-root grub> initrdefi /initramfs-3.10.0-514.16.1.el7.x86_64.img grub> gru…

apache 2.4 IP制限

Require ip <Directory /var/www/secret> Require ip 192.168.1.1 Require ip 192.168.1.2 Require ip 192.168.1.3 </Directory>SetEnvIf Remote_Addr SetEnvIf Remote_Addr "^192\.168\.1\.[1-3]$" let_me_in <Directory /var/www/secret> Require env let_me_in </Directory>Apache の SetEnvIf で プライベートIPアドレス帯域を指定する方…

Ubuntu 22.04 MySQL8.0

mysql_secure_installation パスワード 久しぶりにMySQLをAzure VMのUbuntu20.04にインストールする機会がありました。 そこで、気になったことがありました。 インストール後にmysql_secure_installation を行うのですがrootパスワードが設定されない。Ubun…

QNAP .streams フォルダ

The “.streams” folder is used by the SAMBA service to store metadata created by an NTFS file system feature called NTFS Alternate Data Streams (ADS). When a file that includes ADS metadata is transferred to a NAS shared folder using the pr…

FreeBSD apache 2.4 env

test.cgi #!/usr/bin/env perl print "Content-type: text/plain\n\n"; print "test!!\n";End of script output before headers: test.cgienv: perl: No such file or directory自動起動した場合 /usr/local/bin にPATHが通らないRails Apache Passenger で …

Gmail 送信ガイドライン 2024年2月

https://support.google.com/mail/answer/81126?hl=enGoogle, Yahoo の Sender Guidelines について | IIJ Engineers Blog 2023新潮流になるか?GoogleとYahooが発表した「今後は受信しないメール」の条件 – エンタープライズIT [COLUMNS] 2023Gmailが2024年…

vm-bhyve vm list 簡易集計

簡易集計 vm list | tee >(awk 'NR>1 {vm+=1;cpu+=$4;mem+=substr($5,1,length($5)-1);} END {print "VM "vm" CPU "cpu" MEM "mem"G";}') vm list | tee >(awk 'NR>1 && $9=="Running" {vm+=1;cpu+=$4;mem+=substr($5,1,length($5)-1);} END {print "VM "vm"…