CONTENTS


Lastmodified 2022-05-10 (火) 09:09:31


Nextcloud

 1035  13:50   locate nextcloud
 1036  13:50   portinstall www/nextcloud
 1037  13:56   apachectl restart
 1038  14:01   graphics/ImageMagick-nox11
 1039  14:02   portinstall graphics/ImageMagick-nox11
 1040  14:41   history
 1041  14:49   df -h
 1042  14:57   locate php.ini
 1043  14:59   apachectl restart
 1044  15:01   apachectl restart
 1045  15:03   locate config.php
 1046  15:04   locate php.ini
  990  6:07    cd SSL/
  991  6:08    openssl genrsa -out server.key 2048
  992  6:08    openssl req -new -key server.key -out server.csr
  993  6:12    openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
  994  6:16    ll
  995  6:16    cp server.* /usr/local/etc/apache24/
  998  6:22    chmod 0400 /usr/local/etc/apache24/server.*

edit httpd.conf

# 以下の行のコメントを外す
LoadModule socache_shmcb_module libexec/apache24/mod_socache_shmcb.so
LoadModule ssl_module libexec/apache24/mod_ssl.so
Include etc/apache24/extra/httpd-ssl.conf

edit httpd-ssl.conf

<VirtualHost _default_:443>

#   General setup for the virtual host
DocumentRoot "/usr/local/www/apache24/data"
ServerName xxxx.smb.net:443
ServerAdmin xxxx@smb.net
ErrorLog "/var/log/httpd-error.log"
TransferLog "/var/log/httpd-access.log"
  999  6:25    apachectl restart

post install settings

config.sample.php

/**
 * Where user files are stored. The SQLite database is also stored here, when
 * you use SQLite.
 *
 * Default to ``data/`` in the Nextcloud directory.
 */
'datadirectory' => '/usr/local/www/nextcloudnextcloud/data',

G7

# cp -rp /usr/local/www/nextcloud/data /usr/home/Nextcloud/
# chown -R www:www /usr/home/Nextcloud/data
'datadirectory' => '/usr/home/Nextcloud/data',

/usr/local/etc/php.ini

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

Total access 5342:本日 1:昨日 0

Counter: 5342, today: 1, yesterday: 0

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS