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
einfügen:
deb http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/Debian_7.0 ./
wget -O - http://download.opensuse.org/repositories/home:/uibmz:/opsi:/opsi40/Debian_7.0/Release.key | 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
hinzufügen:
deb http://ftp.de.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.de.debian.org/debian/ wheezy  main non-free contrib
deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src http://security.debian.org/ 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
/etc/opsi/modules
file during the installation process.

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


nano /etc/opsi/backendManager/dispatch.conf
hinzufügen:
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
server.

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

opsi-setup --patch-sudoers-file
--

DHCP-Server

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
Ergänzen:
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 = http://10.35.8.240:3128
opsi-product-updater -i -vv

Weboberfläche aufrufen:
https://IP-des-Servers:4447/configed/


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
----------------
Comments