GithubHelp home page GithubHelp logo

ubuntu-setup's Introduction

Setup

Setup script for ubuntu.

File descriptions

  • oh-my-zsh.sh is to download oh-my-zsh
  • aptinstall.sh is for Ubuntu repository installs
  • snapinstall.sh is for snap repository installs
  • programs.sh is for other software
  • pip3install.sh isfor pip packages
  • symlink.sh sets up symlinks in $HOME
  • additional-os-settings.sh is for some desktop settings
  • setup.sh runs all the scripts and apt upgrade

Pre-installation steps

Make .sh files executable

find scripts/ -type f -iname "*.sh" -exec chmod +x {} \;

Install programs

./scripts/setup.sh

Post-installation steps

See our zsh changes

zsh
source ~/.zshrc

All following post-installations steps are optional

Setup git user

Set username and email address

cat <<EOF > ~/.gitconfig.local
[user]
  name = your name
  email = [email protected]
EOF

Generating ssh keys

ssh-keygen -t rsa -b 4096

Run Docker as a non-root user

sudo usermod -aG docker $(echo $USER)

IBM cloud kubernetes kluster config

Note that default kubeconfig path is ~/.kube/config, while IBM cloud uses different path.

The IBM kluster config can be added to the KUBECONFIG using export or creating a ~/.kubeconfig.local file.

The .zshrc will look for ~/.kubeconfig.local file.

To automatically overwrite/create ~/.kubeconfig.local file, run the following script followed by the cluster name: scripts/ibm-cloud/ibm-connect.sh CLUSTER_NAME:

./scripts/ibm-cloud/ibm-connect.sh dev

The ~/.kubeconfig.local file will now contain the path of both ~/.kube/config and ~/.bluemix/plugins/container-service/clusters.

Test the setup script on a VM

Follow instructions here

ubuntu-setup's People

Contributors

recet avatar pavloro avatar spikra avatar

Watchers

James Cloos 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.