IAMEM Hosting

Category: Hosting

Home > Blog > Hosting
07Mar, 2016

BASH: Script to alert when Exim mail queue is HIGH

  The following script sends an alert whenever the exim mail queue is greater than a certain threshold   #!/bin/bash if [ `/usr/sbin/exim -bpc` -ge 300 ]; then mail -s “Alert: There are over 300…

02Mar, 2016

WordPress: Change URL in Media and Posts

  After changing the wordpress to the new website, it is observed that the URL of media files and Internal post links still shows the OLD url. To change it, login to…

01Mar, 2016

Script to Test Email Mail Delivery using SMTP Authentication

  The below script may be useful to test the mail delivery using email authentication with and without SSL Note: The script uses pear Mail function, so make sure that PEAR Mail

28Feb, 2016

Change SSH Port on CentOS 7

  Let’s change the SSH port from default 22 to 2222 in CentOS 7. 1. Edit the following file   vi /etc/ssh/sshd_config   2. Un-coment and Modify the following line   Port 2222   3. Now by default Selinux is…

25Feb, 2016

Online System/Network Admin Tools

  1. MXTOOLBOX: One of the most popular website to check MX Records, Blacklist Status, SPF, DKIM, DNS, OPEN Ports etc … website: http://www.mxtoolbox.com 2. WHATISMYDNS: Want to check the global propogation status of your…

24Feb, 2016

WordPress does not take max_memory limit from PHP.ini

  New Versions of wordpress does no take the max_memory_limit from PHP.ini. This is because the wordpress default memory limit is already defined in the following file.   WORDPRESS_ROOT/wp-includes/default-constants.php   If you want to modify, edit…

03Feb, 2016

Installing CSF Firewall on Linux/CPanel Servers

1. Enter the Temp Directory   cd /tmp/   2. Download the CSF Package   wget https://download.configserver.com/csf.tgz   3. Extract the package   tar -xzf csf.tgz   4. Enter the extracted CSF directory   cd csf   4. Run the Installer   sh install.sh   5. Test the CSF Installation   perl…

03Feb, 2016

Disable IPV6 on CentOS 6.x servers

  1. Edit /etc/sysctl.conf  and add the following line   net.ipv6.conf.all.disable_ipv6 = 1   2. Edit /etc/sysconfig/network and add the following line   NETWORKING_IPV6=no   3. Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and add the following line   IPV6INIT=no   4. Stop iptables6 service   service iptables6 stop   5. Disable…

Copyright © 2019 | iamemhost.com . All rights reserved.