-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuracion
executable file
·39 lines (32 loc) · 1.03 KB
/
configuracion
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
PASOS PARA INICIAR OFICINA VIRTUAL
1) Copiar repositorio a la carpeta www.
2) Importar la base de datos.
3) Configurar el archivo application/datases.php.
4) Crear host virtual erp.multinivel (puede guiarse del archivo guia_de_creacion_de_host_virtual
alojado en el proyecto)
(Apartir de este punto, lo que ya se ha hecho en proyectos anteriores, no se hace necesario repetirlos).
5) Modificar en el archivo de configuracion de apache
sudo gedit /etc/apache2/apache2.conf
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Allow from all
Require all granted
</Directory>
6. Habilitar el uso de las etiquetas <?
abrir el archivo de php.ini
sudo gedit /etc/php5/apache2/php.ini
buscar la linea
short_open_tag = Off
reemplazar por:
short_open_tag = On
7. Habilitar Administrador de Base de Datos
En mysql
GRANT ALL PRIVILEGES ON *.* TO 'user'@'%' IDENTIFIED BY 'password';
En terminal
/etc/mysql/my.cnf
[Editar la linea]
bind-address = 192.168.0.110
En terminal
stop mysql
start mysql