您的位置:首页 > Web前端 > Node.js

install nodejs npm git on ubuntu14.04.1

2016-03-16 14:38 369 查看
1.install nodejs

$ sudo apt-get update

$ sudo apt-get install nodejs


Because of a conflict with another package, the executable from the Ubuntu repositories is called
nodejs
instead of
node
. Keep this in mind as you are running software.

2.install npm


$ sudo apt-get install npm


3.SecureCRT connect local virtual machine

install ssh


$ sudo apt-get install openssh-server


check

$ netstat -nat | grep 22


close Firewall


$ sudo ufw disable


in SecureCRT

(1)Quick Connect->Protocol choose "ssh2"->Hostname use ip address in virtual machine->click Connect

->enter username and password

(2)set encoding:

Options->Session Options->Terminal->Appearance->Character encoding-> choose "UTF-8"->OK

4.install git

$ sudo apt-get install git


5.install gollum

$ sudo apt-get install ruby1.9.1 ruby1.9.1-dev make zlib1g-dev libicu-$ dev build-essential git
$ sudo gem install gollum
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: