Blacklist removal links

  Unfortunately due to the limited availability of IP addresses sometimes they are re-used from sources that have been black listed in the past. Generally blacklists are updated within 30 days of an IP not being reported for spam. However many services like Microsoft, Google, Yahoo and others, have taken to using their own systems…

Finding hard drive serial numbers in Linux and Windows

Finding hard drive serial numbers in Linux and Windows

In Linux I prefer using smartctl smartctl -i /dev/sda or hdparm -I /dev/sda | grep Serial Megacli RAid card — megacli -PDList -aALL or hdparm -I /dev/sdX | grep -i ‘serial’ Adaptec —- /usr/StorMan/arcconf getconfig 1 ================================ For Windows https://whatsonmypc.wordpress.com/2011/09/01/wmic/ If you have many hard drives like me, use this instead to help you know…

Finding stuff in linux

Finding stuff in linux

ttp://www.wikihow.com/Find-a-File-in-Linux find / -type f -iname “<file you want to find>” Examples find / -type f -iname “libphp5.so” find / -type d -iname “ibdata1” find / -type f -iname “*arcconf” grep -R ‘AllowNoPassword’ / egrep ‘User’ /etc/apache2/apache2.conf grep DocumentRoot /etc/apache2/apache2.conf To find files larger than 100MB, use this command: find / -type f -size +100000k…

Apache setups and tricks

Apache setups and tricks

For changing the main/primary domain, you will need to have root SSH access and be able to locate and edit the following file (replacing your user & domain info): /var/cpanel/userdata/USERNAME/DOMAIN.COM 1. Once you have opened the file, look for the following line: documentroot: /home/USERNAME/public_html 2. Modify the location according to your needs. Save it and…

Linux Super notes

Linux Super notes

############ Creating Users ############ useradd————— create a user with default home directory useradd -m <username> Create a user with different home directory useradd -m -d <directoy> <username> Create A User With An Expiry Date useradd -e 2016-02-05 <username> ###note The date must be specified in the format YYYY-MM-DD How To Create A User And Assign…