Post

How to Build Xen Source

In FOSS, HOWTO, Linux on November 30, 2009 by risenfall

1. install mercurial

apt-get isntall mercurial

2. get a local copy of the xen source.

hg clone http://xenbits.xensource.com/xen-3.4-testing.hg

3. read the README file to select the build type.

4. build

make world.

5. install xen

make install

6. create initrd image

depmod  2.6.18-xx-xen

mkinitramfs -o initrd-2.6.18-xx-xen.img 2.6.18-xen

7. edit grub  configuration.

8. reboot in to xen kernel

Post

The Apache Asia Roadshow 2009 is scheduled to hit Colombo from the 3rd – 5th of December.

In FOSS on November 28, 2009 by risenfall

apacheasia2009 3rd and 4th December @ HNB Towers

Post

Howto to Share mouse and keyboard with Synergy

In FOSS, HOWTO, Linux on May 9, 2009 by risenfall

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.


Post

Linux turns 17

In FOSS, Linux, MINIX on October 8, 2008 by risenfall

Post

Sept 24 Is World Day Against Software Patents

In FOSS, Web on September 24, 2008 by risenfall

stop software patents

stop software patents

Post

HOWTO Compile MINIX kernel

In FOSS, HOWTO, MINIX on September 22, 2008 by risenfall

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

Post

HOWTO set Network in MINIX

In FOSS, HOWTO, MINIX on September 22, 2008 by risenfall Tagged:

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.

Post

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

In FOSS, HOWTO, Linux on September 11, 2008 by risenfall Tagged:

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

Post

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

In FOSS on April 29, 2008 by risenfall Tagged: ,

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.

Post

Trolltech releases Qt under the GPL v3 license

In FOSS on January 20, 2008 by risenfall Tagged: , ,

Trolltech releases Qt under the GPL v3 license.

More companies and communities are releasing sofware under GPL v3.