Skip to content

Instantly share code, notes, and snippets.

@mbardelmeijer
Last active May 19, 2017 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbardelmeijer/1ae8201767286262b2299211d3d7dd9f to your computer and use it in GitHub Desktop.
Save mbardelmeijer/1ae8201767286262b2299211d3d7dd9f to your computer and use it in GitHub Desktop.
bash-on-windows
cat > /usr/sbin/policy-rc.d <<EOF
#!/bin/sh
exit 101
EOF
chmod +x /usr/sbin/policy-rc.d
dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl
  • https://getcomposer.org/doc/00-intro.md#globally
  • sudo npm install gulp yarn bower -g
  • run nginx over 127.0.0.1:9150 (sockets gave issues)
  • setup private key in the ~/.ssh directory + add to the autorized_keys
  • add the nginx confs to /etc/nginx/sites-enabled
  • install MySQL on your windows machine for now as mysql isn't working inside the ubuntu machine ((core dumped) plymouth --ping > /dev/null 2>&1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment