Install Desknow

Installasi Desknow. Tulisan ini diambil dari arsip ngoprek gwe beberapa bulan y.l.
Masih relevan sepertinya, cuman perlu ditambah, bagaimana setup antivirus, antispam (bayesian), webmessenger. Hehe ternyata banyak jg yah D

Source ada di http://www.desknow.com

By Cecep Mahbub (cecep@comlabs.itb.ac.id)
Change Log:

2003-07-26 mulai menulis dokumentasi ini
1. Install J2SDK

source: http://java.sun.com/j2se/1.4.2/download.html

mirror: http://ftp.tpb.itb.ac.id/pub/java/j2sdk-1_4_2-linux-i586.bin
$ wget http://ftp.tpb.itb.ac.id/pub/java/j2sdk-1_4_2-linux-i586.bin

$ chmod 755 j2sdk-1_4_2-linux-i586.bin

$ ./j2sdk-1_4_2-linux-i586.bin

# mkdir /home/java

# mv j2sdk1.4.2/ /home/java
Setting PATH
## file /etc/profile

PATH=$PATH:/home/java/j2sdk1.4.2/bin

export PATH
2. Installasi Desknow

source: http://www.desknow.com/downloads/desknow.tar.gz
Cara installasi bisa dibaca di readme.txt
$ tar zxvf desknow.tar.gz

$ su -

# cd desknow_server

# mv desknow /var

# mv desknowdata /var

# mv etc/desknow.conf /etc

# mv etc/init.d/desknow /etc/init.d
edit /etc/desknow.conf to set the location of your Java Development Kit

(1.4.1 or higher is required. Free download at http://java.sun.com)
# /var/desknow/bin/configconsole.sh
3. Install PostgreSQL + JDBC driver

source: paket standar dari distro
Utk distro Trustix:

# swup --install postgresql-server postgresql-jdbc
Inisialisasi databases
# /etc/init.d/postgresql start
4. Setting databases untuk desknow
Buat user desknow_server (user utk koneksi ke databases)
$ createuser -U postgres --no-adduser --createdb --pwprompt desknow_server

Enter password for user \"desknow_server\":

Enter it again:

Password: --ENTER PASSWD postgres HERE--

CREATE USER
Buat database desknow + import sql
$ createdb -U desknow_server desknow

$ psql -U desknow_server desknow