deb_mutism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
deb_mutism [2019/12/23 02:22]
Júne Park [Specification]
deb_mutism [2020/07/28 18:56] (current)
Júne Park [the 'ssl' directive is deprecated]
Line 1: Line 1:
 <​nav> ​ <​nav> ​
   * {{fa>​server?​color=#​8B0000}} Linux   * {{fa>​server?​color=#​8B0000}} Linux
-    * [[:​rpi_common|General Things on Raspbian]]+    * [[:​rpi_common|■ General Things on Raspbian]]
     * [[:​rpi_autism|Media Ditorium ─ AUTiSM Rainbow]]     * [[:​rpi_autism|Media Ditorium ─ AUTiSM Rainbow]]
     * [[:​rpi_epigen|Private Cellarium ─ EPiGEN Crystal]]     * [[:​rpi_epigen|Private Cellarium ─ EPiGEN Crystal]]
     * [[:​rpi_nimbus|Webius Officium ─ NiMBUS deBlanc]]     * [[:​rpi_nimbus|Webius Officium ─ NiMBUS deBlanc]]
-    * [[:​debian_common|General info on Debian Linux]]+    * [[:​debian_common|■ General info on Debian Linux]]
     * [[:​deb_mutism|Opus Imperium ─ MUTiSM Magnum]]     * [[:​deb_mutism|Opus Imperium ─ MUTiSM Magnum]]
 +    * [[:​deb_gilead|Actu Periculum ─ GiLEAD Argenta]]
 +    * [[:​deb_debris|Finca LaDichium ─ DEBRiS Chrome]]
   * {{fa>​windows?​color=#​0000A0}} Windows   * {{fa>​windows?​color=#​0000A0}} Windows
-    * [[:​pc_common|Common Works on Windows]]+    * [[:​pc_common|■ Common Works on Windows]]
     * [[:​pc_mesonism|Primus Workstation ─ MESONiSM]]     * [[:​pc_mesonism|Primus Workstation ─ MESONiSM]]
     * [[:​pc_mesonium|Manibus Tablet ─ MESONiUM]]     * [[:​pc_mesonium|Manibus Tablet ─ MESONiUM]]
Line 14: Line 16:
     * [[:​pc_mesonity|Praevus Station ─ MESONiTY]]     * [[:​pc_mesonity|Praevus Station ─ MESONiTY]]
   * {{fa>​android?​color=#​006400}} Android   * {{fa>​android?​color=#​006400}} Android
-    * [[:​cell_common|Common Stuffs on Androids]]+    * [[:​cell_common|■ Common Stuffs on Androids]]
     * [[:​cell_epiaux|Júne'​s Primus ─ EPiAUX 5X]]     * [[:​cell_epiaux|Júne'​s Primus ─ EPiAUX 5X]]
     * [[:​cell_epihex|Júne'​s Extentus ─ EPiHEX 6]]     * [[:​cell_epihex|Júne'​s Extentus ─ EPiHEX 6]]
Line 24: Line 26:
 ===== Opus Imperium ─ MUTiSM Magnum ===== ===== Opus Imperium ─ MUTiSM Magnum =====
  
-{{:logo_ubuntu.png?​nolink&​250|}}+{{:ubuntu-18.04-lts-features.png?​nolink&​300|}}
  
-Name: {{material>assignment_turned_in}} MUTiSM Magnum (official) | {{material>create}} ''​라이몽''​ (korean)+Name: {{mdi>cards?​28&​color=#​dd4814}} ''​**MUTiSM** Magnum'' ​(official) | {{mdi>creation?​28&​color=#​dd4814}} ''​라이몽''​ (korean)
  
 ---- ----
Line 32: Line 34:
 ==== Specification ====  ==== Specification ==== 
  
-{{fa>microchip?​color=#​dd4814&​size=24}} CPU: Intel(tm) ​i5-3337U ​+{{mdi>cpu-64-bit?28&color=#​dd4814}} CPU: ''​Intel® Core™ ​i5-3337U ​CPU @ 1.80GHz (2 cores)''​ --- [[https://​meson.in/​31n12gL|Product info]] ​
  
-{{fa>microchip?​color=#​dd4814&​size=24}} Memory: ''​8G''​+{{mdi>memory?28&color=#​dd4814}} Memory: ''​**8G**''​
  
-{{fa>​database?​color=#​dd4814&​size=24}} Storages:  +{{mdi>​database-plus?28&color=#​dd4814}} Storages:  
-  * ''​128G''​ (m.2 type SSD) --- ''​**/​**''​ partition  +  * ''​**128G**''​ (m.2 type SSD) --- ''​**/​**''​ partition  
-  * ''​500G''​ (SATA HDD) --- ''​**~/​storage**''​ partition  ​+  * ''​**500G**''​ (SATA HDD) --- ''​**~/​storage**''​ partition  ​
  
 === 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% 
-          ​ext4  117G   ​15G ​  96G  14+            ​ext4  117G   ​15G ​  97G  13
-~/​storage ​  ​ext4  458G  ​190G  245G  44%+~/​storage ​    ​ext4  458G  ​217G  218G  50%
 </​code>​ </​code>​
  
-{{fa>​wifi?​color=#​dd4814&​size=24}} Wireless:  +{{mdi>wifi?28&color=#​dd4814}} Wireless:  
-    * Intel<​sup>​(r)</​sup>​ Dual Band Wireless-AC 3160 (802.11ac)  +    * Intel<​sup>​®</​sup>​ Dual Band Wireless-AC 3160 (802.11ac)  
-    * Realtek<​sup>​(r)</​sup>​ WLAN USB Adapter (802.11ac)+    * Realtek<​sup>​®</​sup>​ WLAN USB Adapter (802.11ac) ​--- {{mdi>​wifi-strength-off?​14}} not working after ''​focal fossa''​
  
 ---- ----
 ==== Hosting Services ====  ==== Hosting Services ==== 
  
-<button type="info" ​ icon="​fa fa-lock">​[[[[secured:​web_admin#​june_s_muon_gateway|admin]]</​button>​ **''​[[https://​mu.meson.one/​|Júne'​s MuON Gateway]]''​** ​ --- MU Gateway ​+<button type="primary"​ size="​sm" icon="​fa fa-lock">​[[secured:​web_admin#​june_s_muon_gateway|admin]]</​button>​ **''​[[https://​mu.meson.one/​|Júne'​s MuON Gateway]]''​** ​ --- MU Gateway ​
  
  
-<button type="info" ​ icon="​fa fa-lock">​[[[[secured:​web_admin#​june_s_xchange_repository|admin]]</​button>​ **''​[[https://​x.meson.ml|Júne'​s Xchange Repository]]''​** ​ --- Xchange Service+<button type="primary"​ size="​sm" icon="​fa fa-lock">​[[secured:​web_admin#​june_s_xchange_repository|admin]]</​button>​ **''​[[https://​x.meson.ml|Júne'​s Xchange Repository]]''​** ​ --- Xchange Service
  
  
-<button type="info" ​ icon="​fa fa-lock">​[[[[secured:​web_admin#​june_s_one_wiki_lab|admin]]</​button>​ **''​[[https://​wiki.meson.one|Júne'​s Wiki OWL]]''​** ​ --- One Wiki LAB +<button type="primary"​ size="​sm" icon="​fa fa-lock">​[[secured:​web_admin#​june_s_one_wiki_lab|admin]]</​button>​ **''​[[https://​wiki.meson.one|Júne'​s Wiki OWL]]''​** ​ --- One Wiki LAB 
  
  
-{{fa>sliders?​color=#​d20962&​2x}} Live [[:​secured:​nginx_config#​mutism_magnum|Nginx Configuration]] for ''​**MUTiSM**''​ {{fa>​lock?​color=#​808080}} ​+<button type="​danger"​ size="​sm"​ icon="fa fa-sliders">[[https://​wiki.meson.one/​doku.php?​id=secured:​nginx_config#​mutism_magnum|Nginx Configuration]]</​button>​ Showing lively on OWL {{fa>​opera?​14&​color=#​cc0f16}} ​for ''​**MUTiSM** ​Magnum''​ {{fa>​lock?​color=#​808080}} ​
  
  
Line 71: Line 73:
 ==== +Work logs ====  ==== +Work logs ==== 
  
 +  * ''​adjust & optimize''​ value of ''​php-fpm''​ -- ''/​etc/​php/​7.x/​fpm/​pool.d/​www.conf'' ​ <​sub> ​ --- Updated on //​2020/​07/​25 21:42// </​sub>​
 +  * ''​Upgrade''​ Ubuntu **''​20.04''​** - ''​focal fossa''​ <​sub> ​ --- Updated on //​2020/​07/​24 01:23// </​sub>​
 +  * Change ''​backup rsync''​ to another partition <​sub> ​ --- Updated on //​2020/​06/​27 04:01// </​sub>​
 +  * Migrate ''​mariadb 10.3.22''​ from ''​mysql''​ <​sub> ​ --- Updated on //​2020/​03/​30 01:42// </​sub> ​
   * {{fa>​certificate}} ''​Renew SSL certificates''​ (Let's Encrypt) done <​sub> ​ --- Updated on //​2019/​08/​01 21:17// </​sub>​   * {{fa>​certificate}} ''​Renew SSL certificates''​ (Let's Encrypt) done <​sub> ​ --- Updated on //​2019/​08/​01 21:17// </​sub>​
   * **Nextcloud** ''​install''​ <​sub> ​ --- Updated on //​2019/​05/​17 01:02// </​sub>​   * **Nextcloud** ''​install''​ <​sub> ​ --- Updated on //​2019/​05/​17 01:02// </​sub>​
   * {{fa>​wordpress?​color=#​21759b}} Wordpress(tm) ''​installed''​ <sub> --- Updated on //​2018/​09/​10 00:​44//</​sub>​   * {{fa>​wordpress?​color=#​21759b}} Wordpress(tm) ''​installed''​ <sub> --- Updated on //​2018/​09/​10 00:​44//</​sub>​
-  * {{fa>​user?​color=#​da1884}} Added first ''​new user''​ for ''​x.meson.ml''​ <sub> --- Updated on //​2018/​09/​10 00:​43//</​sub> ​  | {{material>account_box}} [[::​private:​june_todo#​xmesonml|Registered Users]] {{fa>​lock}}+  * {{fa>​user?​color=#​da1884}} Added first ''​new user''​ for ''​x.meson.ml''​ <sub> --- Updated on //​2018/​09/​10 00:​43//</​sub> ​  | {{mdi>account-multiple-plus-outline}} [[::​private:​june_todo#​xmesonml|Registered Users]] {{fa>​lock}}
   * **Docker Client/​Server** installed <sub> --- Updated on //​2018/​07/​18 01:​20//</​sub>​   * **Docker Client/​Server** installed <sub> --- Updated on //​2018/​07/​18 01:​20//</​sub>​
   * ''​wiki.meson.one''​ & ''​x.meson.ml''​ certificates are issued <sub> --- Updated on //​2018/​07/​17 11:​17//</​sub>​   * ''​wiki.meson.one''​ & ''​x.meson.ml''​ certificates are issued <sub> --- Updated on //​2018/​07/​17 11:​17//</​sub>​
Line 178: Line 184:
  
 ---- ----
-==== Compiling ​RTL8821AU ​wireless driver ==== +==== Compiling ​RTL8811AU ​wireless driver ==== 
  
 ''​purge''​ installed driver, which is not working correctly and ''​compile''​ new driver. ​ ''​purge''​ installed driver, which is not working correctly and ''​compile''​ new driver. ​
Line 198: Line 204:
   iwconfig ​   // wireless configuration ​   iwconfig ​   // wireless configuration ​
 </​code> ​ </​code> ​
 +
 +
 +
 +
  
 ---- ----
Line 207: Line 217:
   sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target   sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
 </​code> ​ </​code> ​
 +
 +Action to do next is [[deb_gilead#​suspendtarget_is_masked|Suspend.target is masked]] ​
  
 ----  ---- 
Line 293: Line 305:
  
 pm = dynamic pm = dynamic
-pm.max_children = 50 +pm.max_children = ?? 
-pm.start_servers = 4+pm.start_servers = 8
 pm.min_spare_servers = 4 pm.min_spare_servers = 4
-pm.max_spare_servers = 32+pm.max_spare_servers = 8
 pm.max_requests = 500 pm.max_requests = 500
 </​code>​ </​code>​
  
-''​pm.''​ values could be changed according to resources such as physical memory and an average usage of each php processor. ​+''​pm.''​ values could be changed according to resources such as physical memory and an average usage of each php processor. ​Guide for adjusting values are  
 + 
 +^ Setting Name  ^ Suggested value  ^ 
 +| ''​max_children'' ​ | (Total RAM - Memory used for Linux, DB, etc.) / process size  | 
 +| ''​start_servers'' ​ | Number of CPU cores x 4  | 
 +| ''​min_spare_servers''​ | Number of CPU cores x 2  | 
 +| ''​max_spare_servers''​ | Same as start_servers ​ | 
 +|  |  | 
 + 
 +Available memory size can be guessed by commanding ''​free -hl''​ and process size used by ''​php7.x-fpm''​ is calculated by scripts [[https://​raw.githubusercontent.com/​pixelb/​ps_mem/​master/​ps_mem.py|ps_mem.py]] and ''​sudo python ps_mem.py | grep php-fpm''​  
 + 
 +  12.9 MiB +  18.7 MiB =  31.6 MiB       ​php-fpm7.3 (4) 
 + 
 +memory consumed by each php-fpm is assumed as ''​31.6 Mbyte''​.  
  
 ---- ----
Line 431: Line 457:
 ----  ---- 
  
-==== Install ​ownCloud ​==== +==== Install ​Nextcloud ​==== 
  
 === Memory caching configuration ===  === Memory caching configuration === 
  
-{{material>info?size=24&​color=#​be0027}} [[https://​doc.owncloud.org/​server/10.1/​admin_manual/​configuration/​server/​caching_configuration.html|Referral manuals]] --- by ownCloud Documentation ​+{{mdi>information-variant?​24&​color=#​be0027}} [[https://​doc.owncloud.org/​server/​admin_manual/​configuration/​server/​caching_configuration.html|Referral manuals]] --- by ownCloud Documentation ​\\ 
 +{{mdi>​information-variant?​24&​color=#​be0027}} [[https://​docs.nextcloud.com/​server/​latest/​admin_manual/​configuration_server/​caching_configuration.html|Referral manuals]] --- by Nextcloud Documentation  
  
 == Install Redis ==  == Install Redis == 
Line 499: Line 527:
 ---- ----
  
 +==== Setting for uploading large size files ==== 
 +
 +''​edit''​ php_value in ''/​etc/​php/​7.x/​fpm/​php.ini'' ​
 +
 +<code php> ​
 +upload_max_filesize 16G
 +post_max_size 16G
 +
 +max_input_time 3600
 +max_execution_time 3600
 +
 +upload_tmp_dir = /​var/​big_temp_file/​
 +</​code> ​
 +
 +''​edit''​ ''/​etc/​php/​7.x/​fpm/​pool.d/​www.conf'' ​
 +
 +<code php>
 +request_terminate_timeout = 300
 +</​code>​
 +
 +''​edit''​ ''​fastcgi_read_timeout''​ value in Nginx virtual host configuration ​
 +
 +<code nginx> ​
 +location ~ .php$ {
 +         root /​var/​www/​sites/​nginxtips.com;​
 +         ​try_files $uri =404;
 +         ​fastcgi_pass unix:/​tmp/​php5-fpm.sock;​
 +         ​fastcgi_index index.php;
 +         ​fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;​
 +         ​include fastcgi_params;​
 +         ​fastcgi_read_timeout 300;
 +}
 +</​code> ​
 +
 +
 +  * <text type="​info">​{{fa>​lightbulb-o?​24}}</​text>​ [[https://​docs.nextcloud.com/​server/​18/​admin_manual/​configuration_files/​big_file_upload_configuration.html|Uploading big files > 512MB]] --- on Nextcloud Administration Manual ​
 +  * <text type="​info">​{{fa>​lightbulb-o?​24}}</​text>​ [[https://​easycloudsupport.zendesk.com/​hc/​en-us/​articles/​360002057472-How-to-Fix-504-Gateway-Timeout-using-Nginx|How to Fix 504 Gateway Timeout using Nginx]] --- Fix 504 timeout problem ​
 +
 +
 +----
 ==== Reset MySQL password ====  ==== Reset MySQL password ==== 
  
Line 537: Line 605:
  
 ---- ----
-==== Solved ​Problems ​=====+===== Solved ​problems ======
  
-=== Stuck during update in Nextcloud ​(tm) === +==== Stuck during update in Nextcloud™ ==== 
 <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Stuck in page showing ''​Step 4 is currently in process. Please reload this page later''​ during Nextcloud (tm) update using updater. ​ <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Stuck in page showing ''​Step 4 is currently in process. Please reload this page later''​ during Nextcloud (tm) update using updater. ​
  
Line 545: Line 613:
  
 ---- ----
-=== Has sum mismatch === + 
 +==== Has sum mismatch ​==== 
 <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Error showing ''​**Has sum mismatch**''​ during update procedures.  ​ <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Error showing ''​**Has sum mismatch**''​ during update procedures.  ​
  
Line 563: Line 632:
  
 ---- ----
-=== No apps found for your version === + 
 +==== No apps found for your version ​==== 
  
 <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Error showing **No apps found for your version** in Nextcloud (tm) Apps.  <text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Error showing **No apps found for your version** in Nextcloud (tm) Apps. 
Line 579: Line 649:
  
 ----  ---- 
 +
 +==== the '​ssl'​ directive is deprecated ==== 
 +<text type="​danger">​{{fa>​bug}} **Symptom**</​text>:​ Error shows ''​2020/​07/​28 18:13:52 [warn] 42175#​42175:​ the "​ssl"​ directive is deprecated, use the "​listen ... ssl ..." directive instead in /​etc/​nginx''  ​
 +
 +<text type="​info">​{{fa>​lightbulb-o}} **Solution**</​text>​
 +
 +Edit ''/​etc/​nginx/​sites-available/​site.conf'' ​
 +
 +<code nginx> ​
 +server {
 +
 +# Add ssl in listen  ​
 +
 +        listen ​         443 ssl http2 default_server;​
 +        listen ​         [::]:443 ssl http2 default_server;​
 +
 +# ... comment out ssl  on; 
 +
 +        proxy_set_header ​       X-Forwarded-For $proxy_add_x_forwarded_for;​
 +        proxy_set_header ​       X-Forwarded-Proto $scheme;
 +        port_in_redirect ​       off;
 +        #ssl                    on;
 +
 +</​code>​
 +
 +Check related error and warning ​
 +
 +<code bash> ​
 +sudo nginx -t
 +</​code> ​
 +
 +----
 +
  • deb_mutism.1577035348
  • Last modified: 2019/12/23 02:22
  • by Júne Park