Last active
October 30, 2024 15:12
-
-
Save cdown/5c5b53e1855d7812dfbc to your computer and use it in GitHub Desktop.
Revisions
-
cdown revised this gist
Aug 4, 2014 . 1 changed file with 10 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -42,8 +42,17 @@ apt-get install curl sudo ncurses-term groupadd sudo useradd -m -G sudo -s /bin/bash chris passwd chris cat > /etc/sudoers << 'EOF' root ALL=(ALL) ALL %sudo ALL=(ALL) ALL EOF sudo -iu chris apt-get install git mkdir ~/git git clone git://github.com/cdown/dotfiles.git ~/git/dotfiles (cd ~/git/dotfiles && ./setup) -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,4 +38,12 @@ dpkg-reconfigure locales # optional apt-get install curl sudo ncurses-term groupadd sudo useradd -m -G sudo -s /bin/bash chris cat > /etc/sudoers << 'EOF' root ALL=(ALL) ALL %sudo ALL=(ALL) ALL EOF -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,4 +38,4 @@ dpkg-reconfigure locales # optional apt-get install curl sudo ncurses-term -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,8 @@ apt-get update && apt-get dist-upgrade apt-get install locales dpkg-reconfigure locales # add name to /etc/hosts # optional apt-get install curl sudo -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -36,4 +36,4 @@ dpkg-reconfigure locales # optional apt-get install curl sudo -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -32,4 +32,8 @@ chroot /opt/debian /bin/bash apt-get update && apt-get dist-upgrade apt-get install locales dpkg-reconfigure locales # optional apt-get install wget sudo -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,7 @@ DEBOOTSTRAP_DIR=/opt/debootstrap/usr/share/debootstrap /opt/debootstrap/usr/sbin mount -t proc proc /opt/debian/proc/ mount -t sysfs sys /opt/debian/sys/ mount -o bind /dev /opt/debian/dev/ mount -o bind /dev/pts /opt/debian/dev/pts/ cat > /opt/debian/etc/apt/sources.list << 'EOF' deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,4 +23,12 @@ deb-src http://security.debian.org/ wheezy/updates main non-free contrib deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib EOF chroot /opt/debian /bin/bash # inside chroot apt-get update && apt-get dist-upgrade apt-get install locales dpkg-reconfigure locales -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -12,4 +12,15 @@ DEBOOTSTRAP_DIR=/opt/debootstrap/usr/share/debootstrap /opt/debootstrap/usr/sbin mount -t proc proc /opt/debian/proc/ mount -t sysfs sys /opt/debian/sys/ mount -o bind /dev /opt/debian/dev/ cat > /opt/debian/etc/apt/sources.list << 'EOF' deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib deb-src http://ftp.uk.debian.org/debian/ wheezy main non-free contrib deb http://security.debian.org/ wheezy/updates main non-free contrib deb-src http://security.debian.org/ wheezy/updates main non-free contrib deb http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main non-free contrib EOF -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,3 +9,7 @@ tar xf data.tar.gz mkdir /opt/debian DEBOOTSTRAP_DIR=/opt/debootstrap/usr/share/debootstrap /opt/debootstrap/usr/sbin/debootstrap --arch amd64 wheezy /opt/debian/ http://ftp.uk.debian.org/debian/ mount -t proc proc /opt/debian/proc/ mount -t sysfs sys /opt/debian/sys/ mount -o bind /dev /opt/debian/dev -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ pacman -S wget # needed for debootstrap curl -o /tmp/db.deb http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.60~bpo70+1_all.deb mkdir /opt/debootstrap cd /opt/debootstrap -
cdown revised this gist
Aug 4, 2014 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -2,3 +2,8 @@ curl -o /tmp/db.deb http://ftp.debian.org/debian/pool/main/d/debootstrap/deboots mkdir /opt/debootstrap cd /opt/debootstrap ar x /tmp/db.deb tar xf data.tar.gz mkdir /opt/debian DEBOOTSTRAP_DIR=/opt/debootstrap/usr/share/debootstrap /opt/debootstrap/usr/sbin/debootstrap --arch amd64 wheezy /opt/debian/ http://ftp.uk.debian.org/debian/ -
cdown created this gist
Aug 4, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ curl -o /tmp/db.deb http://ftp.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.60~bpo70+1_all.deb mkdir /opt/debootstrap cd /opt/debootstrap ar x /tmp/db.deb