2021-06-01から1ヶ月間の記事一覧

FreeBSD zfs mirror swap

https://forums.freebsd.org/threads/should-i-mirror-swap-or-no-swap.73449/Mirror Swapにする。Auto ZFS ZFS Configuration Pool Type/Disks: → raidz2: 8 disks PoolName zroot Force 4K Sectors? YES Encrypt Disks? NO Partition Scheme GPT (BIOS+UEF…

Perc H730 FreeBSD

This is a new system. Integrated raid controller Perc H730P. Fixed it!! At loader prompt set hw.mfi.mrsas_enable=1. Got a clean install and then in loader.conf: hw.mfi.mrsas_enable=1 so properly set each boot. This is where I got info from…

VyOS

VyOS 1.1.8 とそれ以降で開発元の方針が変更され、1.1.8 まではインストール用のシステムイメージが公開されているが、1.2 以降は公開がなされていない。 VyOS 1.2 からは LTS (Long Term Support) Release と Rolling Release の二つに分けて公開されており…

FreeBSD 仮想化 コンソール

存在しないVGAのバーチャルコンソールが開けないエラーが出るので、 気になる場合は /etc/ttys の ttyv0~ttyv7 を off に変えます。Installing FreeBSD 10.x as libvirt qemu-kvm guest via serial console インストールが完了したあとはLiveCDモードに移行…

ubcd

SASParted Magic > console > smartctl -a /dev/sda Erase disk > Write zeros to the entire drive using 'dd'Diagnosis > HDAT2 → 不良セクタ診断 http://pc-sensei.com/ubcd/hddtest/hdat2 https://jisaku-pc.net/free-soft/hdat2.htmlDisk Wiping > Dari…

azure VMでsudoersファイルのsyntaxエラーを起こしちゃったときの対処法 - Qiita cloud shell から削除

munin df_inode

会社マシンに入れた munin の df と df_inode プラグインの調整。 EXCLUDEDFS="-t noprocfs,devfs,fdescfs,linprocfs,linsysfs,nfs,nullfs" ↓ EXCLUDEDFS="-t noprocfs,devfs,fdescfs,linprocfs,linsysfs,nfs,nullfs,smbfs,cd9660" cd を mount したら 100% …

CloudFront S3 sorryサーバ

CloudFrontを利用してオリジンサーバー障害時にS3上のコンテンツを表示する | DevelopersIO CloudFrontのオリジンドメイン名にリージョン名を追加する CloudFrontディストリビューション作成時、デフォルトの選択肢ではs3.amazonaws.comになるのですが、リー…

脆弱性診断

https://www.immuniweb.com/GVM https://kurita1.hatenadiary.com/entry/2021/02/02/185708

apache security セキュリティ設定

Hide Git Repos on Public Sites – David EganApacheセキュリティ設定 #CentOS - Qiita # # Forbid access to version control directories # # If you use version control systems in your document root, you should # probably deny access to their dir…

東芝 HDD

と書かれているので、おそらくDeskstar, Deskstar NASのことだと思われるが、過去にUltrastarはDeskstarの選別品が使われていることもあるそうなので・・・? なので、 HGST Deskstar≒東芝 MD HGST Deskstar NAS≒東芝 MN/MC HGST Ultrastar≒東芝 MG ・・・か…

RDS mysql upgrade

[新機能] Amazon RDS for MySQLで、簡単に5.6から5.7へアップグレードできるようになりました | DevelopersIO MySQL5.5のRDSをMySQL5.7にアップグレードしてみた - Qiita