2018年4月18日
技术博客主要记录一些平时遇到的问题及解决方法redis
apt-get install redis-server 运行redisredis-server 后台运行redis简单后台运行redis-server & 查看redis是否启动ps -ef | grep redis
virtualenv 安装与使用
安装PIP安装(推荐)pip install virtualenv 包管理器安装sudo apt-get install python-virtualenv 基本使用cd my_project_dir virtualenv venv #venv为虚拟环境目录名,目录名自定义 切换解释器vir...
更新 Python pip 镜像源为阿里云
Linux创建或打开文件在文件 ~/.pip/pip.conf,写入如下内容:[global] index-url = https://mirrors.aliyun.com/pypi/simple/ [install] trusted-host = mirrors.aliyun.comWin...
更新 Debian apt-get 镜像源为阿里云
debian 6.x (squeeze)编辑/etc/apt/sources.list文件(需要使用sudo), 在文件最前面添加以下条目(操作前请做好相应备份)deb http://mirrors.aliyun.com/debian/ squeeze main non-free contri...
最新回复