Skip to content

Instantly share code, notes, and snippets.

@siriokun
Last active March 17, 2023 09:25
Show Gist options
  • Save siriokun/29ff5d75c9761631b7c0a25bb67dfa52 to your computer and use it in GitHub Desktop.
Save siriokun/29ff5d75c9761631b7c0a25bb67dfa52 to your computer and use it in GitHub Desktop.
New Linux Setup
  1. Setup Docker
sudo apt-get update
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Run post-install step: https://docs.docker.com/engine/install/linux-postinstall/

  1. Setup Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow instruction after install

  1. Container Setup:
brew install git node
brew install colima php composer
  1. Setup GIT:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
  1. Setup DDEV:
brew install drud/ddev/ddev
sudo apt install libnss3-tools
mkcert -install
  1. Setup NVM (optional):
brew install nvm

Follow instruction after install

  1. Setup Platform (optional):
brew install platformsh/tap/platformsh-cli
@siriokun
Copy link
Author

sudo systemctl enable docker.service
sudo systemctl enable containerd.service

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