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 [2024/04/18 08:59] โ€“ Jรบne Parkdeb_mutism [2025/06/23 16:49] (current) โ€“ [Specification] Jรบne Park
Line 42: Line 42:
  
 <code ini> <code ini>
-Mounted on     Type  Size  Used Avail Use%ย +ย 
-/              ext4  117G   15G   97G  13%ย +โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ย 
-/home/web-data ext4  916G  210G  660G  25%ย +โ”‚  Size   โ”‚  Used   โ”‚  Free(%)    โ”‚    Mount    โ”‚ย 
-/home/www-data ext4  458G   49G  387G  12%+โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คย 
 +โ”‚ 117G    โ”‚ 16G     โ”‚ 96G(15%)    โ”‚ root        โ”‚ย 
 +โ”‚ 916G    โ”‚ 302G    โ”‚ 568G(35%)   โ”‚ web-data    โ”‚ย 
 +โ”‚ 458G    โ”‚ 55G     โ”‚ 380G(13%)   โ”‚ www-data    โ”‚ย 
 +โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
 </code> </code>
  
Line 71: Line 75:
 ==== ๏ผ‹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.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 ''php 8.0'' <sub>  --- Updated on //2021/01/26 17:24// </sub>
Line 459: Line 465:
  
 ==== 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 513:
 ---- ----
  
-=== 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.1713430779
  • Last modified: 2024/04/18 08:59
  • by Jรบne Park