1. 설치할 장소로 이동, 설치파일 다운로드, 설치파일 압축해제

    $ cd /usr/local
    $ wget https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz
    $ tar -zxvf go1.14.4.linux-amd64.tar.gz
  2. bash 등록

    $ vi ~/.bash_profile
    

...
export GOPATH="$HOME/go"
export GOROOT="/usr/local/go"
export GOBIN="/usr/local/go/bin"
export PATH=$PATH:$GOBIN:$GOPATH/bin

:wq


3. 버전 확인

$ go version
```

'Infrastructure' 카테고리의 다른 글

CentOS7 Chrome Install  (0) 2020.07.11
CentOS7 일반 유저 권한설정  (0) 2020.07.11
CentOS7 Kubernetes Install  (0) 2020.07.11
CentOS7 Docker & Docker-Compose install  (0) 2020.07.11
CentOS7 GUI Install  (0) 2020.07.11

yum 업데이트

$ yum update -y

그룹 리스트 확인

$ yum group list

패키지 설치

$ yum groupinstall -y "GNOME Desktop" "Graphical Administration Tools"
$ ln -sf /lib/systemd/system/runlevel5.target /etc/systemd/system/default.target

 

input Guest Image Extends Error

-> undefined kernel headers

$ yum install -y kernel-devel

$ yum groupinstall -y "Development Tools"

$ yum install kernel sources

'Infrastructure' 카테고리의 다른 글

CentOS7 Kubernetes Install  (0) 2020.07.11
CentOS7 Docker & Docker-Compose install  (0) 2020.07.11
CentOS7 Node.js Install  (0) 2020.06.01
Network  (0) 2020.01.22
[Linux/Centos7] 자주쓰는 기본 명령어  (0) 2020.01.12

1. 패키지 업데이트

$ sudo yum -y update

 

2. 설치파일 다운로드 ( v12.x ) 

$ curl -sL https://rpm.nodesource.com/setup_12.x | sudo bash -

 

3. 설치 

$ sudo yum clean all && sudo yum makecache fast
$ sudo yum install -y gcc-c++ make
$ sudo yum install -y nodejs

 

4. 확인 

$ node -v

 

* 참고 사이트 

https://computingforgeeks.com/how-to-install-nodejs-on-centos-fedora/

 

'Infrastructure' 카테고리의 다른 글

CentOS7 Docker & Docker-Compose install  (0) 2020.07.11
CentOS7 GUI Install  (0) 2020.07.11
Network  (0) 2020.01.22
[Linux/Centos7] 자주쓰는 기본 명령어  (0) 2020.01.12
[Linux]CentOS7 콘솔 키보드 조작  (0) 2020.01.08

+ Recent posts