Documente Academic
Documente Profesional
Documente Cultură
ssh_config: defines SSH rules for clients. It means that it defines rules that are applied everytime
you use SSH to connect to a remote host or to transfer files between hosts;
sshd_config: defines SSH rules for your SSH server. It is used for example to define the reachable
SSH port or to deny specific users from communicating with your server.
vi /etc/ssh/sshd_conf
Altere o parametro:
#PermitRootLogin
PermitRootLogin yes
GLPI
vim /etc/apt/sources.list
comentar a linha que chama o cdrom (utiliza-se # no início da linha para comentá-la)
Adicionar repositórios
apt-get update
Instalar pré-requisitos obrigatórios
apt-get install apache2 php php-curl php-gd php-cli php-mbstring php-mysql php-xml -y
sudo mysql_secure_installation
apt-get install php-cli php-cas php-imap php-ldap php-xmlrpc php-soap php-snmp php-apcu -y
Ajustes no php.ini
vim /etc/php/7.0/apache2/php.ini
cd /var/www/html
wget https://github.com/glpi-project/glpi/releases/download/9.3.3/glpi-9.3.3.tgz
mysql -uroot -p
quit;
vim /etc/apache2/conf-available/glpi.conf
(Incluir os parâmetros)
<Directory "/var/www/html/glpi">
AllowOverride All
</Directory>
Finalizar
a2enconf glpi.conf