Viewing 41 to 49 of 49 items
Tag Archives: server

linux is the most popular operating in the server world. Any kind of proxy sites, search engine as well as web hosting can be achieved using linux. Some of the commonly occuring issues with hosting are ddos.
website speed test is a performance check which are usually done for the web server performance evaluation. Another kind of hosting achieved on linux are vps hosting. Webserver such as Apache can be executed Apache performance tuning which would improve server response time.

Custom php.ini in fastCGI server.

While the PHP handler running in cPanel server is FastCGI, enabling custom php.ini for a user is being described here. If the PHP handler running in server is suPHP, then simply it is required to copy php.ini from its location to either in user’s home directory or in document root(/home/$user/public_html) and then change the owner  Full Article…

0

How to enable geoip in cpanel server

  Open up your SSH client (PuTTY) and log in to your VPS as root user. Then enter the following commands: # mkdir /usr/share/GeoIP # cd /usr/share/GeoIP # cd GeoIP To download and install the GeoIP database provided by MaxMind, enter the following commands: # wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz # gzip -d GeoIP.dat.gz Next we will install  Full Article…

0

Securing /tmp Partition

Securing /tmp Partition on a Linux Machine   To protect your server from local and remote exploits being executed from your /tmp folder, we need to mount it using noexec. To mount /tmp and /var/tmp with noexec and nosuid on your server, modify /etc/fstab and put the entry like this /dev/sda5 /tmp ext3 noexec,nosuid 1  Full Article…

0

How to change the outgoing email ip for a domain.

  Here we are discussing how to change the outgoing mail IP address of a domain in cPanel. By default the outgoing mail relying IP address for all the domains is the mail shared IP address or the IP address which is assigned in /etc/exim.conf file(interface = X.X.X.X) But if you want to set another  Full Article…

0

Apache error “Error retrieving pid file logs/httpd.pid”

In some cases, the server won’t allow you to restart the apache service in it. If you are getting the following error while trying to restart the Apache service. =====================> -bash-3.2# /etc/init.d/httpd start (20014)Internal error: Error retrieving pid file logs/httpd.pid Remove it before continuing if it is corrupted. =====================> Solution :- Just move/rename the httpd.pid  Full Article…

0

Troubleshoot Spamming in exim

The below script will help you to find the mail count by various accounts. grep “cwd=” /var/log/exim_mainlog|awk ‘{for(i=1;i<=10;i++){print $i}}’|sort|uniq -c|grep cwd|sort -n The number of mails by a domain exigrep @domain.com /var/log/exim_mainlog|grep 2012-03-17|grep Completed | wc -l 1)Run this command in the server as root user: ps -C exim -fH ewww |grep home, it shows  Full Article…

0

Linux Malware Detect ( LMD )

Here we are discussing how to install linux maldet scanner in a server. Go to the directory /tmp cd tmp Download the source code to /tmp and then extract the .tar.gz file. wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar -xzvf maldetect-current.tar.gz cd maldetect-* Execute the Script. # sh maldetect.sh If we wanted to scan all user public_html paths under  Full Article…

0

Install ChkRootKit

chkrootkit (Check Rootkit) is a common script used in linux servers, intended to help system administrators. Check their system for known rootkits You can install ChkRootKit by following the below shown steps. cd /usr/local/src/ – Down load the chkrootkit. # wget http://www.spenneberg.org/chkrootkit-mirror/files/chkrootkit.tar.gz # wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz – Unpack the chkrootkit you just downloaded. # tar -xvzf chkrootkit.tar.gz –  Full Article…

0

Disable ModSecurity for a single Domain.

ModSecurity supplies an array of request filtering and other security features to the Apache HTTP Server, ModSecurity is a web application layer firewall. ModSecurity is free software. We can disable modsecurity for a single domain. login to the server as root. Just create a directory: mkdir -p /usr/local/apache/conf/userdata/std/2/username/domain.com Then create a file: /usr/local/apache/conf/userdata/std/2/username/domain.com/mod_security.conf Add the  Full Article…

0