Saturday, July 21, 2012

Using Google’s public DNS service as resolvers in your server

December 4, 2009 by  
Filed under General

Google recently introduced this service. You can use this service as resolver for your server. Login to your server as root Background current resolver settings: cp /etc/resolv.conf /etc/resolv.conf.backup Open the file using vi: vi /etc/resolv.conf Remove the current entries by pressing dd Put the following lines in the file: nameserver 8.8.8.8 nameserver 8.8.4.4 Save the [...]

Install and configure munin (and munin-node) for Server Monitoring

November 25, 2009 by  
Filed under General

Munin is an efficient and lightweight Monitoring tool. Its available in ’server’ and ‘node’ packages. You can install server in a single machine and node in all other machines and then view all information/statistical data in server machine. This quick copy and paste howto explains steps needed to setup server and multiple nodes. These steps [...]

DDOS Protection using APF firewall

November 15, 2009 by  
Filed under General

Following are steps that will configure your APF firewall on your server : > Open /etc/apf/ad/conf.antidos > Change LP_KLOG=”0? to LP_KLOG=”1? > CONAME=”Your Company” ( Enter Companies Name ) > Change USR_ALERT=”0? to USR_ALERT=”1? ( 1 only if you need alerts for emails ) > USR=”[email protected]” ( Enter the Email Address ) > Execute : [...]

Common iptables command, cheatsheet

November 12, 2009 by  
Filed under General

#!/bin/sh #File: /etc/rc.d/rc.firewall # Immediately log and drop any known abusive IPs iptables -A INPUT -p tcp -s 87.118.104.44 -m limit –limit 1/minute  –limit-burst 10  -j LOG –log-prefix “[DROPPED_NODE]“   –log-level 4 iptables -A INPUT -p tcp -s 87.118.104.44 -j DROP # Allow from any to any on 127.0.0.1/32 iptables -A INPUT -s 127.0.0.1/32 -j ACCEPT [...]

Cloud Computing and its benefits

November 11, 2009 by  
Filed under General

What is Cloud Computing Generally, website hosted on a cloud hosting operates on a clustered servers where online operations are not limited to a single server. By handling security, load balance and hardware resources virtually, the website has access to the processing power of a number of servers that are distributed in real time. According [...]

Delivery to the following recipient failed permanently, Verification failed

October 21, 2009 by  
Filed under cPanel, Direct Admin, General, Helm, HyperVM, Kloxo, Plesk, Webmin

Today, I was getting the following error while trying to send email to any account of the server. The mail bounced with the following error messages. This is an automatically generated Delivery Status Notification Delivery to the following recipient failed permanently: [email protected] Technical details of permanent failure: Google tried to deliver your message, but it [...]

Effective Solutions for 500 error (Premature End of Script Headers)

October 21, 2009 by  
Filed under cPanel, Direct Admin, General, HyperVM, Kloxo, Plesk, Webmin

There may a number of reasons and solutions for it. We listed a few here for your conveniences. File/Directory Permission error: directory is writable by others: (/home/user/public_html/) This could be easily fixed by just changing the permissions of the file/directory in question. You can change the permissions by using the File Manager within cPanel, or [...]

Installing Suhosin by Patching PHP Source

October 21, 2009 by  
Filed under cPanel, Direct Admin, General, HyperVM, Kloxo, Plesk, Webmin

Preparation When you want to install PHP with the Suhosin-Patch you have to first perform some preparation steps. Step 1: Installing the Hardened-PHP Project Signaturekey You should first grab a copy of the Hardened-PHP Project’s Release Signaturekey and import it into your GNU Privacy Guard keychain. (For further information on the usage of gnupg please [...]

Installing Suhosin as PHP Extension in Linux

October 21, 2009 by  
Filed under cPanel, Direct Admin, General, HyperVM, Kloxo, Plesk, Webmin

Unlike the Hardening-Patch for PHP, nearly all of Suhosin´s features are within the extension. Therefore you might want to only install the extension and use a plain unpatched PHP. Depending on the system we might already offer binary packages. You can check our Suhosin Downloads page. In that case you only need to activate the [...]

Practical experience of migrating from HyperVM to VDSManager

October 19, 2009 by  
Filed under General, HyperVM

This is originally posted by JOEsDC in WHT. It may come to use others’ help. I was able to successfully migrate all my hypervm nodes to VDSmanager without any data loss. Here are the steps I took. NOTE: I was running an up to date version of CentOS 5.3 x86_64 on all my nodes. I [...]

« Previous PageNext Page »