会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
梁伟雄的博客
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
下一页
2018年3月1日
pip包导出
摘要: 用pip对已有的环境做导出准备 1. 使用pip导出当前环境所有依赖包信息文件 pip freeze > requirements.txt 2. 下载所有依赖包到本地 pip install -r requirements.txt -d your_dir pip install -r require
阅读全文
posted @ 2018-03-01 11:10 梁伟雄的博客
阅读(1114)
评论(0)
推荐(0)
2018年2月24日
局域网中访问mac中的linux虚拟机服务
摘要: 然后到虚拟机的linux系统上面执行ifconfig查看linux系统的IP地址,访问这个地址就能访问mac里面的虚拟机
阅读全文
posted @ 2018-02-24 10:41 梁伟雄的博客
阅读(468)
评论(0)
推荐(0)
2017年12月8日
centos7安装elasticsearch
摘要: [root@aaron tools]# wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.5.1.zip unzip elasticsearch-5.5.1.zip [root@aaron elasti
阅读全文
posted @ 2017-12-08 16:00 梁伟雄的博客
阅读(349)
评论(0)
推荐(0)
源码安装cx_Oracle(适合离线环境)
摘要: cd ~/tools unzip instantclient-basic-linux.x64-12.2.0.1.0.zip mv instantclient_12_2 /opt/ export ORACLE_HOME=/opt/instantclient_12_2/ mv instantclient
阅读全文
posted @ 2017-12-08 11:11 梁伟雄的博客
阅读(1761)
评论(0)
推荐(0)
2017年12月6日
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!问题
摘要: ➜ web_develop git:(master) ✗ ssh root@172.16.146.143@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION H
阅读全文
posted @ 2017-12-06 21:06 梁伟雄的博客
阅读(245)
评论(0)
推荐(0)
2017年11月28日
虚拟机添加网卡
摘要: 点击设置, ip addr cd /etc/sysconfig/network-scripts/ cp ifcfg-eth0 ifcfg-eth1 vi ifcfg-eth1 IPADDR=192.168.135.2NETMASK=255.255.255.0 把UUID和HWADD这两行干掉 >/e
阅读全文
posted @ 2017-11-28 15:26 梁伟雄的博客
阅读(343)
评论(0)
推荐(0)
2017年11月21日
CentOS7部署Django,nginx,uwsgi,redis
摘要: 前期准备 把所有的软件都传到这个tools文件夹 cd ~ mkdir tools cd tools/ mkdir /application 安装nginx yum install pcre pcre-devel yum install -y openssl openssl-devel tar xf
阅读全文
posted @ 2017-11-21 15:57 梁伟雄的博客
阅读(264)
评论(0)
推荐(0)
2017年11月7日
Debian+Django+uWsgi+nginx+mysql+celery
摘要: 下载系统各种依赖 nano /etc/apt/sources.list 在Debian中使用apt-get安装软件包时经常会提示让你插入netinst的光盘: Media change: please insert the disc labeled 把下面这一行注释掉 deb cdrom:[Debi
阅读全文
posted @ 2017-11-07 11:15 梁伟雄的博客
阅读(616)
评论(1)
推荐(0)
2017年10月25日
项目问题
该文被密码保护。
阅读全文
posted @ 2017-10-25 09:34 梁伟雄的博客
阅读(2)
评论(0)
推荐(0)
2017年5月24日
form表单验证
摘要: 1 class BallForm(forms.ModelForm): 2 class Meta: 3 model = Ball 4 fields = ["color", "description"] 5 6 def clean_description(self): 7 description = self.clean...
阅读全文
posted @ 2017-05-24 15:31 梁伟雄的博客
阅读(177)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告