he-sb / tech

My blog related to technique.
MIT License
9 stars 2 forks source link

Google Drive 分享新姿势 - gdir #38

Closed he-sb closed 4 years ago

he-sb commented 4 years ago

项目地址:https://github.com/workerindex/gdir

注意事项:

he-sb commented 4 years ago

添加普通用户:

CentOS 7 系统优化之添加普通用户账号 - 操作系统 - 123si 博客

Linux用户和权限管理看了你就会用啦 - 掘金

he-sb commented 4 years ago

安装 git:

yum install -y git

安装 Node.js with NPM

curl -sL https://rpm.nodesource.com/setup_14.x | bash -
yum install -y gcc-c++ make nodejs

安装 Golang toolchain

yum install -y golang
vi /etc/profile

最后加入以下内容并保存:

# GOROOT
export GOROOT=/usr/lib/golang
# GOPATH
export GOPATH=/root/go
# GOPATH bin
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

使改动生效:

source /etc/profile