Setting up Git

https://github.com/devsecops/bootcamp/blob/master/Week-1/labs/LAB-1.md

  • [Debian] Install:
sudo apt-get update
sudo apt-get install -y git
  • [RHEL/CENTOS] Install:
sudo yum update -y
sudo yum install -y git
  • Configure:
git config --global user.name "YOUR NAME"
git config --global user.email "YOUR EMAIL"
  • Generate SSH Keys:
ssh-keygen -t rsa -C YOUR_EMAIL@DOMAIN.COM
  • You’ll receive the following prompts:
    Enter file in which to save the key (/home/vagrant/.ssh/id_rsa): – Press Enter
    Enter passphrase (empty for no passphrase): – Enter Password
    Enter same passphrase again: – Confirm Password
  • You should receive the following confirmation:
Your identification has been saved in /home/vagrant/.ssh/id_rsa.
Your public key has been saved in /home/vagrant/.ssh/id_rsa.pub.
…
  • Print out the Public SSH Key & copy it:
cat ~/.ssh/id_rsa.pub
  • Go to your Github Settings, click New SSH Key button, enter a Title and paste in the public SSH Key, then click Add SSH Key.

Install Sublimetext on Mint using apt

https://www.sublimetext.com/docs/3/linux_repositories.html#aptInstall the GPG key:

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

Ensure apt is set up to work with https sources:

sudo apt-get install apt-transport-https

Select the channel to use:

Stable
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
Dev
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Update apt sources and install Sublime Text

sudo apt-get update
sudo apt-get install sublime-text