This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| -b="/": the base URL to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install vagrant qemu | |
| #Due to dependency errors, we must install vbguest first.. | |
| vagrant plugin install vagrant-vbguest | |
| vagrant plugin install vagrant-qemu | |
| #cd to working dir you like to keep your vagrant files | |
| cd ~/VM-and-containers/VagrantMachines/M1-vagrantfiles/ubuntu18-generic-64/ | |
| #Create a vagrant file | |
| $EDITOR Vagrantfile |