#!/usr/bin/env python# -*- coding: utf-8 -*- import urllib2,re,platform#urlib2抓取网页def getContent(url, timeout=5): content = None try: res...
分类:
编程语言 时间:
2014-12-31 12:54:18
阅读次数:
234
环境:linux,mysql5.5.21 错误:Host is blocked because of many connection errors; unblock with ‘mysqladmin flush-hosts‘ 原因: 同一个ip在短时间内产生太多(超过mysql数据库max_connection_errors的...
分类:
数据库 时间:
2014-12-31 11:36:17
阅读次数:
212
(一)AndriodSDKManager无法自动下载安装包 无法访问dl-ssl-google.com只需在hosts文件中增加203.208.49.162 dl-ssl.google.com重新打开AndriodSDKManager即可(二)在配置Android安装其SDK的时候出现了"A fol...
分类:
其他好文 时间:
2014-12-30 16:43:22
阅读次数:
316
修改hosts文件
127.0.0.1 localhost
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com...
分类:
移动开发 时间:
2014-12-30 13:35:48
阅读次数:
128
可以从以下几个方面检查
1
vi /etc/ssh/sshd_config:
然后将这两项的注释号去掉
Port 22
Protocol 2
2
检查sshd服务
sudo service ssh status.
3
检查名字是否一致
/etc/hostname, and /etc/hosts.
4
检查防火墙.
sudo service ufw stat...
分类:
系统相关 时间:
2014-12-26 20:18:39
阅读次数:
264
# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP ...
分类:
其他好文 时间:
2014-12-25 21:47:01
阅读次数:
127
在windows中,hosts文件的路径为:C:\Windows\System32\drivers\etc在Linux中,hosts文件的路径为:/etc/hosts
分类:
其他好文 时间:
2014-12-25 16:11:48
阅读次数:
170
1,首先配置hosts和权限参考:http://blog.csdn.net/freewebsys/article/details/421247852,进入安装界面3,选择安装目录这个目录一定要没有 sdk。需要重新下载一个新的。需要有足够的磁盘空间sudo mkdir /Library/Androidsudo chmod 777 Android 4,设置内存分配大小!注意这个是Intel HAX...
分类:
移动开发 时间:
2014-12-24 21:35:27
阅读次数:
255