Skip to content

Instantly share code, notes, and snippets.

@trntsmn
Last active February 6, 2016 03:20
Show Gist options
  • Save trntsmn/67d60cd555ac24dff96d to your computer and use it in GitHub Desktop.
Save trntsmn/67d60cd555ac24dff96d to your computer and use it in GitHub Desktop.
Go here to get an image:
http://east.us.odroid.in/?directory=.%2Fubuntu_14.04lts%2F
unxz ./ubuntu-14.04.1lts-lubuntu-odroid-c1-20150204.img.xz
sudo apt-get install pv
sudo dd if=./ubuntu-14.04.1lts-minimal-odroid-c1-20150131.img bs=5M | pv -s 64G | sudo dd of=/dev/mmcblk0 bs=5M^C
add the static route
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.207.4
gateway 192.168.207.1
netmask 255.255.255.0
network 192.168.207.0
dns-nameservers 192.168.207.1
broadcast 192.168.1.255
Next update the hostname
Now copy in nginx configs
this is the odroid script to perform updates post install/boot/login
https://github.com/mdrjr/odroid-utility
downloda latest nginx, change the headers in /src/nginx/src/http/nginx_httpHeaders.c
make with
./configure \
--prefix=/usr/share/nginx \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--user=www-data \
--group=www-data \
--without-mail_pop3_module \
--without-mail_imap_module \
--without-mail_smtp_module \
--without-http_fastcgi_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_memcached_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_gzip_static_module \
--with-http_v2_module
https://fak3r.com/2015/09/29/howto-build-nginx-with-http-2-support/
make
make install
sudo mkdir /etc/nginx/ssl
cd etc/nginx/ssl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment