| Next revision | Previous revision |
| deb_mutism [2019/08/16 11:31] โ [Solved Problems] Jรบne Park | deb_mutism [2025/09/02 18:36] (current) โ [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_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) |
| |
| ---- | ---- |
| ==== 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) --- ''**/home/www-data**'' partition ย |
| | * ''**1T**'' (SATA HDD) --- ''**/home/web-data**'' partition --- backup point |
| |
| === Live status of storages === | === Live status of storages === |
| |
| <code ini> | <code ini> |
| Mounted on Type Size Used Avail Use%ย | ย |
| / ext4 117G 15G 97G 14%ย | โโโโโโโโโโโฌโโโโโโโโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโย |
| /home/meson/storage ext4 458G 281G 154G 65% | โ Size โ Used โ Free(%) โ Mount โย |
| | โโโโโโโโโโโผโโโโโโโโโโผโโโโโโโโโโโโโโผโโโโโโโโโโโโโโคย |
| | โ 117G โ 16G โ 96G(15%) โ root โย |
| | โ 916G โ 302G โ 568G(35%) โ web-data โย |
| | โ 458G โ 55G โ 380G(13%) โ www-data โย |
| | โโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโดโโโโโโโโโโโโโโ |
| </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 ==== |
| |
| | * System Upgrade ''**Ubuntu 24.04 noble numbat**'' <sub> --- Updated on //2025/02/27 03:04// </sub> |
| | * 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'' <sub> --- Updated on //2023/06/04 02:51// </sub> |
| | * Upgrade ''php 8.0'' <sub> --- Updated on //2021/01/26 17:24// </sub> |
| | * 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> | * {{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> |
| |
| ---- | ---- |
| ==== 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 === | === Setting for uploading large size files === |
| |
| {{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 | ''edit'' php_value in ''/etc/php/7.x/fpm/php.ini'' |
| |
| == Install Redis == | <code php> ย |
| | upload_max_filesize 16Gย |
| | post_max_size 16G |
| |
| <code bash> ย | max_input_time 3600ย |
| sudo apt install redis-server php-redisย | max_execution_time 3600 |
| </code> | |
| |
| == Check running service == | upload_tmp_dir = /var/big_temp_file/ |
| |
| <code bash> ย | output_buffering = 0 |
| sudo ps ax | grep redisย | |
| sudo netstat -tlnp | grep redis | |
| </code> | </code> |
| |
| == Clearing the Redis Cache == | {{mdi>lightbulb-on?28&color=#003666}} ''max_execution_time'' could be ''**21600**'' if showing error during assembling file(s). |
| |
| <code bash> ย | ''edit'' ''/etc/php/7.x/fpm/pool.d/www.conf'' |
| sudo redis-cliย | |
| SELECT <dbIndex>ย | |
| FLUSHDBย | |
| </code> | |
| |
| == Add configuration in ownCloud == | <code php>ย |
| | request_terminate_timeout = 300ย |
| | </code> |
| |
| Edit ''/var/www/owncloud/config/config.php'' if ownCloud root is ''/var/www/owncloud'' and add the followings, | ''edit'' ''fastcgi_read_timeout'' value in Nginx virtual host configuration |
| |
| <code php> ย | <code nginx> ย |
| <?phpย | location ~ .php$ {ย |
| $CONFIG = array (ย | root /var/www/sites/nginxtips.com;ย |
| ... ... ... ย | try_files $uri =404;ย |
| ...ย | fastcgi_pass unix:/tmp/php5-fpm.sock;ย |
| ),ย | fastcgi_index index.php;ย |
| 'memcache.local' => '\\OC\\Memcache\\Redis',ย | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;ย |
| 'filelocking.enabled' => 'true',ย | include fastcgi_params;ย |
| 'memcache.distributed' => '\\OC\\Memcache\\Redis',ย | fastcgi_read_timeout 300;ย |
| 'memcache.locking' => '\\OC\\Memcache\\Redis',ย | } |
| 'redis' =>ย | |
| array (ย | |
| 'host' => 'localhost',ย | |
| 'port' => 6379,ย | |
| 'timeout' => 0,ย | |
| 'dbindex' => 0,ย | |
| ),ย | |
| ); | |
| </code> | </code> |
| |
| ----ย | {{mdi>lightbulb-on?32&color=#003666}} ''fastcgi_read_timeout'' could be ''**21600**'' if showing error during assembling file(s). |
| === Run background jobs === | |
| |
| Add ''crontab'' with web user such as ''www-data'' | |
| |
| <code bash> ย | * <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 ย |
| # crontab -u www-data -eย | * <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 |
| </code> | |
| |
| Add job | |
| |
| <code bash> ย | ---- |
| * * * * * /usr/bin/php -f /path/to/your/owncloud/cron.phpย | |
| </code> | |
| |
| ---- | |
| |
| ==== Reset MySQL password ==== | ==== Reset MySQL password ==== |
| |
| ---- | ---- |
| ==== 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. |
| |
| |
| ---- | ---- |
| === 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. |
| |
| |
| ---- | ---- |
| === 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. |
| |
| ---- | ---- |
| | |
| | ==== 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> |
| | |
| | ---- |
| | |