WSLを使わない! Windows開発環境構築
WSLないないのWindows開発環境構築コメントこちらの記事は、主に、CLI環境で開発していきたいという方にすごく向いているかと思う。 ターミナルのアップデートまずは、今回の主役、ターミナルpwsh(powershell)をアップデートhttps://github.com/PowerShell/PowerShell/releases/Latestの安定版をインストールダウンロードするときに、arm64かx64か、どれをダウンロードすればいいかわからない場合は、アーキテクチャーを調べよう。 1msinfo32 システムの種類がx64ベース PCであれば、x64のmsiのインストーラーをダウンロード & 実行すればよい。 sudoの有効化システム>開発者向けより、sudoの有効化LinuxなどUNIX系では、sudoを用いるのが習慣だ。 パッケージマネジャーのインストール以下、Ubuntuならapt,...
私的ArchLinux開発環境構築
ArchLinux開発環境構築コメント以下の記事はとても長い。なので、Dockerを使った、devkit によるコマンド一発で、私と同じ環境が作れるものを開発した。なお、ディストロ全体の容量は10GBほど。以下は、ほぼほぼdevkitの Dockerfile に記述している内容と同じである。 開発環境構築ネット確認応答があれば、ネットにつながっている。 1ping google.com Localeの設定123456789echo LANG=en_US.UTF-8 > /etc/locale.conf# /etc/locale.gen、最上行に追加tee -a /etc/locale.gen <<EOLja_JP.UTF-8 UTF-8en_US.UTF-8 UTF-8EOLlocale-gen もし、Localeエラーが出たらen_US.UTF-8 UTF-8の行がコメントアウトされていないことを確認 12sudo vim /etc/locale.gensudo pacman -S...
SSHログインに2FA導入
sshに2FAを導入するにあたってインストール1sudo pacman -S libpam-google-authenticator ユーザーごとに鍵を作る 1google-authenticator 参照https://wiki.archlinux.jp/index.php/Google_Authenticator#.E3.82.A4.E3.83.B3.E3.82.B9.E3.83.88.E3.83.BC.E3.83.ABhttps://wiki.archlinux.jp/index.php/OpenSSH#.E4.BA.8C.E8.A6.81.E7.B4.A0.E8.AA.8D.E8.A8.BC.E3.81.A8.E5.85.AC.E9.96.8B.E9.8D.B5
NginxにSSLを導入
NginxにSSLを導入するまでインストール123sudo pacman -S certbotsudo pacman -S certbot-nginx 鍵生成1sudo certbot --nginx 新たにドメインを増やす場合、既存のSSL証明書に新たに追加することが可能。 1sudo certbot --nginx -d sample.com,sample2.com
NginxにModSecurityを適用
NginxにModSecurityを導入するまでインストール1sudo pacman -S libmodsecurity modsecurity-crs Nginxへの適用ModSecurityと依存関係のインストール12sudo pacman -Syusudo pacman -S git gcc pcre pcre2 zlib make ModSecurityのダウンロードとビルド123456789git clone --depth 1 https://github.com/SpiderLabs/ModSecurity-nginx.gitgit clone --depth 1 -b v3.0.13 https://github.com/SpiderLabs/ModSecuritycd ModSecuritygit submodule initgit submodule update./build.sh./configuremakesudo make...
Website Terms and Policies
NoteThis post contains privacy policy and terms of service using at kishax-web. Privacy Policy1234567891011121314151617181920212223Last Updated: [2024/12/31]This Privacy Policy describes how we collect, use, and protect your personal information when you use our application ("the App"). By using the App, you agree to the practices described in this policy.1. Information We CollectWe may collect the following information:Your X or Google username and profile information.Your email...