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

Total access 5324:本日 1:昨日 2

Counter: 5324, today: 1, yesterday: 2

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