Instalação SEER 2.x

De IBICT
Edição feita às 15h00min de 24 de setembro de 2013 por Washington (disc | contribs)

Ir para: navegação, pesquisa
  • Sem estar logado como superusuário, descompactar o arquivo baixado (ojs-2.x.x.tar.gz) dentro da pasta home/[nome-do-usuario]:
tar -vzxf ojs-2.x.x.tar.gz

Índice

Instalar Apache / MySQL (versão >= 3.23) / PHP (versão >= 4.2.x)

Apache

apt-get update
apt-get install apache2

MySQL

apt-get install mysql-server

Notepad.gif NOTA: Durante a instalação, será pedida a senha de root. Não se preocupe se perder a chance de definí-la. Há uma maneira muito simples de setá-la posteriormente.

Execute o script de instalação segura do servidor MySQL:

mysql_secure_installation

Ele realizará uma série de questões a primeira delas se refere a alteração da senha de root. As demais podem ser respondidas todas com y (de "yes").

Enter current password for root (enter for none): 
OK, successfully used password, moving on...

By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y                                            
 ... Success!

Normally, root should only be allowed to connect from 'localhost'.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MySQL comes with a database named 'test' that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up..

PHP

apt-get install php5 php-pear php5-mysql

Reiniciando o servidor Apache para que as modificações entre em vigor:

service apache2 restart

Para verificar que PHP + Apache estão funcionando corretamente, deve-se criar um arquivo info.php, dentro da pasta /var/www/, com o seguinte conteúdo:

<?php
phpinfo();
?>

Se tudo estiver OK, ao chamar pelo endereço http://[endereco-do-servidor]/info.php/ a seguinte resposta deve aparecer:

Php-info.png


Instalação do SEER(OJS)

  • Estando logado como root, mover a pasta descompactada ojs-2.x.x para dentro de /var/www/.
mv ojs-2.x.x /var/www/