Window7添加地址:C:\Windows\System32\drivers\etc\hosts添加内容:203.208.46.146 www.google.com203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com
分类:
移动开发 时间:
2014-11-16 10:33:44
阅读次数:
165
sudo apt-get updatesudo apt-get install nginxsudo mkdir -p /var/www/example.com/htmlsudo chown -R $USER:$USER /var/www/example.com/htmlsudo chmod -R 7...
分类:
系统相关 时间:
2014-11-15 16:45:33
阅读次数:
244
1. 设置域名映射同一个IP,修改hosts(C:\WINDOWS\system32\drivers\etc\hosts)127.0.0.1 www.test1.com2. 在httpd.conf中将附加配置文件httpd-vhosts.conf包含进来把httpd-vhosts.conf一行最前面...
分类:
Web程序 时间:
2014-11-15 14:01:47
阅读次数:
198
#!/bin/bash#analysisthemysqlslowlog#Writenbylandline#IPadd=`grep`hostname`/etc/hosts|awk-F‘‘‘END{print$1}‘`IPadd=`/sbin/ifconfigeth0|grepBcast|awk-F:‘{print$2}‘|awk‘{print$1}‘`serverday=`date-d‘-1day‘+%Y-%m-%d`nowday=`date"+%y%m%d"`yestoday=`date-d‘-1day‘+%..
分类:
数据库 时间:
2014-11-15 06:44:39
阅读次数:
290
如何在CentOS 7上修改主机名在CentOS中,有三种定义的主机名:静态的(static),瞬态的(transient),和灵活的(pretty)。“静态”主机名也 称为内核主机名,是系统在启动时从/etc/hostname自动初始化的主机名。“瞬态”主机名是在系统运行时临时分配的主机名,例如,...
分类:
其他好文 时间:
2014-11-13 23:54:22
阅读次数:
255
上传文件到FTP服务器:/** * Description: 向FTP服务器上传文件 * @param url FTP服务器hostname * @param port FTP服务器端口,如果默认端口请写-1 * @param username FTP登录账号...
分类:
编程语言 时间:
2014-11-13 22:14:03
阅读次数:
180
1,项目调研
因为需要研究下断点上传的问题。找了很久终于找到一个比较好的项目。
在GoogleCode上面,代码弄下来超级不方便,还是配置hosts才好,把代码重新上传到了github上面。
https://github.com/freewebsys/java-large-file-uploader-demo
效果:
上传中,显示进度,时间,百分比。
点击【Paus...
分类:
编程语言 时间:
2014-11-13 12:55:37
阅读次数:
570
weave简介Weave creates a virtual network that connects Docker containers deployed across multiple hosts.Applications use the network just as if the cont...
分类:
其他好文 时间:
2014-11-13 00:22:57
阅读次数:
492