mastodon
This commit is contained in:
parent
312adb6ff1
commit
4767c4ab44
@ -99,7 +99,7 @@ this will prompt smtp setup
|
|||||||
|
|
||||||
compilation failed, complained about memory
|
compilation failed, complained about memory
|
||||||
|
|
||||||
setup service files:
|
setup nginx files:
|
||||||
```
|
```
|
||||||
cp /home/mastodon/live/dist/nginx.conf /etc/nginx/sites-available/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
|
ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
|
||||||
@ -108,6 +108,12 @@ ln -s /etc/nginx/sites-available/mastodon /etc/nginx/sites-enabled/mastodon
|
|||||||
then you have to replace example.com with a target domain in the nginx files
|
then you have to replace example.com with a target domain in the nginx files
|
||||||
using vim -> `:%s/example.com/hptrow.me`
|
using vim -> `:%s/example.com/hptrow.me`
|
||||||
|
|
||||||
|
|
||||||
|
copy sevice files:
|
||||||
|
```
|
||||||
|
cp /home/mastodon/live/dist/mastodon-*.service /etc/systemd/system/
|
||||||
|
```
|
||||||
|
|
||||||
setup load services
|
setup load services
|
||||||
```
|
```
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
|
Loading…
Reference in New Issue
Block a user