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 [2024/05/11 15:37] โ€“ [Specification] Jรบne Parkdeb_mutism [2026/09/23 11:14] (current) โ€“ external edit 127.0.0.1
Line 37: Line 37:
 {{mdi>database-plus?28&color=#dd4814}} 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  13%ย +โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ย 
-/home/www-data ext4  458G   49G  386G  12%ย +โ”‚  Size   โ”‚  Used   โ”‚  Free(%)    โ”‚    Mount    โ”‚ย 
-/home/web-data ext4  916G  266G  605G  31%+โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คย 
 +โ”‚ 117G    โ”‚ 16G     โ”‚ 96G(15%)    โ”‚ root        โ”‚ย 
 +โ”‚ 916G    โ”‚ 302G    โ”‚ 568G(35%)   โ”‚ web-data    โ”‚ย 
 +โ”‚ 458G    โ”‚ 55G     โ”‚ 380G(13%)   โ”‚ www-data    โ”‚ย 
 +โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
 </code> </code>
  
Line 71: Line 76:
 ==== ๏ผ‹Work logs ====  ==== ๏ผ‹Work logs ==== 
  
-  * Upgrade ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' <sub>  --- Updated on //2023/06/04 02:51// </sub>ย +  * Install ''Node-RED'' using docker ''flow.meson.one'' <sub>--- Updated on //2026/01/20 02:57//</sub>ย 
-  * Upgrade ''php 8.0'' <sub>  --- Updated on //2021/01/26 17:24// </sub>ย +  * System Upgrade ''**Ubuntu 24.04 noble numbat**'' <sub>--- Updated on //2025/02/27 03:04//</sub>ย 
-  * Upgrade ''mariadb 10.5'' <sub>  --- Updated on //2020/08/31 13:25// </sub>ย +  * Attach Ubuntu Pro subscription <sub>--- Updated on //2024/05/21 17:41//</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 ''php 8.2'' and purge ''php 7.4'', ''php 8.0'' <sub>--- Updated on //2023/06/04 02:51//</sub>ย 
-  * ''Upgrade'' Ubuntu **''20.04''** - ''focal fossa'' <sub>  --- Updated on //2020/07/24 01:23// </sub>ย +  * Upgrade ''php 8.0'' <sub>--- Updated on //2021/01/26 17:24//</sub>ย 
-  * Change ''backup rsync'' to another partition <sub>  --- Updated on //2020/06/27 04:01// </sub>ย +  * Upgrade ''mariadb 10.5'' <sub>--- Updated on //2020/08/31 13:25//</sub>ย 
-  * Migrate ''mariadb 10.3.22'' from ''mysql'' <sub>  --- Updated on //2020/03/30 01:42// </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>ย 
-  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/08/01 21:17// </sub>ย +  * ''Upgrade'' Ubuntu **''20.04''** - ''focal fossa'' <sub>--- Updated on //2020/07/24 01:23//</sub>ย 
-  * **Nextcloud** ''install'' <sub>  --- Updated on //2019/05/17 01:02// </sub>ย +  * Change ''backup rsync'' to another partition <sub>--- Updated on //2020/06/27 04:01//</sub>ย 
-  * {{fa>wordpress?color=#21759b}} Wordpress(tm) ''installed'' <sub> --- Updated on //2018/09/10 00:44//</sub>ย +  * Migrate ''mariadb 10.3.22'' from ''mysql'' <sub>--- Updated on //2020/03/30 01:42//</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}}ย +  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>--- Updated on //2019/08/01 21:17//</sub>ย 
-  * **Docker Client/Server** installed <sub> --- Updated on //2018/07/18 01:20//</sub>ย +  * **Nextcloud** ''install'' <sub>--- Updated on //2019/05/17 01:02//</sub>ย 
-  * ''wiki.meson.one'' & ''x.meson.ml'' certificates are issued <sub> --- Updated on //2018/07/17 11:17//</sub>ย +  * {{fa>wordpress?color=#21759b}} Wordpress(tm) ''installed'' <sub>--- Updated on //2018/09/10 00:44//</sub>ย 
-  * ''mu.meson.one'' page is created and need to attention to edit <sub> --- Updated on //2018/07/13 02:00//</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}}ย 
-  * ''Let's Encrypted'' issued and installed  <sub> --- Updated on //2018/07/10 23:48//</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>ย 
 +  * ''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>
  
  
 <hidden> <hidden>
-  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>  --- Updated on //2019/05/23 02:16// </sub>+  * {{fa>certificate}} ''Renew SSL certificates'' (Let's Encrypt) done <sub>--- Updated on //2019/05/23 02:16//</sub>
 </hidden> </hidden>
  
Line 459: Line 467:
  
 ==== Install Nextcloud ====  ==== Install Nextcloud ==== 
- 
-=== Memory caching configuration ===  
- 
-{{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 ==  
- 
-<code bash>  
-sudo apt install redis-server php-redis 
-</code>  
- 
-== Check running service ==  
- 
-<code bash>  
-sudo ps ax | grep redis 
-sudo netstat -tlnp | grep redis 
-</code>  
- 
-== Clearing the Redis Cache ==  
- 
-<code bash>  
-sudo redis-cli 
-  SELECT <dbIndex> 
-  FLUSHDB 
-</code>  
- 
-== Add configuration in ownCloud ==  
- 
-Edit ''/var/www/owncloud/config/config.php'' if ownCloud root is ''/var/www/owncloud'' and add the followings,  
- 
-<code php>  
-<?php 
-$CONFIG = array ( 
-... ... ...  
-... 
-), 
-'memcache.local' => '\\OC\\Memcache\\Redis', 
-'filelocking.enabled' => 'true', 
-'memcache.distributed' => '\\OC\\Memcache\\Redis', 
-'memcache.locking' => '\\OC\\Memcache\\Redis', 
-'redis' => 
-array ( 
-'host' => 'localhost', 
-'port' => 6379, 
-'timeout' => 0, 
-'dbindex' => 0, 
-), 
-);  
-</code>  
- 
----- 
-=== Run background jobs ===  
- 
-Add ''crontab'' with web user such as ''www-data''  
- 
-<code bash>  
-# crontab -u www-data -e 
-</code>  
- 
-Add job  
- 
-<code bash>  
-*  *  *  *  * /usr/bin/php -f /path/to/your/owncloud/cron.php 
-</code>  
- 
----- 
  
 === Setting for uploading large size files === === Setting for uploading large size files ===
Line 575: Line 515:
 ---- ----
  
-=== 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 ==== 
  
  • deb_mutism.1715441851
  • Last modified: 2024/05/11 15:37
  • by Jรบne Park