Articles

Setting Up A Central Syslog Server

Setting Up A Central Syslog Server

how to set up a syslog server for one or more Unix systems, on Fedora Core and Ubuntu/Debian.

Linux systems already have syslog installed.

Configure the Server Computers:-

#service syslog stop

and if it fails again, go for the old-school kill command

#ps axfu | grep syslog

copy the PID (number from second column) from the syslog line and

#kill -9 PID

Open /etc/sysconfig/syslog with your favorite text editor
and  Find the line

SYSLOGD_OPTIONS="-m 0"

Replace it with

SYSLOGD_OPTIONS="-rm 0"

Restart the syslog daemon

#service syslog restart

you should see a message similar to “syslog restarted (remote reception) when executing the command

#tail /var/log/messages

you should either find the RC syslog file, edit it and add the “-r” flag to the syslog options or, if you’ve used

the old-school kill command, simply start syslog manually

#syslogd -r

Installing YUM Server on RHEL

TO Install Yum Server With Vsftpd

1. install Rhel5 DVD in dvd drive,

2. install vaftpd and createrepos RPM find in DVD,

3. Run this command # service vsftpd restart,

4. copy all data packages in dvd are copy on /var/ftp/pub directory,

#mount /dev/dvd /mnt

#cp -r /mnt/* /var/ftp/pub

5. run createrepo command for create repository on /var/ftp/pub directory

#createrepo -v /var/ftp/pub (3min time)

6. now configure and edit yum.conf file

#vim /etc/yum.conf

[gpg]

name=your server name

baseurl=ftp://your ftp ip/pub

gpgcheck=0

enabled=1

:wq (save the file)

7. #service vsftpd restart

#chkconfig vsftpd on

8. chack the yum repo service

#yum list all

#yum clean all

#yum update all

#yum -y install vnc*

Indian Rupee Symbol Support In Ubuntu with Keyboard Mapping With “AltGr + 4" and “India With RupeeSign” Keyboard Layout

Ubuntu is the first OS which supports Indian Rupee Symbol, Since release Of Ubuntu 10.10. Here is the one fact that nobody can type Indian Rupee Symbol without support of font. So font should have Indian Rupee Symbol in it. By default Ubuntu 10.10 is coming with that. So, it will make easy for your OS to display Rupee Symbol and copy paste of it, but typing of it is tricky, you can use Ctrl + Shift u2b09. But it would very hard for anybody to type frequently with above key combination. Also, it is very tricky add key combination with some hack. But now onwards it would be de-facto :) .

According to government, all OS should support Indian Rupee Symbol. For Enduser, It should be easy to print it from Keyboard using AltGr + 4 Key combination.
It has assign u2b09 Unicode Number. Here is some insight.

Python script to recognize two finger gestures from your synaptic touchpad.

This little python script monitors for two finger guestures from your synaptic touchpad. The guestures are limited to simple up, down, left, right, and (it will work if both your kernel as well as xorg is configured for it. You can check it by using synclient command line tool.).

The script expects the output of "synclient -m N" on its standard input , where N is your choice of refresh milliseconds, 10,20 works great, 100 if ur machine is slow. What I mean is this :

user@host$ synclient -m 20 | python syn_guesture_compiz.py

Install MySQL Server 5 on Ubuntu Desktop

How to Installing MySQL 5 Server on Ubuntu desktop, seems very dumb question but for newbies it is not. Ubuntu doesn't give mysql server installed on desktop version. No need to worry, Its very easy and quick.

Open a terminal(gnome-terminal / konsole), and use the following command:

sudo aptitude install mysql-server mysql-client

Information and Installation Of Unity (A Lightweight Netbook Interface) Ubuntu Netbook Edition (UNE) on Ubuntu 10.04 LTS Desktop

There are lot of news around Ubuntu Light and Unity, I have tried to gather  most of information about it. It's general and floating around Internet, I have tried to make it on one stop . Also covered Unity Ubuntu Netbook Edition Installation on Ubuntu 10.04 LTS (Lucid Lynx), hope you like the desert :).

Q: What is Unity Ubuntu Netbook Edition?

A: A Lightweight Netbook Interface for Netbooks / Desktops.

Q: That's ok! But, Can you give details?

A: Here is bunch of links that will help you to get up-to-date about Unity Ubuntu Netbook Edition, Ubuntu Light.