Instalação OASIS 2.2.1 no CentOs/Red Hat 6.7

Publicado por Fabio Lopes em 04/03/2016

[ Hits: 2.604 ]

 


Instalação OASIS 2.2.1 no CentOs/Red Hat 6.7



Pré-requisitos:

Atualizando os pacotes:

# yum update -y
# yum install gcc


Instalar Apache:

# yum install httpd -y
# service httpd start
# chkconfig httpd on


Para configurar reescrita de URL:

# nano /etc/httpd/conf/httpd.conf

* Alterar todas as entradas AllowOverride None para AllowOverride All

Instalar PostGreSQL:

# yum install postgresql postgresql-client php5-pgsql postgresql-contrib libxslt -y

# adduser postgres
# psql -U postgres


postgres=# ALTER USER postgres WITH ENCRYPTED PASSWORD 'OUTRASENHA';
postgres=# CREATE DATABASE oasis;
postgres=# createlang -U postgres plpgsql
postgres=# CREATE LANGUAGE plpgsql;
postgres=# \q

Testar conexão com banco PostGreSQL:

# psql -U postgres -W -h localhost (aparecerá a versão psql)

Modificar:

# nano /var/lib/pgsql/data/pg_hba.conf (alterar para)

local  all  all              trust
host   all  all 127.0.0.1/32 trust
host   all  all ::1/128      trust

Instalar PHP:

# yum install gcc gd libXpm php-pear php-cli gmp php php-mysql php-mcrypt php-mbstring php-common php-gd php-bcmath -y

Instalar OASIS 2.2.1:

# mkdir -p /var/www

Descompatar o arquivo OASIS aqui:

# cd /var/www
# tar -zvxf oasis_2_2_1.tar.gz
# chmod 755 /var/www/html/oasis/application/configuration/const.php
# chmod 755 /var/www/html/oasis/application/configuration/config.ini
# nano /var/www/html/oasis/application/configuration/const.php


Alterar define("K_INSTALL","S"); para define("K_INSTALL","N");

Acessar:

http://localhost/oasis/

FIM

Outras dicas deste autor

Verificar quantos cores e processadores existem na máquina

Instalar e configurar JBOSS AS 7.1.1 no CentOs 6

Instalar Apache-Arquiva 2.2.0 no CentOs 6

Instalar e configurar TOMCAT 7 no CentOS/RedHat 6

Leitura recomendada

Instalando o navegador Opera no Debian 10 Buster

Pacote do Firefox para o Debian Etch 4.0 Linux

Lineduc - Linux Educacional Duque de Caxias

Mudando senhas de acesso de contas de e-mail no Mozilla Thunderbird

Utilizando abreviações no Vim

  

Comentários

Nenhum comentário foi encontrado.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts