Nowe posty

Autor Wątek: Przydatne oprogramowanie  (Przeczytany 14348 razy)

mkaiser

  • Gość
Przydatne oprogramowanie
« dnia: 2008-06-05, 12:03:43 »
Witam!
Chciałbym się Was poradzić, jakim oprogramowaniem warto się zainteresować, które byłoby podobne w działaniu do:

1.Nessus'a //jakiś inny skaner do testowania w ostatnich paru dniach znalazłem trochę, ale chciałbym jeszcze szerszą społeczność spytać

2.jakiś program do inwentaryzacji sprzętu, oprogramowania w sieci.


Z góry dziękuję za pomoc.


Marcin

maciasz

  • Gość
Przydatne oprogramowanie
« Odpowiedź #1 dnia: 2008-06-05, 15:15:36 »
Ad. 2 np. ocs-inventory

mkaiser

  • Gość
Przydatne oprogramowanie
« Odpowiedź #2 dnia: 2008-06-17, 08:03:59 »
bardzo dziękuję za informację, ten program naprawdę wygląda obiecująco a poza tym jest w repozytoriach Debiana :) rozszerzeniem jego funkcjonalności jest GLPI.

mkaiser

  • Gość
Przydatne oprogramowanie
« Odpowiedź #3 dnia: 2008-07-02, 13:26:14 »
Polecam OCSa pod Debiana, ale testing, bowiem są gotowe repozytoria.
Najpierw należy zainstalować mysql, ustawić hasło na roota i dopiero wówczas zainstalowac OCS. problem można napotkać przy próbie logowania (jakaś dodatkowa autoryzacja nigdzie nie opisana...) w pliku htpasswd.setup trzeba wywalić * z wpisu: admin:* i dac haselo lub puste jak ktos chce ;)

mkaiser

  • Gość
Przydatne oprogramowanie
« Odpowiedź #4 dnia: 2008-07-21, 08:17:40 »
wskazówka dot OCS Inventory i GLPI pod Debianem.
Niestety miałem przejściowe problemy z tymi narzędziami pod Debianem Lenny.
Problem dot PHP4 które jest chyba wycofywane z Lennego a paczka OCS Inventory potrzebuje PHP4 z PHP5 bez zmian developerów OCS nie działa...
GLPI jest w repo dla stabilnej i testowej wersji, ale dla stabilenj dość stara wersja. Aktulanie chodzi to na dwóch maszynach: OSC Inventory na Etch i GLPI na Lenny ze wg na atrakcjyjny dla usera interfejs.

mkaiser

  • Gość
Przydatne oprogramowanie
« Odpowiedź #5 dnia: 2008-07-25, 08:17:06 »
przepis na sukces OCS Inventory & GLPI na 1 maszynie - Debian Etch

>>>>> INSTALACJA OCS INVENTORY 1.01 I GLPI 0.71 NA DEBIAN ETCH 22.07.2008  <<<<<<<<

###################
###Zasoby wiedzy###
###################

- http://www.ocsinventory-ng.org/
- http://glpi-project.org/
- http://linuxfellaz.net/doku.php?id=debian:ocs_glpi
- http://glpi-project.org/wiki/doku.php?id=fr:install:glpietch
- http://translate.google.pl/translate?hl=pl&sl=fr&u=http://glpi-project.org/wiki/doku.php&sa=X&oi=translate&resnum=1&ct=result&prev=/search%3Fq%3Dhttp://glpi-project.org/wiki/doku.php%253Fid%253Dfr:install:glpietch%26hl%3Dpl%26lr%3D%26sa%3DG


#####################################################
###Przygotowanie środowiska dla OCS Inventory 1.01###
#####################################################

-apt-get install:
apache2
libapache2-mod-perl2
libapache2-mod-php4
php4
php4-gd
perl
libxml-simple-perl
libcompress-zlib-perl
libdbi-perl
libdbd-mysql-perl
libapache-dbi-perl
mysql-server
php-pear
php4-dev
libnet-ip-perl
php4-mysql
build-essential
libsoap-lite-perl
oraz
mysql-admin

-ustawić hasło na root mysql i dodac @%
-opcjonalnie edytowac my.conf w celu umozliwienia zdalnego logowania do mysql
-pobrac OCS Inventory 1.01
-pobrac GLPI


