awk入門_2022

AWK入門 2022

下記のURLを参照。

https://docs.microsoft.com/ja-jp/windows/wsl/install

基本的には、「Windows PowerShell (管理者)」を起動し、wsl --installと入力してENTERキーを押せばインストールが進み、途中でOS再起動を挟んでUbuntu Linuxで使用するユーザ名とパスワードを入力して完了。Ubuntu Linuxがインストールされ、awk等のコマンドが使える。

WSLの中では、/mnt/c/が、WindowsのC:\になる。

トラブルシューティング:もしwslのインストールが上手くいかない場合は、BIOSで仮想化支援機能がONになっていない可能性がある。仮想化をONにするか、もしくは仮想化が不要なWSL1を使うように、パワーシェルで下記のコマンドを入力する。

wsl --set-default-version 1

まずHomebrewをインストールする。

https://brew.sh/index_ja

基本的にはターミナルを開いて下記コマンドを入力。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

そうしたらbrewコマンドが使えるようになるので、brewでawkをインストール

brew install gawk

これでawkコマンドが使えるようになっているはず。


Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /home/webpark1634/www/yosh/lib/plugins/authplain/auth.php on line 441
dokuwiki\Exception\FatalException: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes)

dokuwiki\Exception\FatalException: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes)

An unforeseen error has occured. This is most likely a bug somewhere. It might be a problem in the authplain plugin.

More info has been written to the DokuWiki error log.