1. Clarified Networks
  2. Untitled project
  3. vsroom

Wiki

Clone wiki

vsroom / INSTALL

Debian Package Install

 apt-get install python python-dev python-simplejson apache2 libapache2-mod-php5 mercurial dnsutils patch rsync 
ejabberd
 dpkg -i ./abusehelper2_572_all.deb
 dpkg -i ./vsr_0.1.846_amd64.deb

Switch to VSRoom postinstall directory:

cd /usr/share/vsroom/install

and continue to DebianPostInstall.

Debian Source Install

aptitude update
aptitude -y install mercurial
hg clone https://jani@bitbucket.org/clarifiednetworks/vsroom
cd vsroom-read-only/install/debian
sh 10-install-packages.sh 
sh 20-install-ejabberd.sh

cd ../common/
sh 10-install-abusehelper-from-source.sh 
sh 20-install-vsroom-toolkit-from-source.sh  

adduser --system --shell /bin/sh --group --home /var/lib/vsroom vsroom
mkdir -p /var/lib/vsroom
chown root:vsroom /var/lib/vsroom
chmod 751 /var/lib/vsroom

install -m 755 ../../debian/init.d /etc/init.d/vsroom

Switch to VSRoom postinstall directory:

cd ..

and continue to DebianPostInstall.

OpenBSD source install

export PKG_PATH=ftp://ftp.se.openbsd.org/pub/OpenBSD/4.8/packages/i386

pkg_add subversion-1.6.12p0 
svn checkout http://vsroom.googlecode.com/svn/trunk/ vsroom-read-only

cd vsroom-read-only/install/openbsd
sh 10-install-supporting-infra.sh  

After executing the script above, follow the instructions printed on the screen. You may ignore the AbuseHelper r elated install instructions, as you are only using AbuseHelper installed python libraries.

Continue installation:

cd ../common
sh 10-install-abusehelper-from-source.sh    
sh 20-install-vsroom-toolkit-from-source.sh     
groupadd -g 902 _vsroom
useradd -u 902 -g _vsroom -s /bin/sh -m _vsroom
mkdir -p /var/lib/vsroom
chown root:_vsroom /var/lib/vsroom
chmod 771 /var/lib/vsroom

Switch to vsroom postinstall directory:

cd ..

and continue to OpenbsdPostInstall.

OpenBSD package install

Set up PKG_PATH so that pkg_add can fetch dependencies.

export PKG_PATH=ftp://ftp.se.openbsd.org//pub/OpenBSD/snapshots/packages/i386
pkg_add http://abusehelper.googlecode.com/files/abusehelper-2.r572.tgz
pkg_add http://vsroom.googlecode.com/files/vsroom-1.r922.tgz

Follow the instructions printed on the screen by pkg_add. You may ignore the AbuseHelper related install instruc tions, as VSRoom uses only AbuseHelper's python libraries.

Switch to vsroom postinstall directory:

cd /usr/local/share/vsroom/install/ 

and continue to OpenbsdPostInstall.

Updated