Saturday, November 21, 2009

Crazy Sorority Stories

How to install a web host (apache + php5 + phpmyadmin mysql4x +)


What is GLPI?
In short, GLPI is an application developed in PHP which accesses travez web browser, uses MySQL as database engine, and Apache. Its functions are oriented to the management of IT resources. For example, you can take a stock (inventory) of inputs we have in our company, monitors, keyboards, mothers etc. We appends financial data, we can add users, groups, assign user profiles, import LDAP, IMAP, POP, Exchange and others, asiganrle inputs and maintain a database with the info.
has a CRM system (generation of incidents, with follow up by e-mail), FAQ, Knowledge Base, authentication, backup systems to de la base de datos SQL, Gestion de contactos y proveedores, Contratos, subir documentos de casi todo tipo, agregar notas privadas o publicas, y varias cosas mas.
Es ideal para organizar las tareas y recursos de un sector de IT o soporte técnico, y lo mejor de todo, que esta sobre la licencia GPL (o sea que es libre y gratuito)
Se requieren conocimientos básicos de SO Linux para proseguir.
Guía de instalación GLPI Sobre Linux/Debian 4.0r5


Indice Instalar Web Server Apache 2 Instalar PHP 5 Instalar MySQL Server 5.0
Descargar e instalar GLPI






Prepare system

First, verify that network configuration allows access to the Debian FTP site to download the required packages, like the following should be the file / etc / network / interfaces:



car as the inet loopback iface

auto eth0 iface eth0 inet dhcp



If the IP is static, then it would be:

car as the inet loopback iface
auto eth0 iface eth0 inet static address 10.10
.4.11
10.10.4.249 netmask 255.255.252.0 gateway
up route add-net 0.0.0.0 netmask 0.0.0.0 gw 10.10.4.249


The IPs are just an example, why the change needed, the last line is for output to internet.
Restart network services after making configuration changes:

# / etc / init.d / networking restart

Check the file / etc / apt / sources.list has loaded the repositories:


deb http://security.debian.org/ etch / updates main contrib deb-src
http://security.debian.org/ etch / updates main contrib deb

http://ftp.debian.org/debian/ etch main contrib non-free deb-src
http://ftp.debian.org/debian/ etch main contrib non-free


Update list of available packages:

# apt-get update


Install Apache 2 Web Server

With Synaptic, (Front End) of APT, find and mark to install apache2, which also resolve, download and install the other packages needed.
To avoid the error message "apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName" to restart the web server, edit the httpd.conf file in / etc/apache2 and load following :
ServerName [hostname] without the brackets.
For example: ServerName
srvglpi

Install PHP 5

Similarly, install php5, along with their dependencies. Besides these, install the following packages: php5 module for Apache2 : libapache2-mod-php5
LDAP module for php5 (if need): php5-ldap

Increase maximum amount of memory a script may consume, editing the php.ini file: # vim / etc/php5/apache2/php.ini memory_limit
Find the line under "Resource Limits" and change the value to 32M 16M (or more)



Installing MySQL

Server 5.0 Mark to install mysql-server along with their dependencies, and also install the package php5-mysql


Download and install GLPI


From
http://glpi-project.org
can download the latest version of GLPI.

Once downloaded, extract the contents:

# tar-xvzf GLPI-0.71.1.tar.gz
GLPI Copy the resulting folder in the web server:

GLPI # cp-R / var / www /

give permission for the installation:
# chmod-R 777 / var / www / GLPI / config / # chmod-R 777 / var / www / GLPI / files /

Restart the web server:
# / etc/init.d/apache2 Start

restart the installation by locating the web browser at the following address: http://localhost/glpi
The following steps are simple: Choose
language. Check
compatibilities, (you have to say everything "Perfect!"

In connection to the database, usually the host is "localhost" then enter the user and pass that put in the installation of MySQL.
We create a new database a name for it, and continue to complete the installation.
If we are wrong in something, no matter, we delete in file / config_db.php which is within the directory (by default) / var / www / GLPI / config and we can start all over again.


Notes:

- Have ready the name of the database to introduce to install mysql-server-5.0, as well as the username and password.
- The backups of databases GLPI are saved by default in / var / www / GLPI / files / _dumps

Part of the info was obtained from the official site
http://glpi-project.org various information about GLPI:

http://glpi-project.org/wiki/doku.php?id=es:recepcion


Greetings, and I hope someone can serve!

Kienhg


0 comments:

Post a Comment