09
May
09

Howto to Share mouse and keyboard with Synergy

1. Install synergy  : apt-get install synergy

2. Server configuration : synergy.conf section:

===================================

screens
server1:
server2:
halfDuplexCapsLock = true
halfDuplexNumLock = true
end

section: links
server1:
left=server2
server2:
right=server1
end

================================

3. run synergy server :

synergys -f –config /etc/synergy/synergy.conf

4. run client on the second machine:

synergyc  –name server1   < Server IP >

5. Now move your mouse to left. You will see the mouse in your second screen.


08
Oct
08

Linux turns 17

24
Sep
08

Sept 24 Is World Day Against Software Patents

stop software patents

stop software patents

22
Sep
08

HOWTO Compile MINIX kernel

HOWTO Compile MINIX kernel

1. Go to the MINIX source directory.

cd  /usr/src

2. Compile the kernel using make.

make clean

make install

This will recompile whole minix system.

3.    To compile kernel separately.

cd /usr/src/kernel

make clean

make

cd   /usr/src

make install

4.   then reboot the system.

5. You can find the newly compiled kernel in /boot/image.

# ls -l
total 904
-rw——- 1 root  operator  462336 May  3  2006 3.1.2a
-rw——- 1 root  operator  462336 Jan  6 11:30 3.1.2ar0

22
Sep
08

HOWTO set Network in MINIX

HOWTO set Network in MINIX

1. Create /etc/rc.net file and put IP and Default Gateway.

ifconfig -I /dev/ip0 -h 192.168.1.225 -n 255.255.255.0
add_route -g 192.168.1.254

2. Set nameserver in the /etc/resolv.conf

nameserver 192.168.1.254

3.  use pr_routes and the ifconfig command to check the network configurations.

11
Sep
08

RT HOWTO. ( based on Request Tracker 3.8.1 release and Gentoo Linux)

RT HOWTO.  ( This HOWTO based on Request Tracker 3.8.1 release and Gentoo Linux)

Request Tracker is the best open source trouble ticket system. RT distributed under GNU GPL license.

1. Download the latest  RT release.

wget http://download.bestpractical.com/pub/rt/release/rt.tar.gz

2. Extract the source tar -xzvf rt.tar.gz

3. Read the README file

4. Go to the extracted source folder.
cd /home/jini/downloads/rt-3.8.1
5. Install RT.
./configure –help

./configure –with-db-type=Pg –with-db-dba=postgres  –with-db-database=rt_3_8_1

6. make install

if your system does not have required perl module install using perl cpan repos.

eg: install Apache DBI perl module  perl -MCPAN -e’install “Apache::DBI”‘

7. Initialize the database.

make initialize-database

selected database is postrgresql and it is configured to listen via TCP port.

8. Change rt host name in /opt/rt3/etc/RT_SiteConfig.pm

Set( $rtname, ‘rt.yourdomain.com’);

9. install apache2 module  mod_perl 2.xx version and enable it.

10. set up the vhost for rt.yourdomain.com ( gentoo style )

<IfDefine PERL>
<VirtualHost *:80>
ServerName rt.yourdomain.com
DocumentRoot /opt/rt3/share/html
ServerAdmin noc@yourdomain.com

AddDefaultCharset UTF-8

PerlRequire /opt/rt3/bin/webmux.pl

<Location />
SetHandler perl-script
PerlResponseHandler RT::Mason
</Location>

</VirtualHost>
</IfDefine>

10. Login to rt using default user and password.

user : root
password : password

11. create a queue and give permission to create ticket for group everyone.

eg: queue name support

12. install smtp server ( exim4, sendmail ) and configure to receive mails.

eg : support@yoursite.com

13. set up the mail gateway.

support: “|/opt/rt3/bin/rt-mailgate –queue support –action correspond –url http://rt.yoursite.com/”
support: “|/opt/rt3/bin/rt-mailgate –queue support –action comment –url http://rt.yoursite.com/”

14. If you want to set up the RT to fetch mail from a mailbox use fetch mail.

create fetch mail config file rt_fetch mail.conf with fallowing config

poll yourmailserver.com protocol pop3 username ’support’ password ‘mailpasswd’ smtpaddress localhost mda ‘/opt/rt3/bin/rt-mailgate –queue support –action correspond –url http://rt.yoursite.com’

15 . setup the cron to download the mails using fetchmail

*/5 * * * * /usr/bin/fetchmail -f  /root/conf/rt_fetchmail.conf
85,1-8        Bot

29
Apr
08

Sri Lanka with in the top 10 google summer of code.

Sri Lanka came in to the top ten of the google summer of code competition in student participation. This a a great achivment of the Sri Lanka FOSS community.

20
Jan
08

Trolltech releases Qt under the GPL v3 license

Trolltech releases Qt under the GPL v3 license.

More companies and communities are releasing sofware under GPL v3.

16
Jan
08

Mysql ^ SUN => PostgreSQL.

What went wrong with mysql?  Grievance ..

Mysql missed the IPO and the independent future of the mysql. Most of the mysql customers are on LAMP stack and they like the way mysql is developed. Now mysql with SUN and under SUN’s marketing agenda. Will SUN allow the free flow of the mysql? NO…

SUN wants to promote their OS and the hardware with the SUN software using Mysql. After this acquisition LAMP developers will choose the Postgress over mysql.

Who wants something with string attached.

14
Jan
08

Richard Stallman ( RMS ) is in Sri Lanka.

Richard Stallman ( RMS ) is in Sri Lanka. He is doing two public speeches at SLIIT and University of Peradeniya.

RMS in Sri Lanka.