CompileNix's Blog - Quick OPSI-Server setup

Start Page | RSS Feed | Find Stuff Quick OPSI-Server setup

This asumes you already have installed a Debain based Linux; like Debian 8 or Ubuntu Server 14.04 LTS.


apt-get install wget lsof host python-mechanize p7zip-full cabextract samba samba-common smbclient cifs-utils

adding the OPSI package repo, pgp key, update apt and install the opsi packages. check if there is a corresponding repo to your Linux distro version: download.opensuse.org/repositories/...


echo "deb http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/Debian_8.0 ./" | tee -a /etc/apt/sources.list.d/opsi40.list
wget -O - http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/Debian_8.0/Release.key | apt-key add -
apt-get update
apt-get install opsi-atftpd opsi-depotserver opsi-configed

adding a new/existing system user, setup group memberships and set passwords.


opsi-admin -d task setPcpatchPassword
useradd -m -s /bin/bash adminuser
passwd adminuser
smbpasswd -a adminuser
adduser adminuser opsiadmin
adduser adminuser pcpatch

configure your DHCP-Server to tell clients from where to get PXE-Images. In this case a Windows DHCP-Server.
On a Windows DHCP-Server it's option 66 and 67 ("Boot Server Host Name" and "Bootfile Name"):

At this point you are pretty much done. Run this if you want to install the default opsi packages from UIB


opsi-product-updater -i -vv

I've written some OPSI-Packages too, if you want to check it out head over to my Download area or the OPSI-Wiki: