Turnkey notes 1.4
From Enkive Wiki
Contents |
Notes on the Enkive 1.4 TurnKey
The TurnKey ISO for Enkive 1.4 allows easy testing and/or install of a basic Enkive 1.4 system. It consists of:
- Debian 6.0 "squeeze"
- Enkive 1.4
- MongoDB 2.4.6
- Indri 5.5
- Oracle Java Development Kit 7 update 40
- Pre-installed Postfix, configured to journal into Enkive
Installing on Hardware
The Enkive TurnKey can be installed on real hardware or a virtual machine almost trivially. It is a full Debian 6.0 "Squeeze", so it can be maintained and updated normally. As such, it can be used as a base for a production install of Enkive.
Postfix Networks
Because the ISO cannot know what network it will be installed on, postfix is configured by default to only accept connections from localhost. If your Enkive will archive through postfix, you must add the network including your main mail server to the mynetworks line.
Find this line in /etc/postfix/main.cf:
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
and add your local subnet. For example, if your local network is in 192.168.1.0/24, change the line to read:
mynetworks = 127.0.0.0/8 192.168.1.0/24 [::ffff:127.0.0.0]/104 [::1]/128
Running on the LiveCD
By default, MongoDB requires at least 3G of space for it's journal files. The LiveCD will not have enough space to allow this, so MongoDB must be started with the --smallfiles option. To do this, find this line in /etc/init.d/mongodb:
DAEMON_ARGS="--quiet --fork --config /etc/mongodb.conf --pidfilepath ${PIDFILE}"
Add --smallfiles to it, so it looks like this:
DAEMON_ARGS="--smallfiles --quiet --fork --config /etc/mongodb.conf --pidfilepath ${PIDFILE}"
After this, mongodb can be started:
/etc/init.d/mongodb start
... followed by enkive:
/etc/init.d/enkive start
Download
The TurnKey Enkive ISO can be downloaded directly from enkive.org or from the Enkive SourceForge page.