Windows2012より、NTPの同期間隔が1週間と長い為、時刻がずれる。
同期間隔を1日にする
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServerの末尾を0x1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval
を86400
2017年4月26日水曜日
2017年4月10日月曜日
TIME_WAITが残る
■CentOS7の場合。
# vi /etc/sysctl.conf
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 5
net.ipv4.tcp_tw_reuse = 1
tm_recycleは、悪影響もありそうなので、0のまま。
# sysctl -p で反映させる。
# netstat -anpto で確認
■Windowsの場合
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
に
TcpTimedWaitDelay(DWORD)を追加して値を代入
# vi /etc/sysctl.conf
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 5
net.ipv4.tcp_tw_reuse = 1
tm_recycleは、悪影響もありそうなので、0のまま。
# sysctl -p で反映させる。
# netstat -anpto で確認
■Windowsの場合
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
に
TcpTimedWaitDelay(DWORD)を追加して値を代入
2017年4月4日火曜日
CentOS サービス自動起動
/etc/systemd/system/httpgwd.service
[Unit]
Description=HTTP Proxy deamon
After=network.target
[Service]
Type=simple
RemainAfterExit=yes
ExecStart=/usr/local/sbin/httpgwd 80 192.168.1.1:80
[Install]
WantedBy=multi-user.target
CentOS7のサービス確認
systemctl list-unit-files
登録:
コメント (Atom)
keychron k8 max
https://launcher.keychron.com/ $ sudo tee /etc/udev/rules.d/99-keychron.rules <<EOF KERNEL=="hidraw*", SUBSYSTEM=="hid...
-
■Rocky Linux8 ORACLE RPM インストール # curl -o oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm https://yum.oracle.com/repo/OracleLinux/OL8/ap...
-
Permission denied: [client 127.0.0.1:33562] mod_wsgi (pid=5683): Unable to connect to WSGI daemon process 'analyze' on '/etc/htt...
-
$ alias sqlplus='rlwrap -pRed -if /usr/local/opt/rlwrap-extensions/sqlplus sqlplus64' $ sqlplus user/password@192.168.1.xxx:1521/sid...