Giter Club home page Giter Club logo

ssfw's Introduction

ssfw

SSFW - Setup scripts For your Workspace. Using curl/wgets to install and use!

Description

Sometime we need to reset a clean workspace (like setup up your new computer workspace, or your workstation in your office or lab), and here provide some useful tools and library installation scripts, pick up the library you want, and use it directly!

All you need is a clean environment, which have git, curl, wget, and then just use the command provided by the target under Usage!

Usage

Qt Installation

  • currently use v5.11.0 to build
  • use command
# dependencies
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/qt/deps.sh)

# build from source
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/qt/build.sh)

Node.js installation

  • (Build from source)use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/nodejs/build_nodejs.sh)
  • (Install by package manager, Debian/Ubuntu) use command:
# v10.x
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/nodejs/install_nodejs_10.sh)

# v8.x
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/nodejs/install_nodejs_8.sh)

Go installation

  • use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/go/install.sh)

Docker installation

  • use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_docker.sh)

P4 Environment Setup

Currently version can run on ubuntu 16.04. Updated at 2018/6/6.

  • use command:
# first install the dependencies
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/netdev/root_bootstrap.sh)

# second install the library and usage
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/netdev/user_bootstrap.sh)

ONOS Installation

  • use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/netdev/install_onos.sh)
  • run the onos server (if you have onos already)
cd $ONOS_ROOT
$ONOS_ROOT/tools/build/onos-buck run onos-local -- clean debug

Environment

Powerline

  • install
sudo apt install powerline
  • Insert the script into ~/.bashrc:
POWERLINE_SCRIPT=/usr/share/powerline/bindings/bash/powerline.sh
if [ -f $POWERLINE_SCRIPT ]; then
  source $POWERLINE_SCRIPT
fi

or run

curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/config/powerline.conf > ~/.bashrc
  • install fonts for powerline
sudo apt-get install fonts-powerline

or use the building command directly:

source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/config/powerline-fonts.sh)

TMUX

  • Installing my tmux configuration via curl:
    curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/config/tmux_setting.conf > ~/.tmux.conf

Vim

  • spf13-vim
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh

Oh-my-zsh

  • use command:
# via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Basic develop environment

  • use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/basic_env.sh)

UNetbootin

  • use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_unetbootin.sh)

Freebsd

  • setup:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/freebsd/setup.sh)
  • software update:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/freebsd/software_update.sh)

Database

MongoDB installation

  • use command
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_mongo.sh)

Git-related

Update all repo (under current folder/workspace)

source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/git/update_all_repo.sh)

Author

ssfw's People

Contributors

kevinbird61 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ssfw's Issues

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.