全文検索:
- 14 Let's Encrypt無料のSSL証明書
- certbot-auto certonly \ # 証明書の作成 --webroot \ # 既存のウェブサーバを使うモードを選択 -w /... /jp010.public.develop.kumolabo.com/* lrwxrwxrwx 1 root root 57 11月 11 17:02 2016 /etc/letsencrypt/live/hogehoge.fl8.jp/cert.pem -> ../../archive/hogehoge.fl8.jp/cert2.pem lrwxrwxrwx 1 root root 58 11月 11 17:02 2016 /etc/letsencrypt/live/h
- 15 CentOS6 suPHP7.2
- r_user=apache ;Path all scripts have to be in docroot=/ ;Path to chroot() to before executing script ;chroot=/mychroot ; Security options allow_file_group_writeable=false allow_file_others_writeable=false allow_
- 19 Let's Encrypt ワイルドカード証明書
- の部分は、対象のIPが付いているNIC名を入れる。(ubuntuとかはens4とか) <code|/root/vapi.sh> #!/bin/bash ETH=eth0 script=/root/vapi.php IP=`ip -4 a | grep inet.*${ETH} | awk '{print $2}'... eep 120 exit $? </code> 実行権限だけ付けておく chmod 755 /root/vapi.sh ===== 3.証明書取得 ===== <code> domain=hog... -d *.${domain} \ --manual-auth-hook=/root/vapi.sh </code> ===== 4.証明書更新 ===== certbot r
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1
- /suphp_log loglevel=info webserver_user=apache docroot=/ env_path=/bin:/usr/bin umask=0022 min_uid=500 m... le=false ;Check wheter script is within DOCUMENT_ROOT check_vhost_docroot=false ;Send minor error messages to browser errors_to_browser=true [handlers] ;Ha... x ServerName dokuwiki-test.fl8.jp DocumentRoot /home/www/public_html/dokuwiki-test suPHP_Use
- 32 CentOS5でTLS1.2 Apache PHP
- /httpd-2.2.24.pid -ServerRootも変更確認 # grep ^ServerRoot conf/httpd.conf ServerRoot "/opt/httpd/httpd-2.2.24" </code> ===== PHP5.6 ===== <code> # yum install py
- 03 SSL中間証明書確認
- TED(00000003) depth=2 /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root CA verify return:1 depth=1 /C=BE/O=GlobalSign nv-sa/CN=GlobalSign Domain Validati
- 10 Memchached
- on </code> ===== memcached-tool ===== <code> [root@fl8 ~]# memcached-tool localhost display # Ite... s 1 0 no 0 0 0 [root@fl8 ~]# memcached-tool localhost stats #localhost
- 13 mod_line_edit
- rpm -ivh mod_line_edit-1.0.0-2.el5.src.rpm # cd /root/rpmbuild/SPECS/ # rpmbuild -ba mod_line_edit.spec... Host *:80> ServerName hoge.fl8.jp DocumentRoot /home/www/public_html/hoge <IfModule !mod_lin
- 23 Apache vhost一覧
- mi/apache/conf/bitnami/bitnami-ssl.conf:15) ServerRoot: "/opt/bitnami/apache" Main DocumentRoot: "/opt/bitnami/apache/htdocs" Main ErrorLog: "/opt/bitnami/apa
- 60 Apacheが起動しない AH01760
- 32767 </code> ===== 対策 ===== <code> # ipcrm -a root@r-947-VM:~# ipcs ------ Message Queues -------- ... nattch status 0x00000000 15499590 root 600 1000 3 dest
- 18 Let's Encrypt Certbot
- bot ===== 5.証明書作成 ===== certbot certonly --webroot -w /var/www/html -d hogehoge.com ===== 6.証明書更新 =
- 83 PHP複数バージョンを共存
- '{print $4}' ; done /etc/php.ini /opt/remi/php56/root/etc/php.ini /etc/opt/remi/php71/php.ini </code>
- mod_suphp
- ServerAdmin matsui@flat8.co.jp DocumentRoot /home/hogehoge/public_html ServerAlias www.f