This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Crear partición para montar nuestro root | |
mkdir /mnt/arch | |
Montar root | |
mount /dev/sda2 /mnt/arch | |
Montar boot | |
mount /dev/sda1 /mnt/arch/boot | |
Montar /dev/sys y /proc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Habilitar ssh | |
#flush de todas las reglas y todos los chains | |
iptables -F | |
#trafico entrante | |
iptables -A INPUT -m state --state ESTABLISHED,RELATED -m comment --comment "Aceptar conexiones existentes" -j ACCEPT | |
iptables -A INPUT -p icmp -m comment --comment "Aceptar ping" -j ACCEPT | |
iptables -A INPUT -i lo -m comment --comment "Aceptar conexiones internas" -j ACCEPT | |
iptables -A INPUT -m state --state NEW -p tcp --dport 22 -m comment --comment "Aceptar puerto 22" -j ACCEPT | |
iptables -A INPUT -m state --state NEW -p tcp --dport 80 -m comment --comment "Aceptar puerto 80" -j ACCEPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Follow this recipe: https://github.com/gitlabhq/gitlab-recipes/blob/master/install/CentOS_6.md | |
Before run bundle install run this command: | |
bundle config build.pg --with-pg-config=/usr/pgsql-9.2/bin/pg_config |