Gravの構築(失敗)

2021-02-13 - 読み終える時間: ~1 分

Install Grav by composer

sudo yum install -y composer.noarch

composer create-project getgrav/grav /PATH/TO/appendix

[ErrorException] proc_open(): fork failed - Cannot allocate memory

きゃ~~~~

それな。

要らんもの止めて空きメモリ確保

sudo ps auxw --sort rss

root      2430  0.0  1.8 127500  8548 ?        Ssl  Jan24   0:05 /usr/bin/amazon-ssm-agent
root      1388  0.0  2.4  86192 11532 ?        Ss   Jan24   0:07 /usr/lib/systemd/systemd-journald
root      2683  0.0  2.4 137136 11540 ?        Sl   Jan24   0:02 /usr/bin/ssm-agent-worker
sudo systemctl list-unit-files | grep -i ssm
amazon-ssm-agent.service                      enabled

おりゃー

sudo systemctl disable amazon-ssm-agent.service
sudo systemctl stop amazon-ssm-agent.service

Install Grav by composer 再開

ごみ掃除

rm -rf ./appendix/*

インストール

composer create-project getgrav/grav /PATH/TO/appendix

[ErrorException] proc_open(): fork failed - Cannot allocate memory

無理やった~~~_:(´ཀ`」∠):


2021-01-25 一旦ここまで