http://github.com/hashbang/shell-etc
This is the '/etc' directory of the #! shell servers. Git management is handled via etckeeper
New servers added to the pool will also have this configuration to give users an equal experience.
You can "Fork" and "Pull Request" any changes you would like to see on our servers.
If you would like to have particular package installed in #! shell servers, add it to packages.txt and send a pull request. While we accept most pull requests, packages that require X11 as dependency will not be merged.
- Debian 7+
-
Adjust partitions to match fstab.sample
To do this on a VPS (Super hacky but works):
- Go to the "Virtual Console" feature in your provider.
- Reboot to Grub bootloader screen
- Hit on first boot option
- Add
break=premount
to the end of the kernel line - to boot
- Copy rootfs files into ram
mkdir /mnt modprobe ext4 mount /dev/sda1 /mnt cp -R /mnt/* / umount /dev/sda1
- Shrink rootfs and create /home partition
e2fsck -f /dev/sda1 resize2fs /dev/sda1 20G echo "d 1 n p 1 +20G w n p 2 " | fdisk /dev/sda1
-
Reboot
-
Adjust fstab to match: fstab.sample
-
Reboot
-
Run setup script
ssh $INSTANCE_IP wget https://raw.githubusercontent.com/hashbang/shell-etc/master/setup.sh bash setup.sh
Use at your own risk. You may be eaten by a grue.
Questions/Comments?
Talk to us via: