This is a forked version from Andrew Borgs Debian setup script.
Quickly install common Developer tools, IDEs & services on Debian. In order to use the installer run the following:
Note: Please do NOT run the script with sudo, run it as your own user!
cd ~/
sudo apt install -y wget && bash <(wget -qO- https://raw.githubusercontent.com/erisee92/deb-dev-machine/master/setup.sh);
This script can be run via the terminal and will get a fresh Debian installation up and running with most (if not all) of the dev tools you would require.
Tested on Debian installations as well as the ChromeOS linux Debian containers. Total installation size including the OS itself is ~7GB
You can expect the following to be automatically installed and readily accessible:
Utilities
- ca-certificates
- apt-transport-https
- software-properties-common
- wget
- htop
- mlocate
- gnupg2
- cmake
- libssh2-1-dev
- libssl-dev
- curl
- nano
- vim
- gksu
- preload
- wine (with Royale2007 theme & Smooth fonts)
- mono
- gnome-software
- gnome-packagekit
- snapd (may not work on chromebook devices)
- Zsh
- Oh my Zsh
Services
- Git
- PHP
- MySQL Community Server
- Composer
- Ruby
- Python
- GoLang
- Pip
- Dapp
- Memcached
- Redis
- Node & npm
- Yarn
- Docker
- Docker Compose
- Kubernetes
- Helm
- Sops
Libraries
- Apache Cordova
- Phone Gap
- React Native
- Laravel Installer
- Google Cloud SDK
Software
- Postman
- DBeaver
- SQLite Browser
- Redis Desktop Manager
- Software center
- Package updater
- Sublime Text IDE (with material theme and dev plugins)
- PHPStorm IDE
- Atom IDE
- VS Code IDE
- Remmina Remote Desktop Client
If docker gives the following error when starting (check sudo journalctl -xe
):
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.14.74-0777
Then do the following:
- Hash out (comment out) the
ExecSartPre
line from:/lib/systemd/system/containerd.service
sudo vim /lib/systemd/system/containerd.service;
- Install separate runc environment
sudo apt install libseccomp-dev -y;
go get -v github.com/opencontainers/runc;
cd $GOPATH/src/github.com/opencontainers/runc;
make BUILDTAGS='seccomp apparmor';
sudo ln -s $(realpath ./runc) /usr/local/bin/runc-master;
- Point docker runc to the new environment
sudo mkdir /etc/docker;
sudo touch /etc/docker/daemon.json;
sudo vim /etc/docker/daemon.json;
{
"runtimes": {
"runc-master": {
"path": "/usr/local/bin/runc-master"
}
},
"default-runtime": "runc-master"
}
- Restart the docker services
sudo systemctl daemon-reload;
sudo systemctl restart containerd.service;
sudo systemctl restart docker;
- Test the installation
docker run hello-world;