Fix: セットアップスクリプトのyarn install
でエラーが出る (#292)
This commit is contained in:
parent
eda8dae5a7
commit
927e02e051
5 changed files with 365 additions and 0 deletions
27
install/9.0/setup3.sh
Normal file
27
install/9.0/setup3.sh
Normal file
|
@ -0,0 +1,27 @@
|
|||
cat << EOF
|
||||
|
||||
================== [kmyblue setup script 3] ======================
|
||||
Copy setting files and services
|
||||
|
||||
EOF
|
||||
|
||||
# これを設定しておかないと、Web表示時にNginxがPermission Errorを起こす
|
||||
chmod o+x /home/mastodon
|
||||
|
||||
# 必要なファイルをコピー
|
||||
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/mastodon
|
||||
ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
|
||||
cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/
|
||||
systemctl daemon-reload
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
cat << EOF
|
||||
|
||||
============== [kmyblue setup script 3 completed] ================
|
||||
|
||||
Input this command to continue setup:
|
||||
sudo su - mastodon
|
||||
./setup4.sh
|
||||
|
||||
EOF
|
Loading…
Add table
Add a link
Reference in a new issue