GestioIP otomatik bir, Web tabanlı IPv4 / IPv6 adresi yönetimi (IPAM) yazılımıdır.
İnternet ortamında arama Motoruna eşdeğerçalışır, ifadeler izin, ağlar ve filtre fonksiyonları vardır.
kolayca ve hızlı bir şekilde yöneticilerin bilgi bulmasını sağlar.
GestioIP ayrıca otomatik bir VLAN yönetim sistemi de mevcut.
CentOS 6.5 install
yum install httpd mod_perl mysql make net-snmp net-snmp-utils/etc/init.d/httpd start/etc/init.d/mysqld startchkconfig httpd onchkconfig mysqld on |
MySQL (MariaDB) için bir root parolası ayarlıyalım aşağıdaki komutu kullanın
mysqladmin -u root password newpass |
tar zxvf gestioip_3.0.tar.gzcd gestioip_3.0./setup_gestioip.sh |
This script will install GestioIP 3.0 on this computerDo you wish to continue [y]/n? YStarting GestioIP setup from folder /root/gestioip_3.0Storing log in file /root/gestioip_3.0/20140912162436.setup.log+———————————————————-+| Checking for Apache web server daemon… |
+———————————————————-+
Where is Apache daemon binary [/usr/sbin/httpd]? OK, using Apache daemon /usr/sbin/httpd
+———————————————————-+ | Checking for Apache main configuration file… | +———————————————————-+
Where is Apache main configuration file [/etc/httpd/conf/httpd.conf]? OK, using Apache main configuration file /etc/httpd/conf/httpd.conf
+———————————————————-+ | Checking for Apache user account… | +———————————————————-+
Which user account is running Apache web server [apache]? OK, Apache is running under user account apache
+———————————————————-+ | Checking for Apache group… | +———————————————————-+
Which user group is running Apache web server [apache]? OK, Apache is running under users group apache
+———————————————————-+ | Checking for Apache Include configuration directory… | +———————————————————-+
+———————————————————-+ | Checking for Apache Include configuration directory… | +———————————————————-+
Where is Apache Include configuration directory [/etc/httpd/conf.d/]? OK, using Apache Include configuration directory /etc/httpd/conf.d
+———————————————————-+ | Checking for PERL Interpreter… | +———————————————————-+
Where is PERL Intrepreter binary [/usr/bin/perl]? OK, using PERL Intrepreter /usr/bin/perl
+———————————————————-+ | Checking for Apache mod_perl version… | +———————————————————-+
Checking for Apache mod_perl Apache mod_perl available – Good!
+———————————————————-+ | Checking for required Perl Modules… | +———————————————————-+
Do you plan to import networks or hosts from spreadsheets [y]/n? Y
##### There are required Perl Modules missing #####
Setup can install the missing modules
Do you wish that Setup installs the missing Perl Modules now [y]/n? Y
Dependency Updated: libjpeg-turbo.x86_64 0:1.2.1-3.el6_5
Complete!
Where is MAKE binary [/usr/bin/make]? Enter
### Installing OLE-Storage_Lite Downloading OLE-Storage_Lite-0.19.tar.gz from CPAN… OK Installation of OLE-Storage_Lite-0.19.tar.gz SUCCESSFUL
### Installing Spreadsheet-ParseExcel Downloading Spreadsheet-ParseExcel-0.58.tar.gz from CPAN… OK Installation of Spreadsheet-ParseExcel-0.58.tar.gz SUCCESSFUL
### Installing Parallel-ForkManager Downloading Parallel-ForkManager-0.7.9.tar.gz from CPAN… OK Installation of Parallel-ForkManager-0.7.9.tar.gz SUCCESSFUL
### Installing Net-Ping-External Downloading Net-Ping-External-0.15.tar.gz from CPAN… OK Installation of Net-Ping-External-0.15.tar.gz SUCCESSFUL
### Installing SNMP-Info Downloading SNMP-Info-2.01.tar.gz from CPAN… OK Installation of SNMP-Info-2.01.tar.gz SUCCESSFUL
SNMP::Info needs the Netdisco MIBs to be installed Setup can download MIB files (11MB) and install it under /usr/share/gestioip/mibs
If Netdisco MIBs are already installed on this server type “no” and specify path to MIBs via frontend Web (manage->GestioIP) after finishing the installation
Do you wish that Setup installs required MIBs now [y]/n? Y
+———————————————————-+ | Configuration of Apache Web Server… | +———————————————————-+
Which is the Apache DocumentRoot directory [/var/www/html]? Enter
Which is the Apache DocumentRoot directory [/var/www/html]? OK, using Apache DocumentRoot /var/www/html
Where is htpasswd [/usr/bin/htpasswd]? OK, using htpasswd /usr/bin/htpasswd
Which should be the read-only (ro) user [gipoper]? OK, using ro user gipoper
Which should be the read-write (rw) user [gipadmin]? OK, using rw user gipadmin
+++++++++++++++++++++++++++++++++++++++++++++++++++ Now open a new shell and execute the following two commands LIKE ROOT to create the GestioIP apache users: +++++++++++++++++++++++++++++++++++++++++++++++++++
sudo /usr/bin/htpasswd -c /etc/httpd/users-gestioip gipoper sudo /usr/bin/htpasswd /etc/httpd/users-gestioip gipadmin
After this press ENTER |
SSH ile kurulum yaptığımız sunucuya bağlanalım kullanıcı ve şifre oluşturalım
ro user (gipoper) successfully createdrw user (gipadmin) successfully createdUnder which directory should GestioIP’s script files be installed [/usr/share/gestioip]?OK, using script base directory /usr/share/gestioipNote for Fedora/Redhat/CentOS Linux:
Some functions of GestioIP require an update of SELinux policy Setup can update SELinux policy automatically Do you wish that Setup updates SELinux policy now [y]/n? Y
Downloading Type Enforcement File from www.gestioip.net…OK Executing “check_module”…OK Executing “semodule_package”…OK Executing “semodule”…OK
Update of SELinux policy SUCCESSFUL
Updating permissions of GestioIP’s cgi-dir…SUCCESSFUL
+——————————————————-+ | | | Installation of GestioIP successfully finished! | | | | Please, review /etc/httpd/conf.d/gestioip.conf | to ensure all is good and | | | | RESTART Apache daemon! | | | | Then, point your browser to | | | | http://server/gestioip/install | | | to configure the database server. | | Access with user “gipadmin” and the | the password which you created before | | | +——————————————————-+ |
Selinux disabled ve restart
vim /etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing – SELinux security policy is enforced.# permissive – SELinux prints warnings instead of enforcing.# disabled – No SELinux policy is loaded.SELINUX=disapled
# SELINUXTYPE= can take one of these two values: # targeted – Targeted processes are protected, # mls – Multi Level Security protection. SELINUXTYPE=targeted |
İnstall remove
rm -Rf /var/www/html/gestioip/install/ |
URL: http://localhost/gestioip