ubuntu 开发环境配置及安装 nodejs

ubuntu 开发环境配置及安装 nodejs

1 安装nodejs

$ sudo apt-get install build-essential

$ sudo apt-get install gcc

$ sudo apt-get install g++

$ sudo apt-get install make

$ wget ftp://pepstack.com/pub/tarball/node-v4.2.1.tar.gz

$ tar -zxf node-v4.2.1.tar.gz

$ cd node-v4.2.1

$ ./configure

$ make -j 4

$ sudo make install

$ node --version

2 安装yaml, Jinja2, MySQLdb

$ sudo apt-get install python-pip

$ sudo apt-get install python-yaml

$ sudo pip install Jinja2

$ sudo apt-get install python-dev

$ sudo apt-get install libmysqlclient-dev

$ wget http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz

$ tar -zxf MySQL-python-1.2.3.tar.gz

$ cd MySQL-python-1.2.3

$ sudo python setup.py install
上一篇:Xcode repository host is unreachable


下一篇:使用VNET-to-VNET连接Microsoft Azure国际版和中国版