I install ocs on my web server
there is not package so i should install manually the web service
I have a configuration file ocsreports.conf and i copy it under /etc/apache2 config directory
with it i can run the ocsreports without problem
but when i try to modify the file with yast/http , my ocsreports.conf file is not read , more yast deleted it !!
If a make a configuration file with yast/http , and after mofify it manually ; again yast remove it ?!!
so where yast put in memory his file ?? I would like to be able to modify my file with yast
i think i did"nt explain my problem.
simply i try to said :
why i did’nt see and can modif with yast this vhost ? the ocsreport.conf is in the good place
It look like i have all the rights instructions but yast does’nt see the conf file ???
is my explanation correct ?
and as i said if a copy a xxxx.conf on the vhosts directory yast saw directly the file !! but not my ocsreports.conf ?? !!!
**erlangen:~ #** cat /etc/apache2/conf.d/Albums.conf
# location of local albums
Alias "/Albums" "/home/Albums/jAlbums/"
# grant access
Require all granted
Options Indexes FollowSymLinks
I think you dont understand my problem
my ocsreport.conf work fine !! no web problem, everything are working
i am obliged to edit and modif the file with a editor and after start manually apache : systemctl restart apache2 …
I a got with Yast/http i did’nt see the vhost directory the ocsreports , that’s mean yast does’nt read the conf and if i quit yast with save !! IT DELETED my ocsreport.conf !!
So what is wrong in my file ??
what line yast is looking for to read the conf ?
I give you again the beginning
# ne peut mettre servername sinon plante
# si il fallait modifier le fichier hosts
ServerAlias /ocsreports /srv/www/htdocs/ocsreports
and this begin is the “same” as other conf file ???
Should be self-explanatory.
You can copy and paste the code into a “su” console or save as a script file and make it executable.
Installs all ocsinventory prerequisites and initial configurations.
Launches the ocsinventory setup, I’ve been able to walk almost all the way through until Perl files are copied to the ocsinventory directory, for some unknown reason it fails without an obvious reason (complains about no file or directory, but the directory exists and there shouldn’t be a permissions problem). Since it’s an ocsinventory issue, I’m considering it out of scope of what I’m doing but others are welcome to see what they can do with it(maybe the error won’t even show up for others).
OCSinventory is an interesting app.
I think I installed this long ago (maybe 10 years ago?) and it was pretty good at collecting and reporting the assets in your network… But I don’t remember the install being this difficult or complex. The script I created should hopefully remove all the complexity setting up on LEAP leaving only the ocsinventory setup itself.
If there is a demand to modify the script to support other versions of openSUSE or Tumbleweed, I can do that, too…