xx's blog

python安装virtualenv和virtualenvwrapper

1. pip常用命令pip安装命令: pip install package_name pip升级命令:pip install –ungrage package_name 或:pip install -U package_name pip卸载命令:pip uninstall package_name 如pip install djangopip install -U django 2. virtualenv的安装virtualenv的安装: $ sudo pip install virtualenv 或
2017-09-28

使用国内Pypi源加速Pypi包的安装

1. 国内常用的pip源 阿里云pypi源: http://mirrors.aliyun.com/pypi/simple/ (推荐) 豆瓣pypi源: http://pypi.douban.com/simple (推荐) 2. 设置pip默认源$ mkdir ~/.pip $ cd ~/.pip/ $ vim pip.conf pip.conf内容如下: 使用阿里云的pypi源: [global] timeout = 6000 index-url = http://mirrors.aliyun.com/
2017-06-30

mongodb shell常用命令

1. 进入mongodb shell$ mongo MongoDB shell version v3.4.4 connecting to: mongodb://127.0.0.1:27017 MongoDB server version: 3.4.4 > 2. 退出mongodb shell> exit bye 3. 查看mongodb版本号> db.version() 3.4.4 4. 查看数据库操作命令> db.help() 5. 显示数据库列表> show db
2017-06-23

ubuntu16.04安装jdk8

1. jdk8下载jdk8下载地址: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html wget命令下载: # wget -c "http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz?AuthParam=14976955
2017-06-17

ubuntu16.04为google chrome安装adobe-flashplugin

1. apt命令安装adobe-flashplugin$ sudo apt-get install adobe-flashplugin 2. deb包安装adobe-flashpluginadobe-flashplugin的deb包下载地址: http://archive.canonical.com/pool/partner/a/adobe-flashplugin/ 首先查看系统版本号: $ uname -a Linux xxpc 4.8.0-52-generic #55~16.04.1-Ubuntu S
2017-06-08

ubuntu16.04安装sublime text 3

1. 安装/卸载sublime text 3sublime text 3官方安装教程:https://www.sublimetext.com/docs/3/linux_repositories.html 1.1. 安装GPG key$ wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - 1.2. 确保apt被设置为与https源一起工作$ sudo apt-get install apt-tr
2017-06-05
1345