LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
<VirtualHost myhost.com>
CustomLog /var/log/httpd/myhost.com.access.log combined
....
</VitrualHost>
server {
access_log /var/log/nginx/myhost.com.access.log;
}
mysqladmin password
UPDATE mysql.user SET authentication_string = PASSWORD('*****') WHERE User = 'root' AND Host = 'localhost';
log_directory = 'pg_log'
log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
log_statement = 'all'
logging_collector = on
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> ..... </div>
apt-get install auditd
systemctl start auditd
auditctl -w /var/www/html/index.nginx-debian.html -p arw -k nginx
ausearch -k nginx
time->Wed Apr 5 23:02:16 2017
type=PROCTITLE msg=audit(1491426136.219:255): proctitle=6E67696E783A20776F726B65722070726F63657373
type=PATH msg=audit(1491426136.219:255): item=0 name="/var/www/html/index.nginx-debian.html" inode=22156819 dev=09:02 mode=0100644 ouid=0 ogid=0 rdev=00:00 nametype=NORMAL
type=CWD msg=audit(1491426136.219:255): cwd="/"
type=SYSCALL msg=audit(1491426136.219:255): arch=c000003e syscall=2 success=yes exit=50 a0=202e79d a1=800 a2=0 a3=202e720 items=1 ppid=8415 pid=8418 auid=4294967295 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="nginx" exe="/usr/sbin/nginx" key="nginx"
KeyList /etc/mail/dkim-milter/keys/keylist
*@domain1.com:key1:/etc/pki/postfix/dkim/key1
*@domain2.com:key2:/etc/pki/postfix/dkim/key2
git checkout dev
git commit -am "commit"
git push
git checkout production
git merge dev
git pull или
git pull --rebase
sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
service ssh reload