2022-01-01から1年間の記事一覧

Kali linux

https://www.kali.org/blog/kali-linux-2022-1-release/https://www.kali.org/docs/installation/hard-disk-install/Kali linuxについて調査してみました。 | DevelopersIO 2022Kali LinuxにSSH接続ができるようにする – seshat gvm Kali Linuxの初期Setup ~…

intel AMT vPro

Intel AMTのプロビジョニング(初期設定) | tarufuloghttps://www.thinkwiki.org/wiki/Intel_Active_Management_Technology_(AMT)vPro 搭載の Intel NUC で Intel AMT を設定してリモート管理を可能にする at SE の雑記

bhyve STATE Bootloader で止まった場合の対処方法

STATE Bootloader で止まった場合の対処方法 sudo vm poweroff test-vm Are you sure you want to forcefully poweroff this virtual machine (y/n)? y errno = 37 エラープロセスが残っている場合bhyveのプロセスをkillhttps://github.com/churchers/vm-bhy…

bhyve issue

vm-bhyve stripesize disk0.img の場合は zfs recordsize (default 128K) sparse-zvol の場合は zfs volblocksize (default 8K) になる?disk0_opts で変更可? disk0_type="virtio-blk" disk0_name="disk0.img" disk0_opts="sectorsize=512/4096" guest $ s…

FreeBSD 13 libxml2 2.9.13 issue

https://www.freshports.org/textproc/libxml2/ # pkg upgrade pkg[47502]: libxml2 upgraded: 2.9.12 -> 2.9.13 # /usr/local/etc/rc.d/php-fpm start Performing sanity check on php-fpm configuration: ld-elf.so.1: /usr/local/lib/libxml2.so.2: versi…

gvm 21.4.4

https://community.greenbone.net/t/gvm-release-version-21-4-4/11506(moderator note: this topic was split from GVM Release Version 21.4.4 60) https://community.greenbone.net/t/discussion-gvm-release-version-21-4-4/11785Current source build d…

MIRACLE LINUX

無償化された MIRACLE LINUX 8.4 をいろんな環境にインストールしてみた!|BLOG|サイバートラスト

Cache-Control Expires

キャッシュについて整理 #キャッシュ - Qiita 2018静的ファイルのキャッシュコントロールについて ISUCON7 - バカンス駆動開発 2020【WordPress】mod_expires 設定でパフォーマンス改善♪ – oki2a24 2013 Cache-Control Cache-Controlヘッダがないときもブラ…

Xcode Command Line Tools catalina

Error: Xcode alone is not sufficient on Sierra. が表示された | テツジンパンチhttps://developer.apple.com/download/more/ からダウンロードしてインストール I was only able to manually install command line tools 11.5 on macos 10.15.3. FYIhttps…

ハードリンク ディレクトリ mount bind

シンボリックリンクとハードリンクの違い - Qiitaディレクトリ自体のハードリンクに関しての覚え書き - Qiitaシンボリックリンクの代わりに mount -o bind オプションを使用する|プログラムメモ One way to do this would be to use nullfs. mount -t nullf…

FreeBSD nfs server

https://docs.freebsd.org/en/books/handbook/network-servers/#network-nfs rpcbind_enable="YES" rpcbind_flags="-s -l -h 192.168.0.100" nfs_server_enable="YES" nfs_server_flags="-u -t -n 6 -h 192.168.0.100" mountd_enable="YES" mountd_flags="-r…

ubuntu 20 cuda docker

https://www.server-world.info/query?os=Ubuntu_20.04&p=downloadUbuntu 20.04にNVIDIA Container ToolkitをインストールしてDockerfileを作成 - たかけのブログmicrok8sでGPUコンテナーを使う環境を整える - 仮想化通信https://docs.nvidia.com/cuda/cuda-…

Etcher

ラズパイ の OS イメージを焼くときは Etcher が 便利 & UI カッコいい | 験なきものを思はずはhttps://ubuntu.com/tutorials/create-a-usb-stick-on-macos

FS-Cache cachefilesd

https://github.com/jnsnow/cachefilesd Cache culling is done on the basis of the percentage of blocks and the percentage of files available in the underlying filesystem. There are six "limits": (*) brun (*) frun If the amount of free space …

gmail 2022

Prevent mail to Gmail users from being blocked or sent to spam - Gmail Help 2022年3月以降、Gmailにメールを送るとエラーが発生する というご相談を多くいただくようになりました。 Gmail宛てにメールを送ると Returned mail: see transcript for detai…

Terraform AWS Provider v4 S3

aws_s3_bucketの大規模リファクタリング 要は「aws_s3_bucketがデカくなりすぎて大変だから、細かく分けようぜ!」ということです。 Terraform AWS Provider Version 4がリリースされました | DevelopersIO 2022 そもそもなんでこういう変更を加えたのか v4.…

