Skip to content

Instantly share code, notes, and snippets.

@kinncj
Created February 23, 2021 18:38
Show Gist options
  • Save kinncj/2bde8ada1592a09e39b46212872391bf to your computer and use it in GitHub Desktop.
Save kinncj/2bde8ada1592a09e39b46212872391bf to your computer and use it in GitHub Desktop.
Dev Ubuntu Setup

Setup Linux for Dev

VPN

Open Connect

https://itectec.com/ubuntu/ubuntu-getting-openconnect-vpn-to-work-through-network-manager/

DNS

DNS Default

https://www.andersaaberg.dk/2019/resolve-dns-using-vpn-openconnect-rather-than-default-isp-dns-on-ubuntu-18-04/

Name server:

In your network file still "/etc/NetworkManager/system-connections/YOUR_VPN_CONNECTION_NAME.nmconnection" Update the dns-search entry in the ipv4 section with the appropriate nameservers. e.g.: dns-search=domain_1.local;another_domain.local;

Reboot the network manager

sudo systemctl restart NetworkManager.service

Additional VPN steps

If you want to save the password:

nmcli con mod Work vpn.secrets 'form:main:group_list=The Default Group','form:main:username=your_vpn_username','save_passwords=yes'

Minikube

Installation

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.deb

Additional steps

bash_profile|.zshrh

start_kubernetes() {
  minikube start --driver=docker
  eval $(minikube docker-env)
}

start_kubernetes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment