Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision |
deb_mutism [2019/12/22 17:22] – [Specification] Júne Park | deb_mutism [2020/07/25 15:02] – [Disable sleep/suspend/hibernate] 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]] |
===== 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 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}} |
| |
| |
==== +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> |
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/ |
| </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 ==== |
| |