This domain for sale… Please contact riyesh@gmail.com
Hotlinking is the use of a linked object, often an image, from one site into a web page belonging to a second site. The second site is said to have an inline link to the site where the object is located.
It is always recommended to enable hotlinking of images, else …
Kernel
It makes sure that all processes in the system works fine
Rebuilding
It is done to optimize the kernel to suit our requirements as well as make it more secure from internet attacks
Steps
1. Determining the current hardware
This is required during configuration process to enable hardwares that our new kernel has to support.
Commands …
To find the processor type and details
Get the Processor details:
cat /proc/cpuinfo
Find whether the processor is 32 or 64 bit:
getconf LONG_BIT
Find the architecture:
uname -i
Ping Requests use ICMP protocols. This is enabled/disabled using sysctl values.
To Disable Ping:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
To Enable Ping:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
Purpose
Unless the ftp users are limited to their home directories, they will able to access all files & folders on the server .
How to
Below you may see how this can done to 3 of the ftp servers used in common.
Pro-ftpd
vsftpd
pure-ftpd
Pure-ftpd
vi /etc/pure-ftpd.conf
And change the following line
ChrootEveryone=YES
pro-ftpd
vi /etc/proftpd.conf
DefaultRoot …
Nagios is the new name for NetSaint, a network/service monitoring tool. It was designed for Linux, but can be compiled and run perfectly well under any UNIX variant as far as I am aware. The monitoring daemon runs intermittent checks on hosts and services you specify.Nagios can send report through …
Upgrading kernel
Situation
the existing kernel was 2.4 and the required one is 2.6
cd /usr/local/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.1.tar.gz
tar -zxf linux-2.6.20.1.tar.gz
cd linux-2.6.20.1
Now we need to copy the existing kernel configuration file
cp /boot/config-2.4.22-1.2199.nptlsmp /usr/local/src/linux-2.6.20.1/.config
Now we need to configure the kernel using this configuration file .. for that use
make oldconfig
You can see a lot of new features for …
Mysql Replication is used to get a mirror copy of master server to slave. All changes made in server is updated on slave. This can be achieved by the following steps. one thing to be notify is the master and salvemay contain the same version of mysql.
changes in master …
Please do this script on your own risk, first test this script on test machine. then do it on live server
#!/bin/bash
EMAIL=”riyesh@linuxbuddies.com”
SUBJECT=”Alert $(hostname) load average is $L05?
TEMPFILE=”/tmp/$(hostname)”
echo “Load average Crossed allowed limit.” >> $TEMPFILE
echo “Hostname: $(hostname)” >> $TEMPFILE
echo “Local Date & Time : $(date)” >> $TEMPFILE
echo “| Uptime status: |” >> …











