Skip to content

/etc directory from our shell servers, managed via etckeeper

License

Notifications You must be signed in to change notification settings

siddiqmo/shell-etc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shell-etc

http://github.com/hashbang/shell-etc

About

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.

Contribution

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.

Requirements

  • Debian 7+

Installation

  1. Adjust partitions to match fstab.sample

    To do this on a VPS (Super hacky but works):

    1. Go to the "Virtual Console" feature in your provider.
    2. Reboot to Grub bootloader screen
    3. Hit on first boot option
    4. Add break=premount to the end of the kernel line
    5. to boot
    6. Copy rootfs files into ram
    mkdir /mnt
    modprobe ext4
    mount /dev/sda1 /mnt
    cp -R /mnt/* /
    umount /dev/sda1
    
    1. 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
    
    1. Reboot

    2. Adjust fstab to match: fstab.sample

    3. Reboot

  2. Run setup script

    ssh $INSTANCE_IP
    wget https://raw.githubusercontent.com/hashbang/shell-etc/master/setup.sh
    bash setup.sh

Notes

Use at your own risk. You may be eaten by a grue.

Questions/Comments?

Talk to us via:

Email | IRC | Github

About

/etc directory from our shell servers, managed via etckeeper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.3%
  • Ruby 7.6%
  • Pascal 6.3%
  • PHP 3.3%
  • Emacs Lisp 1.7%
  • Assembly 0.6%
  • Other 1.2%