A Blog about technology, linux, peer2peer, cool new downloads and software development.

Saturday, March 20, 2010

lsyncd ubuntu tutorial

refrence : lsyncd

// prep
sudo apt-get install libxml2-dev
wget http://lsyncd.googlecode.com/files/lsyncd-1.26.tar.gz
tar -zxvf ...
make install

// usage
ssh-copy-id user@server
lsyncd --no-daemon /full/path/ user@server:/full/path/

Wednesday, March 17, 2010

how to tunnel remote ubuntu linux system full destop with Xephyr


> install xfce4 onthe remote system :
ssh user@host
sudo apt-get install xfce4
logout

> isntall Xephyr :
sudo apt-get install xserver-xephyr

> start Xephyr :
export DISPLAY=:0.0 # make sure that the display is set to the host
Xephyr -ac -screen 1280x950 -br -reset -terminate 2> /dev/null :1 -keybd ephyr,,,xkbmodel=evdev &
export DISPLAY=:1.0 # set the display to the Xephyr
ssh -YfC -c blowfish user@host xfce4-session 2> /dev/null

how to install hdaps on ubuntu 9.10


HOW-TO install the driver :
http://www.thinkwiki.org/wiki/Installing_Ubuntu_9.10_(Karmic_Koala)_on_a_ThinkPad_T61#Install_HDAPS_-_IBM_Active_Protection_System_Linux_Driver

How to install monitoring utilities :
http://www.thinkwiki.org/wiki/HDAPS

Saturday, February 27, 2010

how to install ssh server on ubuntu linux


sudo apt-get install openssh-server openssh-client

Saturday, February 20, 2010

how to fix tsclient crushing on ubuntu linux

install tsclient from :
http://packages.debian.org/sid/i386/tsclient/download

or from :
https://launchpad.net/~jcollins/+archive/jaminppa/+packages

How to configure the sensitivity of the Lenovo trackpoint joystick in ubuntu linux


To test :
$ sudo -s
# echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/sensitivity

to change permanently :
$ sudo vim /etc/rc.local
and add the line :
echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/sensitivity

Wednesday, January 13, 2010

how to extract the files in an rpm on linux


rpm2cpio kernel-bla-bla-bla.src.rpm | cpio -idvm