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/05/22 17:17] โ€“ [๏ผ‹Work logs] Jรบne Parkdeb_mutism [2024/04/18 08:59] (current) โ€“ Jรบne Park
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_nimbus|๐๐ข๐Œ๐๐”๐’ ๐••๐•–๐”น๐•๐•’๐•Ÿ๐•”]]ย 
-    * [[:rpi_epigen|Private Cellarium โ”€ EPiGEN Crystal]]ย +    * [[debian_common|โ–  General info on Debian Linux]]ย 
-    * [[:rpi_nimbus|Webius Officium โ”€ NiMBUS deBlanc]]ย +    * [[deb_cicada|๐‚๐ข๐‚๐€๐ƒ๐€ ๐•Š๐•’๐•ฉ๐• ๐•ฅ๐•ฆ๐•ž]]ย 
-    * [[:debian_common|General info on Debian Linux]]ย +    * [[deb_gilead|๐†๐ข๐‹๐„๐€๐ƒ ๐”ธ๐•ฃ๐•˜๐•–๐•Ÿ๐•ฅ๐•’]] ย 
-    * [[:deb_mutism|Opus Imperium โ”€ MUTiSM Magnum]]+    * [[deb_symbio|๐’๐˜๐Œ๐๐ข๐Ž โ„‚๐• ๐•Ÿ๐•’๐•ฅ๐•ฆ๐•ค]]ย 
 +    * [[deb_tardis|๐“๐€๐‘๐ƒ๐ข๐’ ๐•Š๐•ก๐•’๐•ฅ๐•š๐•ฆ๐•ž]] ย 
 +    * [[deb_debris|๐ƒ๐„๐๐‘๐ข๐’ โ„‚๐•™๐•ฃ๐• ๐•ž๐•–]] 
   * {{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|๐Œ๐„๐’๐Ž๐๐ข๐’๐Œ]] ย 
