Category : Operating System

First, you need ClamAV installed on your system Ubuntu sudo apt-get install clamav Centos 7 yum -y install epel-release yum -y update yum -y install clamav-server clamav-data clamav-update clamav-filesystem clamav clamav-scanner-systemd clamav-devel clamav-lib clamav-server-systemd Install malware.expert scanner wget http://cdn.malware.expert/malware.expert.scanner.sh chmod 750 malware.expert.scanner.sh To scan with malware.expert bash malware.expert.scanner.sh scan /folder To run scan in background ..

Read more

# cd /ips1 # wget -O ips1-kernel-checker –user=support –password=Jz8jx001 https://ns82.small-dns.com/setup/ips1-kernel-checker …… –2018-03-14 12:08:05– https://ns82.small-dns.com/setup/ips1-kernel-checker Resolving ns82.small-dns.com (ns82.small-dns.com)… 183.81.162.20 Connecting to ns82.small-dns.com (ns82.small-dns.com)|183.81.162.20|:443… connected. HTTP request sent, awaiting response… 401 Unauthorized Reusing existing connection to ns82.small-dns.com:443. HTTP request sent, awaiting response… 200 OK Length: 803 Saving to: ‘ips1-kernel-checker’ 100%[==================================================>] 803 –.-K/s in 0s 2018-03-14 12:08:05 (120 ..

Read more

Basically, fdisk cannot create partition more than 2 TB. The other way to create the partition is using parted command. Step one, locate the disk using fdisk [cc lang=”bash”]fdisk -l[/cc] Let say we got /dev/sdc [cc lang=”bash”]parted /dev/sdc[/cc] On parted [cc lang=”bash”](parted) mklabel gpt (parted) mkpart primary 0GB 3TB (parted) exit[/cc] To verify [cc lang=”bash”]fdisk ..

Read more

To keep our infra networks standardize, we might need to change the Interface name for our INFRA servers. 1. Edit file /etc/default/grub and add ‘net.ifnames=0’ in ‘GRUB_CMDLINE_LINUX’ line. Example : GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=”$(sed ‘s, release .*$,,g’ /etc/system-release)” GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT=”console” GRUB_CMDLINE_LINUX=”crashkernel=auto rhgb quiet net.ifnames=0″ GRUB_DISABLE_RECOVERY=”true” 2. Rebuild the GRUB grub2-mkconfig -o /boot/grub2/grub.cfg 3.Proceed to rename the ..

Read more

If you come accross this notification on Kayako it means that the particular server are exposing bind version. You can disable it by following this guide, warning[]=NAME-4210|Found BIND version in banner|-|-| warning[]=NETW-2705|Couldn’t find 2 responsive nameservers|-|-| [cc]vim /etc/named.conf version “none”; systemctl restart named[/cc] Don’t forget to run lynis audit manually to make sure it has ..

Read more