SSFW - Setup scripts For your Workspace. Using curl/wgets to install and use!
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!
- 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)
- (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)
- use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/go/install.sh)
- use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_docker.sh)
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)
- 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
- 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)
- Installing my tmux configuration via
curl
:- You can check out more detail in tmux_setting.conf
curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/config/tmux_setting.conf > ~/.tmux.conf
- spf13-vim
curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh
- 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 -)"
- use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/basic_env.sh)
- use command:
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_unetbootin.sh)
- 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)
- use command
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/system/install_mongo.sh)
source <(curl -s https://raw.githubusercontent.com/toolbuddy/ssfw/master/git/update_all_repo.sh)