一. 第一个php程序
1. 编写一个后缀名为helloworld.php的文件
2. 将helloworld.php文件放到web服务器的文档根目录下
3. 通过浏览器访问web服务器管理下的helloworld.php文件: http://localhost/helloworld.php
4. 在php文件中可以编写html,...
分类:
Web程序 时间:
2014-07-20 09:35:31
阅读次数:
227
问题:昨天安装rabbitmq(3.3.4版本)服务,并启用rabbitmq_management插件去管理rabbitmq服务,但是在访问管理界面使用guest用户登录时出现login failed错误。到服务器上查询日志显示出现错误的原因是:HTTP access denied: user 'g...
分类:
数据库 时间:
2014-07-18 17:29:38
阅读次数:
642
RegExp 对象RegExp 对象表示正则表达式,它是对字符串执行模式匹配的强大工具。直接量语法/pattern/attributes实例:window.location.href:http://localhost:8100/aspx/main/ServiceCenter_list.aspx?ca...
分类:
编程语言 时间:
2014-07-18 15:05:11
阅读次数:
212
问题描述: 在本机IIS部署的APP,通过localhost 地址访问,如:http://localhost/AMTS4004/LoginFrm.aspx,IE会出现兼容性视图图标选择是否使用兼容性视图, 如果通过IP访问,如:http://192.168.1.100/AMTS4004/Logi.....
分类:
其他好文 时间:
2014-07-18 14:16:53
阅读次数:
244
当我们给予shell脚本执行的权限后,就可以测试程序了,假设shell脚本文件为hello.sh放在/root目录下。下面介绍几种在终端执行shell脚本的方法:1.切换到shell脚本所在的目录,执行:[root@localhost home]# cd /root/[root@localhost ...
分类:
其他好文 时间:
2014-07-18 13:39:57
阅读次数:
235
1.关闭selinux[root@localhost~]#setenforce02.安装FedoraEPEL[root@localhost~]#yuminstall-yhttp://ftp.riken.jp/Linux/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm3.安装docker[root@localhost~]#yuminstall-ydocker-io[root@localhost~]#yuminstall-ydocker4.下载官..
分类:
其他好文 时间:
2014-07-18 13:22:38
阅读次数:
232
lamp环境搭建1、apahce安装(1)安装相关的依赖包[root@localhost~]#yum–yinstallgccmakeopenssl-develc++libxml2-devel(2).编译安装apahce[root@localhostsrc]#tar-zxfhttpd-2.2.25[root@localhostsrc]#cdhttpd-2.2.25[root@localhostsrc]#./configure--prefix=/usr/loca..
分类:
其他好文 时间:
2014-07-18 13:09:49
阅读次数:
283
DNS从服务的搭建一、安装[root@localhost~]#yuminstallbind二、修改主配置文件[root@localhost~]#cat/etc/named.conf将以下三行注释掉//listen-onport53{127.0.0.1;};
//listen-on-v6port53{::1;};
//allow-query{localhost;};三、将DNS指向本机[root@localhost~]#vim/etc/reso..
分类:
其他好文 时间:
2014-07-18 13:02:55
阅读次数:
251
解决方案:如果某台Linux服务器ping不通域名, 如下提示:[root@localhost~]# ping www.baidu.comping: unknown host www.baidu.com首先确定已经连接上路由器,并且路由器能够访问外网,可以通过访问网关进行确定[root@localh...
分类:
系统相关 时间:
2014-07-18 10:32:12
阅读次数:
266
非select 语句(没有结果集的)1.建立连接数据库 $mysqli=new mysqli("localhost","root","","sqldb");2.判断 if(mysqli_connect_error()){ echo "连接数据库失败".mysqli_connect_erro...
分类:
数据库 时间:
2014-07-18 10:16:11
阅读次数:
292