Setup Development Environment
Install basic Linux tools and utilities
sudo apt update
sudo apt install curl libssl-dev build-essential
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install git
sudo apt install git
git --version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Setup Python
◇ Install Python
◇ Setup vitual environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install node.js
sudo install nodejs
nodejs -v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install text editor/ IDE
• sublime text, vs code etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install development tools
# Install Postman
# Download and unzip the file
mv ~/Downloads/Postman/ /opt
mkdir -p ~/.local/share/applications
touch ~/.local/share/applications/Postman.desktop
# Put the content below in the above file
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/opt/Postman/app/Postman %U
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
# Install ngrok
cd /opt
sudo wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
sudo unzip ngrok-stable-linux-amd64.zip
sudo mv ngrok /usr/local/bin
# Verify
ngrok http 5000
# Install Chromium
sudo apt install chromium
# Install OpenConnect
# Used to connect to DevNet Sandboxes
sudo apt install openconnect
• To fully verify OpenConnect installation you'll need a VPN server to connect to
• Go to the DevNet Sandbox Catalog and reserve one of our possible sandboxes. Once the reservation is ready, you'll be provided the VPN credentials to connect to
• From the terminal, run openconnect -b VPN_ADDRESS
. Provide the username and password when prompted
# Example Connection
sudo openconnect -b dcloud-rtp-anyconnect.cisco.com
• The OpenConnect process is running the background as a process. You can end and disconnect by using the kill
command. For example:
# Find the running process
sudo ps -ax | grep openconnect
# Example Output
22741 pts/0 T 0:00 sudo openconnect https://dcloud-rtp-anyconnect.cisco.com
# The first column is the the process id, use it to kill the process.
sudo kill 22741
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Install Application Container Engine
# Install docker-ce
# Install HTTPS plugins
sudo apt install apt-transport-https ca-certificates curl software-properties-common
# Add Docker’s specific GPG key and add it to the apt key-ring
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
# Verify that you now have the key with the fingerprint
sudo apt-key fingerprint 0EBFCD88
# Add the Docker repository to apt
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/debian \
$(lsb_release -cs) \
stable"
# Install docker-ce
sudo apt update
sudo apt-get install docker-ce docker-ce-cli containerd.io
# Verify
sudo systemctl status docker
# Setup group permissions
# Add username to the docker group
sudo usermod -aG docker <username>
# Logout and log back in
# Verify
docker run hello_world
# or
docker run busybox
docker ps -a
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reference
• Laptop Setup Labs (ubuntu) Index