Startseite‎ > ‎Linuix‎ > ‎opsi‎ > ‎

Opsi installation

aptitude install wget lsof host python-mechanize p7zip-full cabextract openbsd-inetd pigz
aptitude install samba samba-common smbclient cifs-utils samba-doc
aptitude install mysql-server
getent hosts $(hostname -f)

nano /etc/apt/sources.list
deb ./
wget -O - | apt-key add -

aptitude update
aptitude safe-upgrade
aptitude remove tftpd
update-inetd --remove tftpd
aptitude install opsi-atftpd
aptitude install opsi-depotserver
aptitude install opsi-configed

Bei Frage nach  tftp directory  --> /tftpboot
multicast support --> no
Anpassen der smb.conf --> ja

nano /etc/apt/sources.list
deb wheezy main non-free contrib
deb-src wheezy  main non-free contrib
deb wheezy/updates main non-free contrib
deb-src wheezy/updates main non-free contrib

aptitude update
aptitude install openjdk-7-jre icedtea-7-plugin

3.2.3   Backend Configuration

Please ignore any warnings about a missing
file during the installation process.

opsi-setup --configure-mysql      #alle Vorganeb übernehmen, außer Passwort
                    opsi datenbankpasswort: opsi   

nano /etc/opsi/backendManager/dispatch.conf
license.*          : mysql
softwareLicense.*  : mysql
audit.*            : mysql

opsi-setup --init-current-config
opsi-setup --set-rights
service opsiconfd restart
service opsipxeconfd restart

opsi-setup --auto-configure-samba
opsi-admin -d task setPcpatchPassword

The opsi-servers and the connected clients are administrated using the program opsi-configed. It communicates with
the opsi server via HTTPS. Therefore it can used on every computer that can build a HTTPS connection the opsi

smbpasswd -a administrator
usermod -aG opsiadmin administrator
getent group opsiadmin
usermod -aG pcpatch administrator
grep pcpatch /etc/group

opsi-setup --patch-sudoers-file


aptitude install isc-dhcp-server
opsi-setup --auto-configure-dhcpd

/etc/init.d/isc-dhcp-server status
Konfiguration des dhcp-Servers ist unter  /etc/dhcp/dhcpd.conf
nano /etc/opsi/backendManager/dispatch.conf
backend_.* : file, opsipxeconfd, dhcpd    #vorübergehend herausgenommen
host_.* : file, opsipxeconfd, dhcpd       #vorübergehend herausgenommen

/etc/init.d/isc-dhcp-server stop     #vorerst stoppen

opsi-setup --init-current-config
opsi-setup --set-rights
service opsiconfd restart
service opsipxeconfd restart

nano /etc/opsi/backends/hostcontrol.conf
         "resolveHostAddress": False,

nano /etc/opsi/opsiconfd.conf
        update ip = yes

service opsiconfd reload

opsi-admin -d method backend_info

nano /etc/opsi/opsi-product-updater.conf
proxy =
opsi-product-updater -i -vv

Weboberfläche aufrufen:

service opsiconfd restart      # Den Dienst starten/ stoppen/ restarten

opsi-package-manager -l     #auflisten aller Packete

Ein Paket insztallieren:
kopieren nach /home/opsiproducts
opsi-package-manager -i swaudit_4.0.5-2.opsi

aptitude  install opsi-configed
damit die Software-Inventur funktioniert muss unter dem
> Reiter Produkt-Defaultproperties
> swaudit
rechts unten folgende Werte eingestellt werden:
extended_search  off
readfromfile  off
usefilebuffer on
usekeyfinder  on