Code Monkey home page Code Monkey logo

deb-dev-machine's Introduction

Debian Developer Machine

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/andrewbrg/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
  • Werf
  • 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
  • Locust

Issues with Docker in ChromeOS?

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:

  1. Hash out (comment out) the ExecSartPre line from: /lib/systemd/system/containerd.service
sudo vim /lib/systemd/system/containerd.service;
  1. 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;
  1. 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"
}
  1. Restart the docker services
sudo systemctl daemon-reload;
sudo systemctl restart containerd.service;
sudo systemctl restart docker;
  1. Test the installation
docker run hello-world;

deb-dev-machine's People

Contributors

andrewbrg avatar erjanmx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.