-    * [[:pc_mesonium|Manibus Tablet โ”€ MESONiUM]]ย +    * [[PC_MESONiST|๐Œ๐„๐’๐Ž๐๐ข๐’๐“]]
-    * [[:pc_mesonist|Domumus Workstage โ”€ MESONiST]]ย +
-    * [[: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_EPiCON|๐„๐๐ข๐‚๐Ž๐ ๐”ฝ๐Ÿ™]] ย 
-    * [[:cell_epihex|Jรบne's Extentus โ”€ EPiHEX 6]]ย +    * [[CELL_EPiMER|๐„๐๐ข๐Œ๐„๐‘ ๐Ÿก]] ย 
-    * [[:cell_epinex|Jรบne's Secondus โ”€ EPiNEX 5]]ย +    * [[CELL_EPiLUX|๐„๐๐ข๐‹๐”๐— ๐ŸŸ]]   ย 
-    * [[:cell_epitab|Jรบne's Laminus - EPiTAB 7]]ย +    * [[CELL_EPiTAP|๐„๐๐ข๐“๐€๐ ๐Ÿ™๐Ÿ™]] ย 
-    * [[:cell_epixus|Jรบne's Tertius โ”€ EPiXUS 4]]+    * [[CELL_EPiETA|๐„๐๐ข๐„๐“๐€ ๐Ÿœ]] 
 </nav> </nav>
- 
 ===== 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 31:
 ==== Specification ====  ==== Specification ==== 
  
-  * {{fa>microchip?color=#dd4814}} 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}} Memory: ''8G''ย +ย 
-  {{fa>database?color=#dd4814}} Stoage: ย +{{mdi>memory?28&color=#dd4814}} Memory: ''**8G**''ย 
-    * ''128G'' (m.2 type SSD) --- ''**/**'' partition ย +ย 
-    * ''500G'' (SATA HDD) --- ''**~/storage**'' partition  ย +{{mdi>database-plus?28&color=#dd4814}} Storages: ย 
-  {{fa>wifi?color=#dd4814}} WiFi: ย +  * ''**128G**'' (m.2 type SSD) --- ''**/**'' partition ย 
-    * Intel<sup>(r)</sup> Dual Band Wireless-AC 3160 (802.11ac) ย +  * ''**500G**'' (SATA HDD) --- ''**~/storage**'' partition  ย 
-    * Realtek<sup>(r)</sup> WLAN USB Adapter (802.11ac)+ย 
 +=== Live status of storages ===ย 
 +ย 
 +<code ini>ย 
 +Mounted on     Type  Size  Used Avail Use%ย 
 +/              ext4  117G   15G   97G  13%ย 
 +/home/web-data ext4  916G  210G  660G  25%ย 
 +/home/www-data ext4  458G   49G  387G  12%ย 
 +</code>ย 
 +ย 
 +{{mdi>wifi?28&color=#dd4814}} Wireless: ย 
 +    * Intel<sup>ยฎ</sup> Dual Band Wireless-AC 3160 (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 60: Line 71:
 ==== ๏ผ‹Work logs ====  ==== ๏ผ‹Work logs ==== 
  
-  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 02:16// </sub>ย +  * Upgrade ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' <sub>  --- Updated on //2023/06/04 02:51// </sub>ย 
-  * {{fa>wordpress?color=#21759b}} Wordpress(tm) installed <sub> --- Updated on //2018/09/10 00:44//</sub>ย +  * Upgrade ''php 8.0'' <sub>  --- Updated on //2021/01/26 17:24// </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}}+  * Upgrade ''mariadb 10.5'' <sub>  --- Updated on //2020/08/31 13:25// </sub>ย 
 +  * ''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>ย 
 +  * **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>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>
   * ''mu.meson.one'' page is created and need to attention to edit <sub> --- Updated on //2018/07/13 02:00//</sub>   * ''mu.meson.one'' page is created and need to attention to edit <sub> --- Updated on //2018/07/13 02:00//</sub>
   * ''Let's Encrypted'' issued and installed  <sub> --- Updated on //2018/07/10 23:48//</sub>   * ''Let's Encrypted'' issued and installed  <sub> --- Updated on //2018/07/10 23:48//</sub>
 +
 +
 +<hidden>
 +  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 02:16// </sub>
 +</hidden>
  
 === ๏ผ‹Que to do ===  === ๏ผ‹Que to do === 
Line 161: Line 185:
  
 ---- ----
-==== 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 181: Line 205:
   iwconfig    // wireless configuration    iwconfig    // wireless configuration 
 </code>  </code> 
 +
 +
 +
 +
  
 ---- ----
Line 190: Line 218:
   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 276: Line 306:
  
 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 414: Line 458:
 ----  ---- 
  
-==== 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 482: Line 528:
 ---- ----
  
 +=== 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/
 +
 +output_buffering = 0 
 +</code> 
 +
 +{{mdi>lightbulb-on?28&color=#003666}} ''max_execution_time'' could be ''**21600**'' if showing error during assembling file(s).
 +
 +''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> 
 +
 +{{mdi>lightbulb-on?32&color=#003666}} ''fastcgi_read_timeout'' could be ''**21600**'' if showing error during assembling file(s).
 +
 +
 +  * <text type="info">{{fa>lightbulb-o?24}}</text> <button type="link" icon="mdi mdi-book-search">[[https://meson.in/31Fqa2k|Uploading big files > 512MB]]</button> --- on Nextcloud Administration Manual 
 +  * <text type="info">{{fa>lightbulb-o?24}}</text> <button type="link" icon="mdi mdi-bookmark-multiple">[[https://meson.in/3bcdXVJ|How to Fix 504 Gateway Timeout using Nginx]]</button> --- Fix 504 timeout problem 
 +
 +
 +----
 +
 +=== Enable PHP OPcache === 
 +
 +[[https://docs.nextcloud.com/server/23/admin_manual/installation/server_tuning.html#enable-php-opcache|Nextcloud Manual]] 
 +
 +----
 +
 +=== Post installation === 
 +
 +Check overview 
 +
 +  * The PHP module "imagick" in this instance has no SVG support. 
 +
 +<code bash> 
 +sudo apt install php-imagick imagemagick
 +</code> 
 +
 +
 +
 +
 +----
 ==== Reset MySQL password ====  ==== Reset MySQL password ==== 
  
Line 520: Line 633:
  
 ---- ----
-==== Solved Problems =====+===== Solved problems ======
  
-=== Has sum mismatch === +==== 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="info">{{fa>lightbulb-o}} **Solution**</text>: ''Delete'' ''.step'' file in ''nextcloud-data/updater-randomstring/**.step**''. ย 
 +ย 
 +----ย 
 +ย 
 +==== 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 540: Line 660:
  
 ---- ----
 +
 +==== 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="info">{{fa>lightbulb-o}} **Solution**</text>: ''Edit'' Fetching time in script, located in ''../nextcloud_root/lib/private/App/AppStore/Fetcher/Fetcher.php''
 +
 +<code php> 
 +  }
 + 
 +  $options = [
 +- 'timeout' => 10,
 ++ 'timeout' => 300,
 +  ];
 +</code>
 +
 +---- 
 +
 +==== 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.1558545473
  • Last modified: 2019/05/22 17:17
  • by Jรบne Park