Skip to content

Instantly share code, notes, and snippets.

View taoxuau's full-sized avatar

Tao Xu taoxuau

  • Adelaide
  • 16:19 (UTC +09:30)
View GitHub Profile
@taoxuau
taoxuau / ubuntu-server-install.sh
Last active July 18, 2021 22:28
Install all packges needed for a Ubuntu Server
# install
# curl -L https://gist.github.com/taoxuau/5caf33b802455fbb8bcb332f7749a754/raw/ubuntu-server-install.sh | bash
#
sudo apt update && sudo apt upgrade --yes
#################### nvm node npm ####################
# https://github.com/nvm-sh/nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm install 14.16.1
@taoxuau
taoxuau / machine.js
Last active July 31, 2020 05:34
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
// - XState (all XState exports)

How to configure docker on CentOS 7

Prepare

sudo yum install epel-release
sudo yum update

Install docker