Linux

NTP

Posted on

To check if ntpd is configured: $chkconfig –list ntpd ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off Install and configure ntpd if not configured: #yum install ntp ntpdate ntp-doc #chkconfig ntpd on Initial time synchronization: #ntpdate <ntp-srv-IP-address> Configure ntpd: Into /etc/ntpd.conf add NTP server and comment out default servers if necessary: server <…> Start ntpd: […]

FreeBSD

FreeBSD useful commands

Posted on

Show all processes # ps -auxww Change locale http://www.maxblogs.ru/articles/rusifikatsiya-freebsd-2 charset=UTF-8 lang=ru_RU.UTF-8 LC_ALL=ru_RU.UTF-8 tc=default: # locale LANG=ru_RU.UTF-8 LC_CTYPE=”ru_RU.UTF-8″ LC_COLLATE=”ru_RU.UTF-8″ LC_TIME=”ru_RU.UTF-8″ LC_NUMERIC=”ru_RU.UTF-8″ LC_MONETARY=”ru_RU.UTF-8″ LC_MESSAGES=”ru_RU.UTF-8″ LC_ALL=ru_RU.UTF-8