7 articles Linux

Mysql Replication

http://www.clusterdb.com/mysql/choosing-the-right-mysql-high-availability-solution-webinar-replay https://laracasts.com/series/server-management-with-forge https://forge.laravel.com/features http://www.oracle.com/technetwork/articles/dsl/white-php-part1-355135.html http://www.oracle.com/technetwork/articles/dsl/white-php-part2-355138.html http://www.prodevtips.com/2013/07/13/mysql-55-replication-bash-script/ https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-in-mysql http://www.xoriant.com/blog/database/mysql-master-slave-replication-in-5-easy-steps.html http://www.icchasethi.com/mysql-replication/ http://fromdual.com/how_to_setup_mysql_master-slave_replication https://www.howtoforge.com/how-to-set-up-database-replication-in-mysql-on-ubuntu-9.10 5 free handy tools for monitoring and managing MySQL replication https://www.percona.com/downloads/

How To get Email Notifications For User Logins (SSH/SFTP)

http://www.tecmint.com/get-root-ssh-login-email-alerts-in-linux/ https://www.vultr.com/docs/enable-ssh-login-notification-on-linux + yum install mailx + cd /root + nano .bashrc IP=”$(echo $SSH_CONNECTION | cut -d ” ” -f 1)” HOSTNAME=$(hostname) NOW=$(date +”%e %b %Y, %a %r”) echo ‘Someone from ‘$IP’ logged into ‘$HOSTNAME’ on ‘$NOW’.’ | mail -s ‘SSH Login Notification’ email

Secure VPS

Block SSH Server Attacks (Brute Force Attacks) Using DenyHosts http://www.tecmint.com/block-ssh-server-attacks-brute-force-attacks-using-denyhosts/ sshd: 116.98.0.0/16 sshd: 116.105.0.0/16 Install Fail2ban (Intrusion Prevention) System on RHEL/CentOS 6.3/5.8, Fedora 17/12 http://www.tecmint.com/install-fail2ban-on-rhel-centos-fedora/

Linux Collection

Error 500 Internal server error hosting Đổi permission chown -R ateamdes:ateamdes iwp +++++ Tim Error log file CentOS CWP tail -f /var/log/suphp.log CWP Login Logs /var/log/cwp_login.log Apache server Logs location: /usr/local/apache/logs/ suPHP Log /var/log/suphp.log PHP Rebuild Log (PHP Switcher) /var/log/php-rebuild.log [[email protected] logs]# grep ErrorLog /usr/local/apache/conf/httpd.conf # ErrorLog: The location of the error log file. #…