Skip to content

Instantly share code, notes, and snippets.

@luizkowalski
Created October 22, 2013 10:45
Show Gist options
  • Save luizkowalski/7098500 to your computer and use it in GitHub Desktop.
Save luizkowalski/7098500 to your computer and use it in GitHub Desktop.
Subindo o servidor
sudo ip addr add 192.168.0.183/24 dev eth0 #Configura o ip
ip route add default via 192.168.0.106 #Configura o proxy
sudo ip link set dev eth0 up #Sobe a interface
# Verificar o arquivo /etc/resolv.conf, deve conter as seguintes linhas
nameserver 8.8.8.8
nameserver 8.8.4.4
#Subir o postgres
su - postgres #Loga como superuser postgres
Password: admin
pg_ctl -D /var/lib/postgres/data/ -l /var/log/postgresql.log start #Inicia o serviço do banco
#Sair do console do postgres
#Subir os serviços
sudo systemctl start sshd
sudo systemctl start jenkins
sudo systemctl start openfire
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment