Tag archive for ‘centos’

Automatically reboot server after a kernel panic

Add panic=10 to the kernel command line to reboot with 10 seconds of a kernel error. Be careful with this when setting up new kernels. It’s possible to change it later with sysctl, or by writing to /proc: # echo 10 > /proc/sys/kernel/panic To make it permanent, edit /etc/sysctl.conf and add the below line: kernel.panic [...]

Installing MySQL Proxy On CentOS 5 (FINAL) x86_64

This tutorial explains how you can install MySQL Proxy on a CentOS 5 (x86_64) system. MySQL Proxy is a simple program that sits between your client and MySQL server(s) that can monitor, analyze or transform their communication. Its flexibility allows for unlimited uses; common ones include: load balancing; failover; query analysis; query filtering and modification; [...]

Remote Server Rsync Backup Replication Shell Script

You need to setup password less login using ssh keys; refer to following tutorials: + Howto Linux / UNIX setup SSH with DSA public key authentication (password less login) + SSH Public key based authentication – Howto #!/bin/bash # Remote Server Rsync backup Replication Shell Script # ————————————————————————- # Copyright (c) 2005 nixCraft project # [...]

Micro-Updates in Parallels Plesk Panel 9.x, 10.x

There are two ways to install micro-updates for Parallels Plesk Panel. Using the Command Line Interface: #$PRODUCT_ROOT_D/admin/sbin/autoinstaller Note: The “$PRODUCT_ROOT_D” variable in the command should be replaced with its value according to Plesk variables. The exact value of path variables can be known from /etc/psa/psa.conf file on Parallels Plesk Panel server. Or use the following [...]

Exploring Urchin Web Analytics Software

By default Urchin 6 is installed at /usr/local/urchin directory. You can change directory by typing the following command: # cd /usr/local/urchin Use urchinctl to control Urchin web server / scheduler You will find urchinctl inside bin directory. It is used to control Urchin web server listing on TCP port 9999. To start the Urchin webserver, [...]

Vbulltin PHP Xcache Displaying Same Forum Data For Both Boards Error and Solution

Q. I’ve followed your Xcache php 5.x opcode cacher installation under RHEL 5 for my vbulltin board. I see good boosting in performance. Now I’ve installed 2nd VB forum on the same server and I see all sub-forums hosted from 1st forum. So I had to disable Xcache. I want Xcache for both board on same host. How [...]

Quick check for a ddos via number of connections

A quick and usefull command for checking if a server is under ddos is: netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n That will list the IPs taking the most amount of connections to a server. It is important to remember that the [...]

Lessfs 1.5 On CentOS 5

For this HowTo I used a VirtualBox with CentOS 5.7 x86_64. I attached a separate 20GB Data drive mounted to /data. This will hold the lessfs DB and data. The lessfs mountpoint I put at /lessfs. This is a very basic setup, just to get it running. There is plenty of tuning to be done [...]

Accessing Plesk directories outside httpdocs / php open_basedir error

PHP open_basedir errors occur when a script tries to access a directory outside of httpdocs. For security reasons Plesk only allows access to the httpdocs and tmp directories. So what if you need to access a different directory? The easiest way is to amend the vhost.conf file of the specific domain. Open the vhost.conf file [...]

DNS recursive

For who have recently notice that now DNSreport do verify if your DNS is recursive lookup or not, here is the tip on how to set it up. open you named.conf and add before options { the follow lines: acl “trusted” { xxx.xxx.xxx.xxx; yyy.yyy.yyy.yyy; }; where xxx.xxx.xxx.xxx is your ip address same for yyy.yyy.yyy.yyy. for [...]

Enter your email address:

Liên Kết Website

web design | Shared linux windows problems | Dedicated server | website chất lượng cao | hosting chất lượng cao | Tutorial video collection | Troubleshooting Tips and Tutorial