实验环境配置HOST文件配置如下:127.0.0.1 app.com127.0.0.1 sso.comIIS配置如下:应用程序池采用.Net Framework 4.0注意IIS绑定的域名,两个完全不同域的域名。app.com网站配置如下:sso.com网站配置如下:memcached缓存:数据库配...
分类:
Web程序 时间:
2014-08-21 18:46:34
阅读次数:
292
crontab导入任务列表crontabfilename#导入任务列表,导入会把之前的清除[root@host]#crontab-l|grep-v"#">file.txt
[root@host]#echo"*****echook">>file.txt
[root@host]#crontabfile.txt
[root@host]#catfile.txt
MAILTO=""
*/30****sh/usr/shell/updatetime.sh
..
分类:
其他好文 时间:
2014-08-21 15:19:16
阅读次数:
222
1. Host OS 环境CPU: Intel Xeon E5620 2.40GHzMEM: 16GBDISK: 500GB SATAOS: CentOS5.7 64bit2. Guest OS 环境CPU: 2 coreMEM: 8GBDISK: 50GB raw/qcow2 virtioOS: ...
分类:
其他好文 时间:
2014-08-21 14:50:54
阅读次数:
205
今日在Windows DOS窗口中输入adb命令,如adb devices,adb shell等后,会出现如下错误:adb server is out of date. killing... ADB server didn't ACK * failed to start daemon * error...
分类:
数据库 时间:
2014-08-21 14:44:54
阅读次数:
252
ECSHOP杂志管理发送促销邮件功能十分强大,但每次编辑内容保存时,均会将HTML邮件内容的“src=”替换为’src=http://.$_SERVER["HTTP_HOST"]‘,即每次保存均在“src”引用的内容中增加站点路径,例如: 第一次保...
分类:
其他好文 时间:
2014-08-20 19:45:03
阅读次数:
237
MainWindow.xaml.cs //新窗口事件 { Uri uri = new Uri(textBox_uri.Text); System.Windows.Forms.Integration.WindowsFormsHost host = ...
分类:
Web程序 时间:
2014-08-20 19:29:42
阅读次数:
314
server{listen80;server_namelocalhost;#charsetkoi8-r;#access_loglogs/host.access.logmain;location/{roothtml;indexindex.htmlindex.htm;location~.*\.(php|php5)?${fastcgi_passunix:/tmp/php-cgi.sock;fastcgi_indexindex.php;includefastcgi.conf;}auth_basic"Authorize..
分类:
其他好文 时间:
2014-08-20 14:21:52
阅读次数:
238
skip-name-resolve此语句用于跳过dns域名解析,在局域网连接时会更快捷,不过使用此命令,mysql库的user表中的host须由原来localhost改为%,否则不能连接数据库。skip-grant-tables此语句用于跳过user表权限检查,在忘记密码时可以直接登录数据库后者较为危险
分类:
数据库 时间:
2014-08-20 14:20:43
阅读次数:
183
Network Configuration
TL;DR
When Docker starts, it creates a virtual interface named docker0 on
the host machine. It randomly chooses an address and subnet from the private range defined by RF...
分类:
Web程序 时间:
2014-08-20 14:12:09
阅读次数:
591
虚拟机下linux系统想上网,必须有几步前提的工作要做!把虚拟机VM这个程序设置为允许程序或功能通过windows防火墙。设置位置:控制面板->系统和安全->windows防火墙->允许程序或功能通过windows防火墙了解三种上网模式。桥连模式(VMnet0)host-only(VMnet1)NAT(VMne..
分类:
系统相关 时间:
2014-08-20 10:39:07
阅读次数:
235