Posts Tags Categories
PostsTagsCategories

Capslock をctrl に変換

 
レジストリを変更するreg ファイルを作成しました。 下記リンクからダウンロードできます。実行するだけ Click here to download

PowerShellを快適にする

 
はじめに PowerShell で.bash_profile のようなものを作成したい。 スクリプトに実行権限を与える 管理者で実行してください Set-ExecutionPolicy -ExecutionPolicy RemoteSigned 以下のエラーが出た

sshdで特定のユーザのシェルログインを禁止する

 
ssh port forwarding でtunnel だけ張りたい時に使えば不要なシェル操作を防ぐことが出来る。 Match User username # PasswordAuthentication yes ForceCommand /bin/false

Certbot Cloudflareをdockerで動かす

 
前提事項 以下の前提事項の上で勧めていく。 dns01認証を使用する certbot-dns-cloudflareを使用する ワイルドカード証明書を

Hugoで新しい記事を作成する

 
記事を作成する hugo new post/${new_post}.md 仮想サーバを起動する hugo server -D テーマを指定してサーバを起動する hugo server -D -t ${theme}

x86_64環境でKuberenetesクラスタを構築する

 
システム構成 ソフトウェア 構成 項目 ソフトウェア バージョン OS Ubuntu 20.04.4 LTS Kubernetes kubeadm,kubectl,kubelet 1.24.2 CRI copntainerd 1.6.6 CNI Calico 3.23.2 Kubernetes 構成 今回は Master ノード 1 台、Worker ノード 2 台で構築する。

Prometheus

 
Prometeus 用のユーザとグループを作成 sudo groupadd prometheus sudo useradd -d /var/lib/prometheus -g prometheus -s /bin/false -m prometheus Prometheus をダウンロード wget https://github.com/prometheus/prometheus/releases/download/v2.36.2/prometheus-2.36.2.linux-amd64.tar.gz 解凍 tar xvfz prometheus-*.tar.gz cd prometheus-* Prometheus 用の設定ディレクトリとデータディレクトリを作成 sudo mkdir

RaspberrypiのUbuntu21.04でraspi Configを動かす

 
インストール手順 sudo echo "deb http://archive.raspberrypi.org/debian/ jessie main" >> /etc/apt/sources.list sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 7FA3303E sudo apt-get update sudo apt-get install raspi-config

Androidstudio整形

 
コードの整形 Option (⌥ オプション) + Command (⌘ コマンド) + l(エルキー)

ProxmoxでのHDDパススルーの方法

 
qm set 100 -scsi1 /dev/disk/by-id/ata-example part-1と書かれたものはパーティションなので、何も書かれていないものを選択する。
  • 1
  • 2
2024