#######################################
###Przygotowanie środowiska dla GLPI###
#######################################

-dodanie wpisu w sources.list:
deb http://ftp.fr.debian.org/debian etch main contrib
-apt-get update
-apt-get install:
apache2
php5
libapache2-mod-php5
php5-imap
php5-ldap
php5-curl
mysql-server-5.0
php5-mysql
php5-gd

-restart apache2 i mysql
-w mysql-admin zaozyc baze glpidb
create database glpidb;
-w mysql-admin zalozyc użytkownika "glpiuser" i nadac mu prawa:
grant all privileges on glpidb.* to glpiuser@localhost identified by 'HASLO';
-restart mysql

#####################
###Instalacja GLPI###
#####################

tar-xvzf glpi-XXXtar.gz-C / var/www/apache2-default
chown -R www-data /var/www/apache2-default/glpi
restart apache
http://IP/apache2-default/glpi/install.php

krok1
localhost
root
HASLO

krok2
db:glpidb

##############################
###Instalacja OCS Inventory###
##############################
tar -xvf OCSNG_LINUX_SERVER_1.01.tar.gz
uruchomic ./setup.sh
towrzy sie wsyztkow w /var/www


ocsserver:/home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01# ./setup.sh

+----------------------------------------------------------+
|                                                          |
| Welcome to OCS Inventory NG Management server setup !    |
|                                                          |
+----------------------------------------------------------+

CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and
previous, please remove any Apache configuration for Communication Server!

Do you wish to continue ([y]/n)?y
Assuming Communication server 1.0 RC2 or previous is not installed
on this computer.

Starting OCS Inventory NG Management server setup from folder /home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01
Storing log in file /home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01/ocs_server_setup.log

+----------------------------------------------------------+
| Checking for database server properties...               |
+----------------------------------------------------------+

Your MySQL client seems to be part of MySQL version 5.0.
Your computer seems to be running MySQL 4.1 or higher, good ;-)

Which host is running database server [localhost] ?
OK, database server is running on host localhost ;-)

On which port is running database server [3306] ?
OK, database server is running on port 3306 ;-)


+----------------------------------------------------------+
| Checking for Apache web server daemon...                 |
+----------------------------------------------------------+

Where is Apache daemon binary [/usr/sbin/apache2] ?
OK, using Apache daemon /usr/sbin/apache2 ;-)


+----------------------------------------------------------+
| Checking for Apache main configuration file...           |
+----------------------------------------------------------+

Where is Apache main configuration file [//etc/apache2/apache2.conf] ?
OK, using Apache main configuration file //etc/apache2/apache2.conf ;-)


+----------------------------------------------------------+
| Checking for Apache user account...                      |
+----------------------------------------------------------+

Which user account is running Apache web server [www-data] ?
OK, Apache is running under user account www-data ;-)


+----------------------------------------------------------+
| Checking for Apache group...                             |
+----------------------------------------------------------+

Which user group is running Apache web server [www-data] ?
OK, Apache is running under users group www-data ;-)


+----------------------------------------------------------+
| Checking for PERL Interpreter...                         |
+----------------------------------------------------------+

Found PERL Intrepreter at ;-)
Where is PERL Intrepreter binary [/usr/bin/perl] ?
OK, using PERL Intrepreter /usr/bin/perl ;-)


Do you wish to setup Communication server on this computer ([y]/n)?y


+----------------------------------------------------------+
| Checking for Make utility...                             |
+----------------------------------------------------------+

OK, Make utility found at ;-)


+----------------------------------------------------------+
| Checking for Apache Include configuration directory...   |
+----------------------------------------------------------+

Setup has found Apache Include configuration directory in
//etc/apache2/conf.d/.
If you are not using Include directive, please enter 'no'.
Where is Apache Include configuration directory [//etc/apache2/conf.d/] ?
OK, Apache Include configuration directory //etc/apache2/conf.d/ found ;-)

+----------------------------------------------------------+
| Checking for Apache mod_perl version...                  |
+----------------------------------------------------------+

Checking for Apache mod_perl version 1.99_22 or higher
Found that mod_perl version 1.99_22 or higher is available.
OK, Apache is using mod_perl version 1.99_22 or higher ;-)

