/instances

Scripts for installation on different VMs and dev environments

Primary LanguageShell

My scripts for instances

Customization Scripts

base_customization.sh add dot-files and configures vim, but doesn't install anything via yum nor apt

base_customization_apt.sh like base_customization but installs with apt

base_customization_yum.sh like base_customization but installs with yum

adv_customization_apt.sh like base_customization_apt but more advanced

Instances

These are scripts to run depending on what instances are spun up

Basics

instances/my_ubuntu.sh

  • local dev instances
  • sets up tmux, vim, polybar, i3, and everything else on Ubuntu

instances/yum-python-instances.sh

  • For instances that installs with yum (centos, rhel, ami, etc.)
  • installs python35 and necessary tools
  • sets up tmux and vim

instances/apt-python3-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 18.04 on AWS EC2
  • Install basic tools for python3
  • sets up tmux and vim

instances/apt-python-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on AWS EC2
  • Installs python35 and additional tools (pip, ipython, numpy, etc.)
  • sets up tmux and vim

instances/apt-python-get-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on GCP Compute Engine
  • Installs things around python3, but not python3 itself (pip3)
  • sets up tmux and vim

instances/apt-snippet-golang.sh

  • Installs latest golang with apt

Viz

instances/apt-opencv-python-instances-3.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on AWS EC2
  • Installs python35 and additional tools (pip, ipython, numpy, etc.)
  • sets up tmux and vim
  • sets up OpenCV
  • Sets up ffmpeg

instances/apt-python-chrome-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on AWS EC2
  • Installs python35 and additional tools (pip, ipython, numpy, etc.)
  • sets up tmux and vim
  • sets up Chrome for selenium

GPU

instances/apt-tf-python-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on AWS EC2
  • Installs python35 and additional tools (pip, ipython, numpy, etc.)
  • sets up tmux and vim
  • sets up coco
  • sets up ffmpeg
  • sets up TensorFlow CPU

instances/apt-gpu-python-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 18.04 on Google Cloud (GCP)
  • Installs python36 and additional tools (pip, ipython, etc.)
  • sets up tmux and vim
  • sets up CUDA10 (for pytorch)

instances/apt-gpu-python-instances2.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 18.04 on AWS
  • Installs python36 and additional tools (pip, ipython, etc.)
  • sets up tmux and vim
  • sets up CUDA10 (for pytorch)

instances/apt-tf-gpu-python-instances.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on AWS EC2
  • Installs python35 tools, assuming python35 is already installed (pip, ipython, numpy, etc.)
  • sets up tmux and vim
  • sets up coco
  • sets up ffmpeg
  • sets up TensorFlow GPU CUDA9 without MKL

instances/apt-tf-gpu-python-instances-2.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on Google Cloud
  • Installs gcc-6, make, etc.
  • sets up my tmux and vim environment
  • sets up TensorFlow GPU CUDA9 without MKL
  • sets up CUDA raw (from tar)

instances/apt-tf-gpu-python-instances-3.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Tested on Ubuntu 16.04 on Google Cloud
  • Installs gcc-6, make, etc.
  • sets up my tmux and vim environment
  • sets up TensorFlow GPU CUDA9 without MKL
  • sets up CUDA from deb (apt)

Container

instances/apt-docker-instance.sh

  • For instances that installs with apt (debian-based, ubuntu)
  • Installs docker

Spark

instances/yum-python-pyspark-instance.sh

  • For instances that installs with yum (centos, rhel, ami, etc.)
  • Installs python35, java8, and pyspark

Misc

add-swapfiles.sh adds a swapfile for using, based on code from here