Thought Maldet would just find manky files, it didn’t, I just wanted it to see the obvious, it did eventually after I did.. 1) Install Clam AV (By googling CentOS7 clamav as you do, cheers mate) yum install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd -y 2) Configure daemon cp /usr/share/clamav/template/clamd.conf /etc/clamd.d/clamd.conf sed ..

Read more

Just grabbed the user agent out of apache (combined) log file: cat my_logfile.log | awk ‘{print$14}’ |cut -d’/’ -f1 |sort |uniq -dc |sort -nr xxxx SemrushBot xxxx MJ12bot Apache (combined) log file cat my_logfile.log | awk ‘{print$12}’ |cut -d'”‘ -f2 |cut -d’/’ -f1 |sort |uniq -dc |sort -nr xxxx DomainCrawler xxxx Mozilla xxxx Baiduspider xxxx ..

Read more

Dynamic v On-demand Good write up here. I’d use on-demand for low priority and/or low traffic sites, especially if you’re running a mix of sites on the same box. On-demand: As mentioned: pm = ondemand pm.max_children = 5 pm.process_idle_timeout = 10s pm.max_requests = 200 Set pm.max_children pretty low for your low priority sites, if it’s ..

Read more

Grab the list from the servers rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server1.txt rpm -qa –queryformat=’%{NAME}-%{VERSION}\n’ |sort > server2.txt Copy the files over to where you want to compare, probably one of the servers in question. for R in $(cat server1.txt) ; do grep $R server2.txt >/dev/null || echo..

Read more

Install Minion CentOS7 rpm -Uvh https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el7.noarch.rpm yum install salt-minion CentOS6 rpm -Uvh https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm yum install salt-minion Xenserver 7.2 rpm -Uvh https://repo.saltstack.com/yum/redhat/salt-repo-latest-2.el6.noarch.rpm rpm -ivh –nodeps https://www.rpmfind.net/linux/centos/7.4.1708/updates/x86_64/Packages/systemd-python-219-42.el7_4.4.x86_64.rpm yum install salt-minion –enabl..

Read more

Taken from – https://us.community.samsung.com/t5/Others/How-to-use-Secure-Erase-on-an-SSD-when-you-only-have-one-SATA/td-p/103566 1)First, Install FreeDOS onto a USB stick. The easiest way I found to do it is: Download Rufus (lets you make bootable USB disks) In Rufus, select your USB drive from the drop-down menu at the top Change the file system format to FAT32 Check the box to make the drive ..

Read more

Disable IPv6 using sysctl settings Check ifconfig -a | grep inet6 inet6 fe80::211:aff:fe6a:9de4 prefixlen 64 scopeid 0x20 inet6 ::1 prefixlen 128 scopeid 0x10[host] 1. Append below lines in /etc/sysctl.conf: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 NOTE : To disable IPv6 on a single interface add below lines to /etc/sysctl.conf : net.ipv6.conf.[interface].disable_ipv6 = 1 ### put ..

Read more