Skip to content

Instantly share code, notes, and snippets.

Django<1.10
psycopg2
pytz
pip-tools
pip
coverage
django-nose
@ccat
ccat / coreos_install.sh
Created March 6, 2016 09:13
installing CoreOS
sudo coreos-install -d /dev/vda -C stable -c cloud-config.yaml
@ccat
ccat / cloud-config.yaml
Created March 6, 2016 09:04
CoreOS's cloud-config template for Sakura VPS
#cloud-config
hostname: {{hostname}}
write_files:
- path: /etc/systemd/network/10-static.network
permissions: 0644
content: |
[Match]
Name=eth0
@ccat
ccat / core_passwd.sh
Last active March 6, 2016 09:15
password change for CoreOS installation
sudo passwd core
@ccat
ccat / nw_change.sh
Last active April 8, 2016 17:05
NW settings for CoreOS installation
sudo ifconfig eth0 {{IP addr}} netmask 255.255.254.0
sudo route add default gw {{default gateway}}
sudo sh -c 'echo "nameserver {{DNS server}}" >> /etc/resolv.conf'