码迷,mamicode.com
首页 >  
搜索关键字:host    ( 15768个结果
[SecureCRT] 解决“securecrt failed to open the host key database file”的问题
SecureCRT在Windows XP和Windows 7中的个人应用数据路径是不同的,在Windows 7中,应用数据路径为:C:\Users\\AppData(hidden)\Roaming\VanDyke\Config。 但以上是针对合法安装注册的用户,对于绿色携带版,尤其直接复制粘贴...
分类:数据库   时间:2014-08-09 22:57:59    阅读次数:1530
PHP操作数据库PDO
PHP操作数据库 加载数据库驱动 访问phpinfo.php可以查看是否已经加载数据库驱动,如下显示还没有加载mySql数据库驱动。 在c盘找到php.ini配置文件开启加载mySql驱动,如下图,去掉分号。 连接数据库 //连接数据库 $dsn="mysql:dbname=test;host=127.0.0.1";//数据源名 $user="root";...
分类:数据库   时间:2014-08-09 13:27:57    阅读次数:262
nagios(或icinga)将多个主机放到一个组内步骤
nagios将多个主机放到一个组内步骤:#viming.cfgdefinehost{uselinux-serverhost_namemingaliasmingaddress192.168.1.14action_url/pnp4nagios/index.php/graph?host=$HOSTNAME$}definehost{uselinux-serverhost_nameming2aliasming2address192.168.1.15action_url/pnp4nagios/..
分类:移动开发   时间:2014-08-08 18:27:07    阅读次数:262
nginx关闭图片,js,css等的日志
一般来说这些日志的分析价值不高,而且还占用硬盘空间,一般都会关掉。nginx配置:location~.*\.(gif|jpg|jpeg|png|bmp|swf|ico)${access_logoff;proxy_passhttp://cdel_jxjy;proxy_redirectoff;proxy_set_headerHost$host;proxy_set_headerX-Real-IP$remote_addr;proxy_set_he..
分类:Web程序   时间:2014-08-08 18:24:56    阅读次数:286
ubuntu12.04编译android4.0源代码Deug3
make:***[out/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb]错误1这个报错网上统一的解决方法都是安装sudoapt-getinstalllibncurses5-dev但是我屡次卸载安装重启clean编译还是报错,最后才焕然大悟make报错是linux-86的错就是32位ubutun的错因此要安装64位的libncurs..
分类:移动开发   时间:2014-08-08 18:24:47    阅读次数:214
PHP 与网址相关内容
#测试网址: http://localhost/blog/testurl.php?id=5//获取域名或主机地址 echo $_SERVER['HTTP_HOST'].""; #localhost//获取网页地址 echo $_SERVER['PHP_SELF'].""; #/blog/te...
分类:Web程序   时间:2014-08-08 18:00:36    阅读次数:223
关于httpservletrequest的获取真实的ip
request方法客户端IP: request.getRemoteAddr() 输出:192.168.0.106 客户端主机名:request.getRemoteHost()输出:abc request.getHeader("Host") 输出:192.168.0.1:8080 Web服务器名字:request.getServerNa...
分类:其他好文   时间:2014-08-08 16:36:47    阅读次数:233
Host 'XXX' is not allowed to connect to this MySQL server 解决方案/如何开启MySQL的远程帐号
如何开启MySQL的远程帐号-1)首先以 root 帐户登陆 MySQL在 Windows 主机中点击开始菜单,运行,输入“cmd”,进入控制台,然后cd 进入MySQL 的 bin 目录下,然后输入下面的命令。 >MySQL -uroot -p123456 (123456 为 root 用户的密码...
分类:数据库   时间:2014-08-08 15:58:56    阅读次数:317
查看Linux服务器的物理状态
1.当前内存使用情况[user@host ~]$ free -m 2.当前CPU使用情况[user@host ~]$ top
分类:系统相关   时间:2014-08-08 15:43:06    阅读次数:271
postgress无法远程连接问题解决方案
1 修改文件postgresql.conf 加入listen_addresses='*' 默认是localhost, '*'表示监视所有主机(any)2 修改文件pg_hba.conf 在host all all 127.0.0.1/32 ...
分类:其他好文   时间:2014-08-08 11:56:05    阅读次数:215
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!