Posts

Showing posts from May, 2008

instant Messenger: Openfire, Spark & web chat (Fastpath)

-> Openfire 1 . lynx http://www.igniterealtime.org/downloads/download-landing.jsp?file=openfire/openfire-3.4.5-1.i386.rpm 2 . rpm -ivh openfire-3.4.5-1.i386.rpm 3 . /etc/rc.d/init.d/openfire status 4 . /etc/rc.d/init.d/openfire start 5. Make sure that the firewall is stopped. 6 . http://www.grmtech.com:9090/ 7 . From the plugin tab in the web based admin control panel: installed Asterisk-IM Openfire -> Spark Download and install on client system. http://www.igniterealtime.org/downloadServlet?filename=spark/spark_2_5_8.exe -> web chat Go to plugin tab in the web based admin control panel: 1.Click on 'Available Plugins' 2. Install the following plugin a. Spark Fastpath Webchat b. Fastpath Service c. Monitoring Service (its is a optional)

How to make a linux server act as a gateway

1. turned on IP forwarding in sysctl.conf by setting the value to 1 2. gave the ip tables command for nat masquerade. iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE Checked that the commands took effect by: iptables-save and then made the entries from iptables-save inside the file /etc/sysconfig/iptables

Check and Rebuilding failed Linux software RAID

# cat /proc/mdstat # mdadm -D /dev/md0 Detail : http://sitearticles.com/cms/show/43.html

ssh commands to log in without the password

ssh commands to log in without the password # ssh-keygen -t rsa * This will generate your id_rsa and id_rsa.pub in the .ssh directory in your home directory * copy the id_rsa.pub to the .ssh directory of the remote host you want to logon to as authorized_keys2 * If you have more than one host from which you want to connect to the remote host, you need to add the local host's id_rsa.pub as one line in the authorized_keys2 file of the remote host command for the 1and1 servers is: # scp .ssh/id_rsa.pub u35894953@217.160.226.69:./.ssh/authorized_keys2 :)