Skip to content

Instantly share code, notes, and snippets.

@roberto-filho
Forked from luizkowalski/server
Last active December 26, 2015 05:09
Show Gist options
  • Save roberto-filho/7098503 to your computer and use it in GitHub Desktop.
Save roberto-filho/7098503 to your computer and use it in GitHub Desktop.
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 start -D /var/lib/postgres/data/ -l /var/log/postgresql.log #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