centos 7 : ntpd kernel level time sync Hint, NTP synchronized timedatectl

centos 7 NTP synchronized   # timedatectl  status     # timedatectl set-ntp true   More Hint! # timedatectl | grep -i 'time zone' # ls -l /etc/localtime # timedatectl list-timezones | grep Asia/Seoul # timedatectl set-timezone Asia/Seoul Asia/Seoul => KST     yum install -y ntp firewall-cmd --add-service=ntp --permanent firewall-cmd --reload systemctl enable ntpd systemctl […]

Read More

CentOS7 : /caucho-status setup with .htpasswd in VirtualHost, using pure php Hint

configurate apache-caucho   /etc/httpd/conf/httpd.conf LoadModule caucho_module modules/mod_caucho.so <Location /caucho-status> AuthType Basic AuthName "restricted area" AuthUserFile /home/domain/.htpasswd require valid-user   SetHandler caucho-status </Location> <Location /servlet/*>    SetHandler caucho-request </Location> NameVirtualHost *:80 <VirtualHost *:80> ServerName www.domain.com DocumentRoot /home/domain/public_html php_admin_value open_basedir /home/domain:/tmp php_admin_value include_path /home/domain LimitRequestLine 81900 <FilesMatch "^((?!\.php).)*$"> ResinConfigServer localhost 6800 CauchoConfigCacheDirectory /etc/httpd CauchoStatus yes   </FilesMatch>   […]

Read More

CentOS 7 : /resin-admin setup Hint

/etc/resin/resin.properties   app.http          : 8080 web.http          : 8080 remote_admin_enable : true web_admin_enable : true web_admin_external : true admin_external : true admin_secure : true   http://www.domain.com:8080/resin-admin/login.php   Generate encrypted password by [Create Configuration FIle]     /etc/resin/admin-users.xml <resin:AdminAuthenticator xmlns="http://caucho.com/ns/resin"                     […]

Read More