This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi /etc/logrotate.d/httpd | |
/var/log/httpd/*log { | |
daily | |
missingok | |
rotate 7 | |
notifempty | |
sharedscripts | |
compress | |
delaycompress | |
postrotate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ date | |
Tue Dec 23 01:30:39 UTC 2014 | |
$ cat /etc/sysconfig/clock | |
ZONE="UTC" | |
UTC=true | |
$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo su - | |
# yum update | |
# yum --enablerepo=epel install -y unbound |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo su - | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
PEERDNS=yes | |
↓ | |
PEERDNS=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/redhat-release | |
CentOS release 6.6 (Final) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ drill (問い合わせたいFQDN) @(キャッシュDNSサーバのIPアドレスやFQDN) A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CloudWatchLogsFullAccess-unbound-server-role-201501180000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/redhat-release | |
CentOS release 6.5 (Final) | |
# yum update | |
# reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rpm -qa | grep ldns | |
# | |
# which drill | |
/usr/bin/which: no drill in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[oracle@example-oracle-11g ~]$ echo $ORACLE_BASE | |
/oracle_example/opt/oracle/app/oracle | |
[oracle@example-oracle-11g ~]$ | |
[oracle@example-oracle-11g ~]$ echo $ORACLE_SID | |
testsid | |
[oracle@example-oracle-11g ~]$ |
OlderNewer