ReferencePlatforms/OPSI Server
Jump to navigation
Jump to search
This procedure will recreate the OPSI server based on the OPSI Virtual Appliance version 3.3. This document assumes you already have a virtual appliance based VM running.
Create the cltbld user
useradd -m cltbld passwd cltbld # and get the cltbld keys su - cltbld mkdir .ssh && cd .ssh scp cltbld@some-machine-with-the-keys:.ssh/id_dsa* .
Install some software
apt-get install cvs python-dev rsync gcc lib6-dev wget http://www.selenic.com/mercurial/release/mercurial-1.1.2.tar.gz tar -zxvf mercurial-1.1.2.tar.gz cd mercurial-1.1.2 python setup.py build python setup.py install
Install the default packages
First checkout the packages from the mofo repo:
cvs -d:ext:cltbld@cvs.mozilla.org:/mofo co -d opsi-packages ref-platforms/opsi/default-packages
Then, as root, use opsi-package-manager to install them:
su - cd ~cltbld/opsi-packages opsi-package-manager -i *.opsi cd ~cltbld
Set the pcpatch password
As root,
opsi-admin -d task setPcpatchPassword
Install the opsi client prep script
As root,
cd /opt/pcbin/install/preloginloader wget -Oopsi-prep.vbs https://bugzilla.mozilla.org/attachment.cgi?id=370849