deb_debris

This is an old revision of the document!


Name: DEBRiS Chrome (official) | ๋„๋ผ์—๋ชฝ (korean)

System Consideration: โ‘  Size of system partition is critically small โ‘ก Data should be stored on attached disk(s)


CPU: Intelยฎ Celeronยฎ CPU N3060 @ 1.60GHz (2 cores) โ€” Product info

Main Memory: 2G

Storages:

  • 32G (m.2 type SSD) โ€” / partition
  • 1024G โ€” /home partition

Live status of storages

Mounted on     Type  Size  Used Avail Use%
/              ext4   29G   11G   16G  42%
/home          ext4  916G  338G  532G  39%

Wireless Network:

  • Intelยฎ Dual Band Wireless-AC 3160 (802.11ac) โ€” Product info
  • Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter

  • Upgrade mariadb 10.5 <sub> โ€” Updated on 2020/08/31 13:15 </sub>
  • Get certificates for sayah.kr <sub> โ€” Updated on 2020/06/28 19:09 </sub>
  • Install WordPress for sayah <sub> โ€” Updated on 2020/06/28 19:07 </sub>
  • Change backup rsync to another partition <sub> โ€” Updated on 2020/06/27 04:01 </sub>
  • Install Nextcloud named cloud.ejestate.tk <sub> โ€” Updated on 2020/03/29 22:22 </sub>

๏ผ‹Que to do


Nginx Configuration Showing lively on OWL for DEBRiS Chrome


Duplicate and backup for wiki.meson.in and wiki.meson.one (OWL) toward backup server.

Create /var/www/.ssh and Generate Pairwise keys on source server

sudo mkdir /var/www/.ssh 
sudo chown -Rf www-data:www-data /var/www/.ssh 
 
sudo -u www-data ssh-keygen -t rsa -b 4096  

File synchronization using rsync to remote (target) server

sudo -u www-data rsync -azP --rsync-path="sudo rsync" /var/www/source.directory/ user@target.server:/home/to/path/target.directory/

Create executive file /usr/local/rsync_wiki and make it executable sudo chmod +x

#!/bin/sh
sudo -u www-data rsync -azP -e 'ssh -p 2020' --progress --rsync-path="sudo rsync" /var/www/wiki.meson.in/ meson@target.com:/home/meson/webroot/wiki.meson.in/

edit /etc/systemd/journald.conf

SystemMaxUse=100M 

Clear journal logs with command

journalctl --vacuum-time=2d   
journalctl --vacuum-size=500M

Usually it could free over 3.0G up on (system) disk.

โ€”-

Subsonic server is using port 4040. Then create virtual host in Nginx with SSL and add the following lines.

        location / {
 
                proxy_pass http://localhost:4040/;
                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 /etc/default/subsonic with commenting out the following

SUBSONIC_ARGS="--port=0 --https-port=4040 --context-path=/ --max-memory=200"

  • deb_debris.1602171799
  • Last modified: 2020/10/09 00:43
  • by Jรบne Park