+----------------------------------------------------------+
| Checking for Communication server log directory...       |
+----------------------------------------------------------+

Communication server can create detailled logs. This logs can be enabled
by setting interger value of LOGLEVEL to 1 in Administration console
menu Configuration.
Where to put Communication server log directory [/var/log/ocsinventory-NG] ?
OK, Communication server will put logs into directory /var/log/ocsinventory-NG ;-)


+----------------------------------------------------------+
| Checking for required Perl Modules...                    |
+----------------------------------------------------------+

Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for Apache::DBI PERL module...
Found that PERL module Apache::DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for Compress::Zlib PERL module...
Found that PERL module Compress::Zlib is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.
Checking for SOAP::Lite PERL module...
Found that PERL module SOAP::Lite is available.


+----------------------------------------------------------+
| OK, looks good ;-)                                       |
|                                                          |
| Configuring Communication server Perl modules...         |
+----------------------------------------------------------+

Checking if your kit is complete...
Looks good
Writing Makefile for Apache::Ocsinventory

+----------------------------------------------------------+
| OK, looks good ;-)                                       |
|                                                          |
| Preparing Communication server Perl modules...           |
+----------------------------------------------------------+


+----------------------------------------------------------+
| OK, prepare finshed ;-)                                  |
|                                                          |
| Installing Communication server Perl modules...          |
+----------------------------------------------------------+


+----------------------------------------------------------+
| OK, Communication server Perl modules install finished;-)|
|                                                          |
| Creating Communication server log directory...           |
+----------------------------------------------------------+

Creating Communication server log directory /var/log/ocsinventory-NG.

Fixing Communication server log directory files permissions.
Configuring logrotate for Communication server.
Writing communication server logrotate to file /etc/logrotate.d/ocsinventory-NG


+----------------------------------------------------------+
| OK, Communication server log directory created ;-)       |
|                                                          |
| Now configuring Apache web server...                     |
+----------------------------------------------------------+

Writing communication server configuration to file //etc/apache2/conf.d//ocsinventory.conf

+----------------------------------------------------------+
| OK, Communication server setup sucessfully finished ;-)  |
|                                                          |
| Please, review //etc/apache2/conf.d//ocsinventory.conf
| to ensure all is good. Then restart Apache daemon.       |
+----------------------------------------------------------+


Do you wish to setup Administration server (web administration console)
on this computer ([y]/n)?y

+----------------------------------------------------------+
| Checking for Apache root document directory...           |
+----------------------------------------------------------+

Where is Apache root document directory [] ?/var/www
OK, Apache root document directory is /var/www ;-)


+----------------------------------------------------------+
| Checking for required Perl Modules...                    |
+----------------------------------------------------------+

Checking for DBI PERL module...
Found that PERL module DBI is available.
Checking for DBD::mysql PERL module...
Found that PERL module DBD::mysql is available.
Checking for XML::Simple PERL module...
Found that PERL module XML::Simple is available.
Checking for Net::IP PERL module...
Found that PERL module Net::IP is available.

+----------------------------------------------------------+
| Installing files for Administration server...            |
+----------------------------------------------------------+

Creating directory /var/www/download.

Creating directory /var/www/ocsreports.

Copying files to /var/www/ocsreports.

Fixing directories and files permissions.

Configuring IPDISCOVER-UTIL Perl script.

Installing IPDISCOVER-UTIL Perl script.

Fixing permissions on IPDISCOVER-UTIL Perl script.

+----------------------------------------------------------+
| OK, Administration server installation finished ;-)      |
|                                                          |
| Point your browser to http://server/ocsreports to        |
| configure database server and create/update schema.      |
+----------------------------------------------------------+


Setup has created a log file /home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01/ocs_server_setup.log. Please, save this file.
If you encounter error while running OCS Inventory NG Management server,
we can ask you to show us his content !

DON'T FORGET TO RESTART APACHE DAEMON !

Enjoy OCS Inventory NG ;-)

ocsserver:/home/marcin/ocs_1.01/OCSNG_LINUX_SERVER_1.01#

-restart apache
-na wwww  http://IP/ocsreports/
root
HASLO
localhost