Sept 24 Is World Day Against Software Patents

stop software patents

stop software patents

Advertisements

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


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.


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/&#8221;
support: “|/opt/rt3/bin/rt-mailgate –queue support –action comment –url http://rt.yoursite.com/&#8221;

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&#8217;

15 . setup the cron to download the mails using fetchmail

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