#!/bin/bashmysql_host="127.0.0.1"mysql_user="root"mysql_passwd="********"back_dir="/www/backup/database/"ignore_db="information_schema|mysql|performan...
分类:
数据库 时间:
2014-12-03 00:09:08
阅读次数:
356
转之博文:http://www.cnblogs.com/puresoul/p/3483055.html运行碰到报错:Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms 更新selenium-java.ja...
分类:
编程语言 时间:
2014-12-02 18:57:52
阅读次数:
200
settings.py文件中添加配置:EMAIL_HOST=‘smtp.163.com‘EMAIL_HOST_USER=‘username@163.com‘EMAIL_HOST_PASSWORD=‘password‘EMAIL_USE_TLS=True方法1:#-*-coding:utf-8-*-
fromdjango.confimportsettings
settings.configure()
fromdjango.core.mailimportEmailMessage
fromse..
分类:
Web程序 时间:
2014-12-02 17:35:36
阅读次数:
221
Clusterware 安装正常,但安装Oracle 软件的时候,runInstaller 看不到节点信息: [grid@rac1 bin]$ crs_stat -tName Type Target State Host --------------------------------------------------------...
分类:
数据库 时间:
2014-12-02 13:38:14
阅读次数:
300
讲述了Simics 上安装的虚拟机Solaris 8 SPARC 操作系统获取宿主(host) 操作系统Win7 上的文件的两种方式;同时也讲解了如何保存Simics 当前虚拟机的工作状态。...
现象:ssh client无法连到ubuntusammydeair:~ Sammy$ ssh -l s1 10.211.55.4ssh: connect to host 10.211.55.4 port 22: Connection refused查看:ubuntu上ssh local,同样错误,发...
分类:
系统相关 时间:
2014-12-02 08:56:47
阅读次数:
199
我的nginx服务器在香港,直接在nginx配置文件中添加一下内容就可以proxy_cache_pathconf/cache/onelevels=1:2keys_zone=one:10mmax_size=10g;
proxy_cache_key"$host$request_uri";
server{
listen80;
server_nameg.example.com;
access_log/var/log/nginx/access.log;
rewrite..
分类:
其他好文 时间:
2014-12-02 00:23:37
阅读次数:
157
下面的例子全是以抓取eth0接口为例,如果不加”-i eth0”是表示抓取所有的接口包括lo。1、抓取包含10.10.10.122的数据包# tcpdump -i eth0 -vnn host 10.10.10.1222、抓取包含10.10.10.0/24网段的数据包# tcpdump -i eth...
分类:
其他好文 时间:
2014-12-01 20:51:54
阅读次数:
171
1. 建表、列时在phpmyadmin中将编码设置为utf8_general_ci2. python中使用sql连接时设定charset为utf8,注意不能是utf-8!例如:def Connect(): con = MySQLdb.connect(host=HOST,user=USER,pa...
分类:
数据库 时间:
2014-12-01 20:33:52
阅读次数:
201
ServerAdmin ffq@admin.com directoryIndex index.html index.php index.htm index.shtml login.php ServerName www.ffq.com DocumentRoot d:/work/ffq Options -Indexes AllowOverride All Require all granted...
分类:
Web程序 时间:
2014-12-01 17:48:09
阅读次数:
186