locate:

/etc/mysql/mariadb.conf.d/50-server.cnf

 

bind-address 127.0.0.1

 

to

 

bind-address 0.0.0.0

 

service mysql restart

$ sudo apt-get update

$ sudo apt-get install build-essential libssl-dev

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh

$ source ~/.bashrc

$ nvm install 10.4.1

 

$ node -v
$ node --version

$ npm --version

 

// node default version

$ nvm alias default 6.11.5

 

$ cd ~

$ curl -sL https://deb.nodesource.com/setup_12.x -o nodesource_setup.sh

 

// shell 열어서 확인 할 시

$ nano nodesource_setup.sh

 

$ bash nodesource_setup.sh

 

$ apt-get install nodejs

 

$ nodejs -v

+ Recent posts