OPSI Client agent Install

pmurari
Beiträge: 1
Registriert: 01 Jun 2018, 20:15

OPSI Client agent Install

Beitragvon pmurari » 01 Jun 2018, 22:09

Hi,

I am new to using OPSI and can't figure out how and from where can I install the opsi client. I have server setup on my laptop and I want to install client agent on other laptops.

This is my first time ever trying OPSI so my apologies for such a basic question.

uncle_scrooge
Beiträge: 494
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: OPSI Client agent Install

Beitragvon uncle_scrooge » 02 Jun 2018, 19:54

You have read Chapter 5 of 'Getting Started' (https://download.uib.de/opsi4.0/doc/htm ... ntegration), do you?
If yes, what exactly do you not understand?

bruce
Beiträge: 3
Registriert: 13 Aug 2018, 09:57

Re: OPSI Client agent Install

Beitragvon bruce » 17 Aug 2018, 05:05

I was in the same situation. Finally I can see that files in /var/lib/opsi/depot, I removed all files in /var/lib/opsi/repository and redo (opsi-package-updater -v install) again. And this time it installed all opsi packages automatically.

By the way, I saw the error messages, but I thought it should be okay. I have chown to opsiconfd.pcpatch
# opsi-package-updater -v install
...
Installing package file '/var/lib/opsi/repository/opsi-script-test_4.12.0.20-1.opsi' on depot 'opsi.mycom.com'
Locking product 'opsi-script-test' on depot 'opsi.mycom.com'
Running package script 'preinst'
Running package script 'postinst'
Bad filename 'd\ufffd\ufffdmmy_cp1252.txt' found in directory '/var/lib/opsi/depot/opsi-script-test/test-files/encoding', skipping entry!
Bad filename 'd\ufffd\ufffdmmy_utf8.txt' found in directory '/var/lib/opsi/depot/opsi-script-test/test-files/encoding', skipping entry!
...

# ll /var/lib/opsi/depot/opsi-script-test/test-files/encoding/d*
-rw-rw---- 1 993 992 195 Jul 20 2016 /var/lib/opsi/depot/opsi-script-test/test-files/encoding/d??mmy_cp1252.txt
-rw-rw---- 1 993 992 195 Jul 26 2017 /var/lib/opsi/depot/opsi-script-test/test-files/encoding/d??mmy_utf8.txt

# chown opsiconfd.pcpatch /var/lib/opsi/depot/opsi-script-test/ test-files/encoding/d*

Benutzeravatar
n.wenselowski
Beiträge: 2886
Registriert: 04 Apr 2013, 12:15

Re: OPSI Client agent Install

Beitragvon n.wenselowski » 17 Aug 2018, 11:03

Hi bruce,

these files are test-files used by opsi-script-test and you can ignore the Bad filename message for these.


Kind regards

Niko
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.

bruce
Beiträge: 3
Registriert: 13 Aug 2018, 09:57

Re: OPSI Client agent Install

Beitragvon bruce » 17 Aug 2018, 13:40

Thank you very much, still learning OPSI, why I can not find it more early?!

n.wenselowski hat geschrieben:Hi bruce,
these files are test-files used by opsi-script-test and you can ignore the Bad filename message for these.
Kind regards
Niko