码迷,mamicode.com
首页 >  
搜索关键字:hosts    ( 4201个结果
android环境搭建
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
How To Set Up Nginx Server Blocks (Virtual Hosts) on Ubuntu
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
apache配置虚拟主机
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
mysql 慢日志分析脚本
#!/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
java http大文件上传,断点续传项目研究,Github上传源代码
1,项目调研 因为需要研究下断点上传的问题。找了很久终于找到一个比较好的项目。 在GoogleCode上面,代码弄下来超级不方便,还是配置hosts才好,把代码重新上传到了github上面。 https://github.com/freewebsys/java-large-file-uploader-demo 效果: 上传中,显示进度,时间,百分比。 点击【Paus...
分类:编程语言   时间:2014-11-13 12:55:37    阅读次数:570
使用weave管理docker网络
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
Puppet 安装与应用
Centos6.4安装PuppetPuppet要求所有机器有完整的域名(FQDN),如果没有DNS服务器提供域名的话,可以在两台机器上设置主机名(注意要先设置主机名再安装Puppet,因为安装Puppet时会把主机名写入证书,客户端和服务端通信需要这个证书),因为我配置了DNS,所以就不用改hosts了,..
分类:其他好文   时间:2014-11-12 18:11:13    阅读次数:277
windows下的host文件在哪里?做什么用的?
在Window系统中有个Hosts文件(没有后缀名),在Windows98系统下该文件在Windows目录,在Windows2000/XP系统中位于C:\Winnt\System32\Drivers\Etc 目录中。该文件其实是一个纯文本的文件,用普通的文本编辑软件如记事本等都能打开。 用记...
分类:Windows程序   时间:2014-11-12 16:15:00    阅读次数:191
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!