Cookieのアクセス制限 Secure, HttpOnly 属性

https://developer.mozilla.org/ja/docs/Web/HTTP/Cookies#restrict_access_to_cookies HttpOnly Cookie属性としてこれを付与するとJavaScriptからアクセスできなくなる。 Secure これが付与されるとHTTPSの通信の場合のみ送信されるようになる。 Cookie属性…

PostgreSQL role ロール 権限 アクセス権

PostgreSQLのロール管理とその注意点(Open Source Conference 2022 Online/Osaka 発表資料)https://tableplus.com/blog/2018/04/postgresql-how-to-grant-access-to-users.htmlhttps://stackoverflow.com/questions/22483555/postgresql-give-all-permissi…

docker 操作

Dockerコンテナの作成、起動〜停止まで - Qiita 2015Dockerライトユーザーの為のコマンド一覧 - Qiita 2017コンテナに入る docker exec -it [コンテナ名] /bin/bash dockerで立ち上げたコンテナにログインする - Qiita command line interface - How do I ed…

postgres pgpass

PostgreSQL, MySQLにパスワード入力なしで接続する方法 | TECHSCORE BLOG 2012https://www.postgresql.org/docs/13/libpq-pgpass.html

varnish cache with basic auth

sub vcl_hash { ... # This will allow Varnish to cache a site with basic auth. if (req.http.authorization) { hash_data(req.http.authorization); }https://github.com/phase2/docker-varnish/blob/4.0/root/etc/confd/templates/default.vcl.tmpl

Terraform Module

[Terraform]Moduleを作ると環境毎のデプロイが便利 | DevelopersIO 2021TerraformのModuleを作成する(VPC) - ねずみさん家。の日常TerraformでEC2、セキュリティグループを作成する - Qiita Input Output [Terraform]Module間の値の受け渡しについて | Devel…

AWS RDS

ユーザ Amazon RDS または Aurora でマスターユーザーを複製またはクローン作成する パブリックアクセス publicly accessibleAWS RDSを外部接続可能にする手順 - Qiita 2019RDS でパブリックアクセスを許可する - AR ホームベーカリー 2017パブリックアクセ…

シンボリックリンク パーミッション

rsync Linux to FreeBSD # Fix symlink permission lrwxrwxrwx (Linux) to lrwxr-xr-x (FreeBSD) find (path) -type l -exec chmod -h og-w {} \; https://askubuntu.com/questions/1106662/what-does-the-permission-string-lrwxrwxrwx-mean

Azure Blob AzCopy

Azure Blob Azure Blobの機能を解説 | システム運用ならアールワークスへ 2020【図解】Azure BLOB Storageの使い方【5手順で使用可能】 | 駆け出し物語 2020プライベートエンドポイントAzureプライベートエンドポイントの設定と確認 – Cloud Steady | パーソ…

munin plugin postgres_querylength_

https://github.com/munin-monitoring/munin/blob/master/plugins/node.d/postgres_querylength_replication - Why am I seeing START_REPLICATION 0/42000000 TIMELINE 1 Query in Postgresql 12 - Database Administrators Stack Exchange This is part of…

sshd セキュリティ設定

CentOS7 SSHデーモンのセキュリティ強化 – インフォサーカス・インコーポレイテッド – Info Circus, Inc. 2019 暗号化方式(Ciphers) SSHのサーバ・クライアント間で通信する際の暗号化方式です。 鍵交換方式(KexAlgorithms) 暗号通信を始める前に、暗号化に…

FreeBSD security rc.conf sysctl

セキュリティの小技(TCP/IP 編): むらさきのくも 2009FreeBSD12R on AWS EC2 | のつこつ日誌 2020[PukiWiki:wiki] BSD/FreeBSD/Tuning : Cocelo Style 2008 /etc/rc.conf /etc/rc.conf tcp_extensions="NO" tcp_drop_synfin="YES" icmp_drop_redirect="YES…

Bearer Token

Bearer ベアラ 認証 TL;DR Basic認証とBearer Tokenは、同じAuthorizationリクエストヘッダを使うため、(少なくとも単純な実装では)同時には使うことができない。 Basic認証とBearer Tokenを同時に使おうとしてハマった話 - ぶちのブログ 2019

証明書 ファイル名

.DERと .PEMという拡張子は鍵の中身じゃなくて、エンコーディングを表している.CRT .CER .KEY .CSRはファイルのエンコーディングではなく内容を表している RSA鍵、証明書のファイルフォーマットについて - Qiita 2014 letsencrypt はcert.pem chain.pem full…