Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. <nav> * {{fa>server?color=#8B0000}} Linux * [[rpi_common|β General Things on Raspbian]] * [[rpi_nimbus|ππ’ππππ πππΉππππ]] * [[debian_common|β General info on Debian Linux]] * [[deb_cicada|ππ’ππππ πππ©π π₯π¦π]] * [[deb_mutism|ππππ’ππ πππππ¦π]] * [[deb_gilead|ππ’ππππ πΈπ£ππππ₯π]] * [[deb_symbio|πππππ’π βπ πππ₯π¦π€]] * [[deb_tardis|πππππ’π ππ‘ππ₯ππ¦π]] * {{fa>windows?color=#0000A0}} Windows * [[:pc_common|β Common Works on Windows]] * [[PC_MESONiSM|ππππππ’ππ]] * [[PC_MESONiST|ππππππ’ππ]] * {{fa>android?color=#006400}} Android * [[:cell_common|β Common Stuffs on Androids]] * [[CELL_EPiCON|πππ’πππ π½π]] * [[CELL_EPiMER|πππ’πππ π‘]] * [[CELL_EPiLUX|πππ’πππ π]] * [[CELL_EPiTAP|πππ’πππ ππ]] * [[CELL_EPiETA|πππ’πππ π]] </nav> ===== Finca LaDichium β DEBRiS Chrome ===== {{:ubuntu-20-04-1.jpg?nolink&250|}} Name: {{mdi>cards?28&color=#ffdd00}} ''**DEBRiS** Chrome'' (official) | {{mdi>creation?28&color=#ffdd00}} ''λλΌμλͺ½'' (korean) {{mdi>account-alert-outline?2x&color=#ffdd00}} **System Consideration**: β Size of system partition is critically small β‘ Data should be stored on attached disk(s) ---- ==== Specification ==== {{mdi>cpu-64-bit?28&color=#ffdd00}} CPU: ''Intel<sup>(r)</sup> Celeron<sup>(r)</sup> CPU **N3060 @ 1.60GHz** (2 cores)'' --- [[https://meson.in/2NxusAS|Product info]] {{mdi>memory?28&color=#ffdd00}} Main Memory: ''**2G**'' {{mdi>harddisk?28&color=#ffdd00}} Storages: * ''**32G**'' (m.2 type SSD) --- ''**/**'' partition * ''**1024G**'' --- ''**/home**'' partition {{fa>usb?14&color=#005eb8}} === Live status of storages === <code ini> Mounted on Type Size Used Avail Use% / ext4 20G 7.9G 11G 43% /boot ext4 974M 253M 655M 28% /home ext4 916G 292G 578G 34% </code> {{mdi>wifi?28&color=#ffdd00}} Wireless Network: * Intel<sup>(r)</sup> Dual Band Wireless-AC 3160 (802.11ac) --- [[https://meson.in/2ZjAv19|Product info]] * Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter ---- ==== οΌWork logs ==== * Attach Ubuntu Pro subscription <sub> --- Updated on //2024/05/21 17:41// </sub> * Upgrade ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' and ''php 8.1'' <sub> --- Updated on //2023/06/04 03:57// </sub> * Upgrade ''Ubuntu 22.04.1 LTS (Jammy Jellyfish)'' <sub> --- Updated on //2022/09/09 17:40// </sub> * Fresh installation for Ubuntu Server 20.04 ''focal'' <sub> --- Updated on //2020/10/12 20:44// </sub> * 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'' {{mdi>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 === ---- ==== Hosting Services ==== <button type="danger" icon="fa fa-sliders">[[https://wiki.meson.one/doku.php?id=secured:nginx_config#debris_chrome|Nginx Configuration]]</button> Showing lively on OWL {{fa>opera?14&color=#cc0f16}} for ''**DEBRiS** Chrome'' {{fa>lock?color=#808080}} ---- ==== Gemini Services ==== 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 <code bash> 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 </code> File synchronization using ''rsync'' to remote (target) server <code bash> sudo -u www-data rsync -azP --rsync-path="sudo rsync" /var/www/source.directory/ user@target.server:/home/to/path/target.directory/ </code> Create executive file ''/usr/local/rsync_wiki'' and make it executable ''sudo chmod +x'' <code bash> #!/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/ </code> ---- ==== Limit size of journal logs ==== edit ''/etc/systemd/journald.conf'' <code ini> SystemMaxUse=100M </code> Clear journal logs with command <code bash> journalctl --vacuum-time=2d journalctl --vacuum-size=500M </code> Usually it could free over 3.0G up on (system) disk. ---- ==== Nginx Reverse proxy ==== Subsonic server is using port ''4040''. Then create virtual host in Nginx with SSL and add the following lines. <code nginx> 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; } </code> Edit ''/etc/default/subsonic'' with commenting out the following <code ini> SUBSONIC_ARGS="--port=0 --https-port=4040 --context-path=/ --max-memory=200" </code> ---- ===== Solved problems ===== === Disable restarting Nginx service === <text type="warning">{{fa>exclamation}} **Problem**</text>: Nginx web service is not restarting after updating certificates with ''certbot'' <text type="danger">{{fa>bug}} **Symptom**</text>: Following messages are showing when it fails to restart <code nginx> nginx: [emerg] bind() to 0.0.0.0:443 failed (98: Address already in use) nginx: [emerg] still could not bind() </code> <text type="info">{{fa>lightbulb-o}} **Solution**</text>: Kill nginx service with command <code bash> sudo fuser -k 443/tcp sudo service nginx restart </code> ---- deb_debris Last modified: 2024/05/22 09:44by JΓΊne Park