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 ..
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 ..
Was unable to connect to DB, checked MySQL error log saw: /usr/sbin/mysqld: Table ‘./my_db/my_table’ is marked as crashed and should be repaired Logged onto MySQL, did this; USE my_db; REPAIR TABLE my_tab..
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 ..
Original yum -y install yum-cron systemctl start yum-cron systemctl enable yum-cron Usage vi /etc/yum/yum-cron.conf Edit update_cmd = security apply_updates = yes emit_via = [email protected] Restart systemctl restar..
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..
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..
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 ..
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 ..
) Download three optional hot fixes from Microsoft: Windows 2008 R2: KB2386184: This is a patch adding a feature to exclude IP addresses from the list of IP addresses allowed as the outgoing IP address (e. source). This is the key patch allowing us to “select” the primary IP address. KB2554859: KB2386184 was buggy and ..