Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
deb_debris [2020/07/07 12:52] – [Limit size of journal logs] Júne Park | deb_debris [2023/06/09 09:59] – [Specification] Júne Park | ||
---|---|---|---|
Line 19: | Line 19: | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
+ | * [[: | ||
* [[: | * [[: | ||
* [[: | * [[: | ||
Line 26: | Line 27: | ||
===== Finca LaDichium ─ DEBRiS Chrome ===== | ===== Finca LaDichium ─ DEBRiS Chrome ===== | ||
- | {{:logo_ubuntu.png? | + | {{:ubuntu-20-04-1.jpg? |
Name: {{mdi> | Name: {{mdi> | ||
Line 42: | Line 43: | ||
{{mdi> | {{mdi> | ||
* '' | * '' | ||
- | * '' | + | * '' |
=== Live status of storages === | === Live status of storages === | ||
<code ini> | <code ini> | ||
- | Mounted on Type Size Used Avail Use% | + | Mounted on Type Size Used Avail Use% |
- | /home ext4 | + | / |
- | / | + | /boot |
+ | /home ext4 | ||
</ | </ | ||
Line 60: | Line 62: | ||
==== +Work logs ==== | ==== +Work logs ==== | ||
+ | * Upgrade '' | ||
+ | * Upgrade '' | ||
+ | * Fresh installation for Ubuntu Server 20.04 '' | ||
+ | * Upgrade '' | ||
* Get certificates for '' | * Get certificates for '' | ||
* Install '' | * Install '' | ||
Line 91: | Line 97: | ||
<code bash> | <code bash> | ||
sudo -u www-data rsync -azP --rsync-path=" | sudo -u www-data rsync -azP --rsync-path=" | ||
+ | </ | ||
+ | |||
+ | Create executive file ''/ | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | sudo -u www-data rsync -azP -e 'ssh -p 2020' --progress --rsync-path=" | ||
</ | </ | ||
Line 111: | Line 124: | ||
Usually it could free over 3.0G up on (system) disk. | Usually it could free over 3.0G up on (system) disk. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Nginx Reverse proxy ==== | ||
+ | |||
+ | Subsonic server is using port '' | ||
+ | |||
+ | <code nginx> | ||
+ | location / { | ||
+ | | ||
+ | proxy_pass http:// | ||
+ | proxy_set_header Host $host; | ||
+ | proxy_set_header X-Real-IP $remote_addr; | ||
+ | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
+ | |||
+ | } | ||
+ | </ | ||
+ | |||
+ | Edit ''/ | ||
+ | |||
+ | <code ini> | ||
+ | SUBSONIC_ARGS=" | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Solved problems ===== | ||
+ | |||
+ | === Disable restarting Nginx service === | ||
+ | <text type=" | ||
+ | |||
+ | <text type=" | ||
+ | |||
+ | <code nginx> | ||
+ | nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) | ||
+ | nginx: [emerg] still could not bind() | ||
+ | </ | ||
+ | |||
+ | <text type=" | ||
+ | |||
+ | <code bash> | ||
+ | sudo fuser -k 443/tcp | ||
+ | sudo service nginx restart | ||
+ | </ | ||
---- | ---- |