IAMEM Hosting

Category: RedHat

Home > Blog > RedHat
22Apr, 2016

cPanel/WHM Transfer: Account create error “This system already has a database owner named”

  If you get the following error while transfering an account in cPanel/WHM   1. Login to mysql and search if a Database user really exists in the MySQL DB SELECT user FROM mysql.user;   2.…

22Apr, 2016

Log all SFTP transactions in one log file

  1. Add the below line in /etc/ssh/sshd_config Subsystem sftp /usr/libexec/openssh/sftp-server -l VERBOSE -f LOCAL3   2. Add the below line in /etc/rsyslog.conf local3.* /var/log/sftp.log   3. Restart SSH Service service sshd restart   4. Restart rsyslog service service rsyslog restart   5.…

15Apr, 2016

cPanel: IP Restrict Joomla Administrator Section

  In order to restrict Joomla Administrator section to only one or few particular IP’s add the below in the .htaccess file in the administrator directory   Order Deny,Allow Deny from all Allow from <IP…

11Apr, 2016

Install Legacy Mongo PHP Extension on CentOS Server

  To install PHP Legacy Mongo Extension for PHP to communicate with the MongoDB Server   1. Make sure you have PHP PECL, if you do not have it installed, install it using yum…

11Apr, 2016

Install MongoDB PHP Extension on CentOS Server

  To install PHP MongoDB Extension for PHP to communicate with the MongoDB Server   1. Make sure you have PHP PECL, if you do not have it installed, install it using yum install…

07Apr, 2016

Exim:Important Exim Mail Server commands

1. To check the number of emails present in the queue: exim -bpc 2. To check the emails present in the queue with the mail id and sender ID: exim -bp exim -bp |…

06Apr, 2016

cPanel:Autologin to MySQL without having to enter the password everytime

If you have logged into putty as root and you have to monitor the database activity its quiet annoying to enter the MySQL password every time you want to login…

15Mar, 2016

Web Hosting Control Panels

What is a Hosting Control Panel ? A hosting control panel is a web-based interface that is provided to the end user which interacts with all the necessary hosting services on…

08Mar, 2016

Zimbra: Assign a dedicated Outgoing SMTP IP for a domain

Zimbra Outgoing SMTP IP per Domain   1. Add the following line in “/opt/zimbra/postfix/conf/main.cf”   sender_dependent_default_transport_maps = regexp:/opt/zimbra/postfix/conf/sdd_transport_maps.regexp   2. Create the file “/opt/zimbra/postfix/conf/sdd_transport_maps.regexp” and add the domains as below   /@example\.com$/ …

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…

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