Smile

…to Remember, …to Forget

Browsing Posts in Linux

for Centos 7, chrony is used in place of ntp.comparing chrony vs ntp, >>> http://chrony.tuxfamily.org/manual.html#Other-time-synchronisation-packages   to check what files chrony package installed, rpm -ql chrony [root@localhost ~]# rpm -ql chrony/etc/NetworkManager/dispatcher.d/20-chrony/etc/chrony.conf/etc/chrony.keys/etc/dhcp/dhclient.d/chrony.sh/etc/logrotate.d/chrony/usr/bin/chronyc/usr/lib/systemd/ntp-units.d/50-chronyd.list/usr/lib/systemd/system/chrony-wait.service/usr/lib/systemd/system/chronyd.service/usr/libexec/chrony-helper/usr/sbin/chronyd/usr/share/doc/chrony-1.29.1/usr/share/doc/chrony-1.29.1/COPYING/usr/share/doc/chrony-1.29.1/NEWS/usr/share/doc/chrony-1.29.1/README/usr/share/doc/chrony-1.29.1/chrony.conf.example/usr/share/doc/chrony-1.29.1/chrony.conf.example2/usr/share/doc/chrony-1.29.1/chrony.keys.example/usr/share/doc/chrony-1.29.1/chrony.txt/usr/share/doc/chrony-1.29.1/faq.txt/usr/share/info/chrony.info.gz/usr/share/man/man1/chrony.1.gz/usr/share/man/man1/chronyc.1.gz/usr/share/man/man5/chrony.conf.5.gz/usr/share/man/man8/chronyd.8.gz/var/lib/chrony/var/lib/chrony/drift/var/lib/chrony/rtc/var/log/chrony

with reference to: https://kb.iu.edu/d/adqw   You can kill a Unix login session remotely by sending a hangup signal (SIGHUP) to the process running the login session.

lspci ( lists pci device) lsusb ( lists usb device) lsscsi ( lists scsi device) systool fdisk -l ( lists hard drive) dmidecode ( lists hardware model, serial number, cpu, memory. This command was handy when i needed to find serial number without a visit to data center) cat /proc/cpuinfo ( more on cpu) cat […]

# echo -n “1122” | openssl dgst -md5 Using openssl: echo “1122” | openssl dgst -md5 01ebeaafc334e503f4acc94a18df9fa5 and using MySQL: SELECT md5(“1122”); 3b712de48137572f3849aabd5666a4e3 echo -n, don’t send the eol character. http://www.vanemery.com/Linux/Apache/openSSL.html http://marc.info/?l=openssl-users&m=112537522329771&w=2 http://md5-hash-online.waraxe.us/ http://www.youtube.com/watch?v=3SmndwrRkxw (reset the wp password with mysql)

yum exclude

No comments

http://linux.die.net/man/5/yum.conf

CustomLog /home/vhost/www/log/access.log common

ref: http://linux.vbird.org/linux_server/0410vsftpd.php 更嚴格的 chroot 環境

What a FREE WORLD!