参考文章:
Python 环境搭建 http://www.runoob.com/python/python-install.html
Python安装 这个是个25的 http://blog.csdn.net/dqatsh/article/details/2469102
pip的安装 http://blog.chinaunix.net/xmlrpc.php?r=blog/article&uid=20776139&id=4733351
pip https://pip.pypa.io/en/latest/installing/
linux 下使用supervisor管理源码启动的openerp http://shine-it.net/index.php/topic,4250.0.html
----------------------------------------------------------------------------------
1.安装python
pkg install python27
2.安装pip及所需环境
pkg install py27-pip py27-setuptools
pip install --upgrade pip
cd /usr/ports/net/openldap24-server/
make install -D WITH_SASL -D WITH_SHELL -D WITH_OPENSSL_PORT
遇错可用pkg安装方法:
pkg install py27-xlwt py27-pillow py27-lxml py27-yaml py27-chart
安装nodejs
安装nodejs、node-less
pkg search node
pkg install node
pip install nodejs
pkg install npm
npm install -g less less-plugin-clean-css
http://www.liuff.com/node-js-official-installation-guide-building-and-installing-node-js.html
安装 sass:
pkg search sass
pkg install rubygem-sass-3.4.22
上面的操作我遇到了下面的错误
SSL_connect returned=1 errno=0 state=error: certificate verify failed (https://rubygems-china.oss-cn-hangzhou.aliyuncs.com/specs.4.8.gz)
解决方法
http://www.justinball.com/2012/09/12/getting-this-ssl_connect-returned1-errno0-statesslv3-read-server-certificate-b-certificate-verify-failed/