CONTENTS
#contents
----
Lastmodified &lastmod;
----
*Nextcloud [#ta2c5edf]

  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 [#s87c3949]

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 [#baf5524a]

 # 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


/usr/local/etc/apache24/Includes/nextcloud.conf

 Alias /nextcloud /usr/local/www/nextcloud
 AcceptPathInfo On
 <Directory /usr/local/www/nextcloud>
     AllowOverride All
     Require all granted
     Header set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
 </Directory>

** portinstall databases/memcached [#wf320fdb]


**  # portinstall databases/pecl-memcache [#o3dac711]

http://kaworu.jpn.org/kaworu/2008-08-20-1.php

**  # portinstall databases/pecl-memcache [#ee809aee]
//'memcache.local' => '\OC\Memcache\APCu',

// 'memcache.local' => '\OC\Memcache\APCu',
----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);


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