Install rkhunter on CentOS 6.6

Rootkit Hunter (rkhunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. Rootkits are self-hiding toolkits secretly installed by a malicious intruder to allow that user to gain access to the server. Rootkit Hunter offers protection by comparing SHA-1 hashes of important files with known good ones in a online database … Read more

Analyze Slow Query log

There is a nice tool like Percona’s ‘pt-query-digest’ tool at http://www.percona.com/doc/percona-toolkit/2.2/pt-query-digest.html, which will automatically parse the slow_query_log and analyze it for the slowest queries. you run the command Wich should output a summary and a list of the longest-to-execute queries.

Add resolvers to ubuntu server

Once you have entered the values correctly, press Ctrl+Enter to save it with the current filename, then press Ctrl+X to exit the editor. Provided you entered your values correctly, verify the new settings by retyping the cat command: Apply setting to Interface After you have determined the values entered are correct, restart networking with the … Read more