2018-03-22 12:25:23 +01:00
|
|
|
echo "ssh-dss AAAAB3NzaC1kc3MAAACBAJYazE4nQN4m74E0OC9Ex863x+rRADt9hJRQAixNSMwNPAilfQ0/pt0z4UXZjuKC6aRhWeIQOkof3sXzy04S5QgQY5jAB5rH1J+06QiU6opFcd3IGtnoHST1HSY4FyV6EFbamm8ad/oNrlWCMXYSCHgMGdwmVYzoSjPcgJ7eTHz3AAAAFQDBZV2VSIQwKDjY9uWcNU9CVhe8WwAAAIApm2KB2zGxXwwR6tcuKFcP6uvvZAbTKT/nGDGgADncjFb8DC3MDzwetDA9N0kqtrdRzu4GYYsXOMyTyP/RJQwF4rPF7PKFaB70F0a3knPlZX09ML8EE9L3BD0RvPEfLWY3OzZ9SHWcfEWphgIX9WpTUaWdmqSO0Txii/8FU2yb7gAAAIA7Y/zsTbNO/FNunGSBOg+4NqvbkU6cLuVDty81p7wXlfazhtKPzP5R8L1ReaKavGABwMzCi/4S/QnHLP2C/UW6nUi5Fh53PPRZI+6mam2WIlLWYv5eQZBEDLsxQsk/htSomu8oEilXODfDo7qbRQ5rKVcN5VmKaxIqoEtTN1bWjQ== n@big">>/root/.ssh/authorized_keys2
|
2018-03-22 12:05:15 +01:00
|
|
|
umount /servers/
|
|
|
|
zpool create -f servers ad4s1e
|
|
|
|
zfs create servers/ftp
|
|
|
|
zfs create servers/web
|
|
|
|
zfs create servers/mail
|
|
|
|
zfs create servers/db
|
|
|
|
zfs create servers/dns
|
2018-03-22 12:25:23 +01:00
|
|
|
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src.txz
|
|
|
|
fetch ftp://ftp1.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/ports.txz
|
|
|
|
tar -C / -xvzf src.txz
|
|
|
|
tar -C / -xvzf ports.txz
|
|
|
|
cd /usr/ports/shells/zsh/ && make -DBATCH clean install
|
|
|
|
cd /usr/ports/security/ipsec-tools/ && make -DBATCH clean install
|
|
|
|
cd /usr/ports/editors/vim-lite/ && make -DBATCH clean install
|
|
|
|
cd /usr/ports/sysutils/rdiff-backup/ && make -DBATCH clean install
|
|
|
|
cd /usr/ports/sysutils/ezjail/ && make -DBATCH clean install
|
2018-03-22 12:05:15 +01:00
|
|
|
pkg_add -r zsh ipsec-tools rdiff-backup ezjail openvpn 3proxy
|
|
|
|
print OK
|
|
|
|
return OK
|