Next revision | Previous revision Next revisionBoth sides next revision |
deb_mutism [2019/07/25 17:43] – [Specification] Júne Park | deb_mutism [2024/04/07 00:53] – [Specification] Júne Park |
---|
<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]] |
* [[: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]] |
| * [[:cell_epimer|Júne's Maximus ─ EPiMER 5P]] |
* [[:cell_epinex|Júne's Secondus ─ EPiNEX 5]] | * [[:cell_epinex|Júne's Secondus ─ EPiNEX 5]] |
* [[:cell_epitab|Júne's Laminus - EPiTAB 7]] | * [[:cell_epitab|Júne's Laminus - EPiTAB 7]] |
===== 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) |
| |
---- | ---- |
==== 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 97G 14% | / ext4 117G 15G 97G 13% |
/home/meson/storage ext4 458G 281G 154G 65% | /home/web-data ext4 916G 210G 660G 25% |
| /home/www-data ext4 458G 49G 387G 12% |
</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}} |
| |
| |
==== +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 === |
| |
---- | ---- |
==== 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. |
iwconfig // wireless configuration | iwconfig // wireless configuration |
</code> | </code> |
| |
| |
| |
| |
| |
---- | ---- |
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]] |
| |
---- | ---- |
| |
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''. |
| |
---- | ---- |
---- | ---- |
| |
==== 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 == |
---- | ---- |
| |
| === 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 ==== |
| |
| |
---- | ---- |
==== 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. |
| |
| |
---- | ---- |
| |
| ==== 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> |
| |
| ---- |
| |