Mudanças entre as edições de "Setup Inicial"

De Gigafull
Ir para navegação Ir para pesquisar
Linha 21: Linha 21:
 
  apt-get update
 
  apt-get update
 
  apt-get upgrade
 
  apt-get upgrade
 +
 +
'''Instalar pacotes básicos'''
 +
apt-get install net-tools -y
 +
apt-get install apache2 -y
 +
apt-get install nmap -y
 +
apt-get install php libapache2-mod-php php-mysql -y
 +
apt install unzip -y
 +
systemctl start apache2
 +
systemctl enable apache2
 +
apt-get install mysql-server -y
 +
systemctl start mysql.service
 +
systemctl enable mysql.service
  
 
  '''Permitir remote root login'''
 
  '''Permitir remote root login'''

Edição das 16h34min de 15 de dezembro de 2022

Requisitos SO

Sistema Operacional: Ubuntu Server 22.04.1 LTS

Memória: 2Gb
Disco: 200Gb
CPU: 2vCPU

Orientações Instalação

Idioma: Português
Tipo Instalação: Ubuntu Server
IP: Fixo e Público
Proxy: Deixar em branco
Nome: GIGAFULL SOLUCOES TECNOLOGICAS
Nome do Servidor: gigafull-admin
Nome do utilizador: gigafull
Senha: 123mudar
Install OpenSSH Server: Sim

= Orientações Após Instalação

Atualizar
apt-get update
apt-get upgrade
Instalar pacotes básicos
apt-get install net-tools -y
apt-get install apache2 -y
apt-get install nmap -y
apt-get install php libapache2-mod-php php-mysql -y
apt install unzip -y
systemctl start apache2
systemctl enable apache2
apt-get install mysql-server -y
systemctl start mysql.service
systemctl enable mysql.service
Permitir remote root login
vim /etc/ssh/sshd_config
#Na linha PermitRootLogin alterar
De: PermitRootLogin no
Para PermitRootLogin yes
systemctl restart sshd