First of all install update and upgrade your system:
$ sudo apt update
$ sudo apt upgradeThen, install required libraries:
| # Summary | |
| A few notes I took to see if I could use MacOS as Hypevirsor in a similar fashion to Linux | |
| I wanted to see how few addons were needed instead of using Parallels, Virtual Box, VM Fsion etc. | |
| The idea is to use QEMU, Hypervisor Framework (https://developer.apple.com/documentation/hypervisor) and some custom host networking. | |
| # Installations | |
| brew install qemu (For controlling Hypervisor Framework) | |
| brew install cdrtools (For making cloud init iso's) | |
| http://tuntaposx.sourceforge.net/download.xhtml (For customer tap based networking) |
| [global] | |
| ioengine=rbd | |
| clientname=admin | |
| pool=rbdpool | |
| #IO-Depth changes depending on the test | |
| iodepth=$IODEPTH | |
| runtime=600 | |
| direct=1 | |
| sync=0 | |
| buffered=0 |
| cat /usr/lib/tuned/ceph-tuned/tuned.conf | |
| [main] | |
| summary=ceph_perf | |
| [cpu] | |
| governor=performance | |
| energy_perf_bias=performance | |
| min_perf_pct=100 | |
| force_latency=1 |
| Key Sublime Text 3.2.1 Build 3207 | |
| ----- BEGIN LICENSE ----- | |
| Member J2TeaM | |
| Single User License | |
| EA7E-1011316 | |
| D7DA350E 1B8B0760 972F8B60 F3E64036 | |
| B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD | |
| FA0A2ABE 25F65BD8 D51458E5 3923CE80 | |
| 87428428 79079A01 AA69F319 A1AF29A4 | |
| A684C2DC 0B1583D4 19CBD290 217618CD |
Sublime Text Home/End keys default functionality jumps to the beginning and end of the file.
Fix Home and End keys to move the cursor to the beginning and end of lines.
Preferences > Key Bindings - User
Adding the following to the array:
{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
| package util | |
| import ( | |
| "errors" | |
| "fmt" | |
| "net" | |
| ) | |
| // useful links: | |
| // https://stackoverflow.com/questions/27410764/dial-with-a-specific-address-interface-golang |
Install Docker CE and nftables: