jeudi 7 juin 2007

How to install Domino Server 7 on Debian 4 etch GNU/Linux

Instructions for installing the IBM Lotus Domino Server 7 on Debian 4 GNU/Linux:

* Install gawk

apt-get install gawk
ln -s /usr/bin/gawk /bin/gawk

* Create a group named notes and a user notes in that group with

useradd -m notes

or

groupadd notes
useradd -g notes -d /home/notes notes


* Unpack the installation files

tar xvf c84w5na.tar

* Enable the X sessions for other users

xhost +

(if you are worried about security you can use X authorizations for this, you can
take a lock to the X documentation to see how you can do this more securely)

* Test the X permissions for a root session

su -
DISPLAY=:0
export DISPLAY
xcalc

(if you don't see the calculator application something is missing !)

* Execute the setup script as root

su -
export DISPLAY=:0
cd linux
./install

(This script is in the linux directory of the files you just unpack)

* Follow the installation instruccions for default

(Of course you may choose a custom installation but considere they may require
extra pre tasks before executing the setup script)

* After the setup script is complete you may startup the Server Configuration Wizard as

su - notes
DISPLAY=:0
export DISPLAY
cd /local/notesdata
/opt/ibm/notes/bin/server

* Follow the default Server Configuration Wizard instructions

(You may choose a custom configuration here too but depending on them you may
riquired extra pre tasks before configure the server)

* Start the Domino Server

su - notes
DISPLAY=:0
export DISPLAY
cd /local/notesdata
/opt/ibm/notes/bin/server

(The second time you issue this command the script will see that the server is already configured and start it. If you want to reconfigure the server or do special initializations consult the Domino Server documentation)

* Enjoy your Domino Server on Debian 4 GNU/Linux ! ;) :)



NOTES:

* I have some packages already installed in Debian that may vary from a default Debian installation like the libstd packages or the gcc and make packages.

* If you have configured the SMTP mail services on the Domino Server you will need to disable an already active mail server in Debian with

/etc/init.d/postfix stop

or

/etc/init.d/exim4 stop

(If you want to disable the mail services for a default system boot, you may use update-rc.d)

vendredi 30 mars 2007

Intel PRO/Wireless 2200BG for Debian GNU/Linux 4

The Intel PRO/Wireless 2200BG card is already recognized by a Debian GNU/Linux 4 ! ;) You just need to download the FIRMWARE ! :) For that you can follow these steps:

* Download the firmware from http://ipw2200.sourceforge.net/firmware.php (the last version of the firmware will do)

* Unpack the firmware files and copy them in /lib/firmware with this commands:

tar xzvf ipw2200-fw-3.0.tgz
cd ipw2200-fw-3.0
cp * /lib/firmware

You should be root to issue these commands. The version may differ, so pay attention to the exact version you download (try to use the latest one).

* Reload the card's driver so it picks up the firmware newly copied with these commands:

rmmod ipw2200
modprobe ipw2200

You also need to be root to issue these commands ! ;) :)

And It's ready ! :)

* Now you will be able to the Network configuration wizard and setup the Wireless network for your newly setup card ! :)

ATTENTION: Some computers have a button to enable or disable the wireless network physically !! So if you have some error try to push this button to enable or disable the wireless hardware ok ! :)

OPTIONAL: For check if the wireless driver was detected you may use this command as root:

iwconfig

You will be able to see a new interface with wireless support that maybe called eth1 with some default values for ESSID and other wireless parameters with something like this:

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

eth1 radio off ESSID:off/any
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power=off Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

* The exact device I tested has this report line with lspci:

06:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)

I hope you enjoy your new wireless connection with Debian GNU/Linux 4 ! :)