installation
The first advanced to the directory where you want to install
such mkdir / DevTools
wget https://nodejs.org/dist/v10.15.0/node-v10.15.0-linux-x64.tar.xz
Decompression
tar -xf node-v10.15.0-linux-x64.tar.xz
Set the environment variable
1、打开文件
vim /etc/profile
或者nano /etc/profile
2、最后一行放入
PATH=$PATH:/software/node-v10.15.0-linux-x64/bin
Refresh the configuration file: source / etc / profile
Install unzip tool
1.下载软件包
[root@nn01 ~]# wget https://www.rarlab.com/rar/rarlinux-x64-5.6.0.tar.gz
2.解压
[root@nn01 ~]#tar zxvf rarlinux-x64-5.6.0.tar.gz
3.安装
[root@nn01 ~]#cd rar
[root@nn01 ~ rar ]# make
4.下面就可以解压和压缩了
[root@nn01 ~]# rar a etc.rar /etc/ //压缩
[root@nn01 ~]# rar x etc.rar //解压
Installation cnpm
Npm sometimes very slow, you need to install a cnpm
$ npm install -g cnpm --registry=https://registry.npm.taobao.org