Mudanças entre as edições de "Instalação SEER 2.x"

De IBICT
Ir para: navegação, pesquisa
Linha 21: Linha 21:
  
 
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").
 
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").
 +
 +
<pre>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..</pre>

Edição das 10h45min de 24 de setembro de 2013

  • 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

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..