Skip to content

Instantly share code, notes, and snippets.

View JohnnySixarms's full-sized avatar

Johnny Sixarms JohnnySixarms

  • 03:09 (UTC +02:00)
View GitHub Profile
@JohnnySixarms
JohnnySixarms / gist:fff9b568babc5c3026eb79ba7e745f13
Last active February 10, 2018 10:08
apache2 as a dockerservice
docker service create \
--name apache2 \
--publish 80:80/tcp \
--publish 443:443/tcp \
--constraint node.role==manager \
--mount type=bind,src=//opt/apache2/var/log/apache2,dst=/var/log/apache2 \
--mount type=bind,src=//opt/apache2/var/www,dst=/var/www \
--mount type=bind,src=//opt/apache2/etc/apache2,dst=/etc/apache2 \
johnnysixarms/debian_httpd
@JohnnySixarms
JohnnySixarms / gist:1c05aa5ffcf49d5eb0f25520a9b038a7
Last active February 10, 2018 09:16
RaspberryPi3 Install
sudo raspi-config
- set hostname
- enable ssh
- set localisation
- expand filesystem
- memory split
edit /boot/config.txt
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt