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 [2025/03/18 01:38] – [Install Nextcloud] 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/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 461: 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 577: 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.1742261922
  • Last modified: 2025/03/18 01:38
  • by JΓΊne Park