Last active
December 15, 2015 08:18
-
-
Save srounet/5229470 to your computer and use it in GitHub Desktop.
FREEBSD 9.1 VM
+ Emacs
+ Tor
+ Haproxy
+ Htop
+ Polipo
This file contains 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
# VMWare 9 | |
# Freebsd 9.1 Bootimage | |
# Network: Bridged | |
# DHCP: Auto | |
# Disk: 5.0 Go | |
# Ram: 256 Mo | |
# AllocateFullDiskSpace: Yes | |
#Disable rsyslog listen | |
echo syslogd_flags=\"-s -s\" >> /etc/rc.conf | |
#Disable bootloader | |
touch /boot/loader.conf | |
echo beastie_disable=\"YES\" >> /boot/loader.conf | |
echo autoboot_delay=\"-1\" >> /boot/loader.conf | |
#Ports | |
portsnap fetch | |
portsnap extract | |
#Compat linux | |
kldload linux | |
cd /usr/ports/emulators/linux_base-f10 && make install distclean | |
echo linux_enable=\"YES\" >> /etc/rc.conf | |
#Emacs | |
cd /usr/ports/editors/emacs-nox11 && make install distclean | |
#Wget | |
cd /usr/ports/ftp/wget && make install distclean | |
#Tor | |
cd /usr/ports/security/tor && make install distclean | |
echo tor_enable=\"YES\" >> /etc/rc.conf | |
cd /usr/local/etc/rc.d/ && wget --no-check-certificate https://gist.github.com/srounet/5229668/raw/tor | |
chmod +x tor | |
#Haproxy | |
cd /usr/ports/net/haproxy && make install distclean | |
echo haproxy_enable=\"YES\" >> /etc/rc.conf | |
pw useradd haproxy | |
cd /usr/local/etc/ && wget --no-check-certificate https://gist.github.com/srounet/5229532/raw/haproxy.conf | |
#linproc to fstab | |
echo "linproc /compat/linux/proc linprocfs rw 0 0" >> /etc/fstab | |
mkdir -p /usr/compat/linux/proc; ln -s /usr/compat /compat; mount linproc | |
#Htop | |
cd /usr/ports/sysutils/htop && make install distclean | |
#Polipo | |
cd /usr/ports/www/polipo && make install clean | |
cd /usr/local/etc/polipo/ && wget --no-check-certificate https://gist.github.com/srounet/5229822/raw/config | |
echo polipo_enable=\"YES\" >> /etc/rc.conf | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment