Carpeta Operativa GestionIP

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Contenido

1 Introduction..............................................................................................................................2
2 Requirements SO:......................................................................................................................2
3 System preparation See the distribution specific information..................................................2
Enable the required repositories (Debian only) This is only required for Debian.....................2
Configure MySQL/MariaDB after running setup_gestioip.sh.......................................................3
Execute the following steps before continuing with the web based installation part of
GestióIP................................................................................................................................3
4 Installation.................................................................................................................................4
4.1 Script based installation.....................................................................................................4
1 Introduction
GestióIP comes with a script based installation assistant which resolves GestióIP's
dependencies and installs the GestióIP software. The installation consists of two parts. First the
script based part to install the software on the server and to configure the Apache web server
and second a web-based part to create and configure the Mysql database. Please be aware
that there is also a docker-compose deployment available which, specially for testing
purposes, may be an alternative to the installation on a server. See
https://github.com/muebel/gestioip-docker-compose for more information.

2 Requirements SO:
Linux, Unix-like. Setup supports the following actual Linux distributions: Debian, Ubuntu,
Fedora, Redhat, CentOS, SuSE Software: Apache2 with mod_perl, Mysql or MariaDB, Perl,
some Perl modules, SNMP standard MIBs Hardware (min): DualCore CPU 2GHz, RAM: 2GB
(recommended: 4GB) During the installation the server must be connected to the Internet to
download the required packages with the distribution specific packet manager (apt, yum,
zypper).

3 System preparation See the distribution specific information.


3.1 Debian/Ubuntu The installation on Debian/Ubuntu consists in the following steps: 1)
Enable repositories (Debian only). 2) Execute “setup_gestioip.sh” (see 4.1). 3) Configure the
MySQL database. 4) Execute the web base installation part (see 4.2).

Enable the required repositories (Debian only) This is only required for Debian.
For Ubuntu, the required repositories “universe” and “multiverse” will be enabled
automatically by the setup during the installation by executing the commands “add-apt-
repository universe”, “add-apt-repository multiverse” and ”apt-get update”.

Then execute the command sudo apt-get update to take the changes affect.

1. Ahora instalamos MySQL con el comando: sudo apt install mysql-


server.
Configure MySQL/MariaDB after running setup_gestioip.sh

Execute the following steps before continuing with the web based installation part of
GestióIP.

Access from a terminal of the GestióIP server to the MySQL database


sudo mysql -u root

and execute the following statements:

mysql> use mysql; mysql> select Host, User, plugin from user where user="root";

If root’s plugin is set to something other than “mysql_native_password” change it with the
following mysql statement:

Mysql mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY


'password';

mysql> FLUSH PRIVILEGES;

user:root /admin

pass root: longcall840

pass mysql: longcall840

http://192.168.41.23/gestioip
4 Installation

The installation of GestióIP consists of a script based installation assistant to install the
software and a web based part to configure the Mysql database.

4.1 Script based installation

Download GestióIP

* Execute the the following command from a terminal of the GestióIP server to download the
GestióIP installation package:

$ wget http://sourceforge.net/projects/gestioip/files/gestioip_3.5.tar.gz

Install GestióIP

* Open a shell and untar file gestioip_3.5.tar.gz:

$ tar vzxf gestioip_3.5.tar.gz

* Change to the new directory gestioip_3.5

$ cd gestioip_3.5

* Execute the script based installation assistant like root

$ sudo ./setup_gestioip.sh

Restart the Apache web server when the setup script has finished (for Suse remember to
enable the required Apache modules before):

$ sudo systemctl restart apache2 (Debian/Ubuntu)

And access to the web-based database configuration by pointing your browser to


http://server/gestioip/install.

You might also like