1 你的电脑装好IIS. 这是必须的。 2.更改.NET Framework 版本为你的项目所用的版本。 应用程序池对应的.NET Framework 版本也都要对应。3将你电脑的默认网站目录定位到你的项目的web项目目录,访问你的本地网站是否正在显示。http://localhost如果不能正常显...
分类:
其他好文 时间:
2014-07-08 21:06:23
阅读次数:
200
最近在玩Thinkphp,废话不多说,说正事.
客户端js提交代码
1 $.post('http://localhost/app/index.php/Index/Index/handle',{username : document.getElementById('username').value,content : document.getElementById('content')....
分类:
Web程序 时间:
2014-07-08 18:44:07
阅读次数:
231
server=localhost;database=Northwind; integrated security=SSPIMicrosoft安全支持提供器接口(SSPI)是定义得较全面的公用API,用来获得验证、信息完整性、信息隐私等集成安全服务,以及用于所有分布式应用程序协议的安全方面的服务。应用...
分类:
其他好文 时间:
2014-07-08 11:46:06
阅读次数:
248
1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop//关闭防火墙iptables:清除防火墙规则:[确定]iptables:将链设置为政策ACCEPT:filter[确定]iptables:正在卸载模块:[确定][root@localhost~]#chkconfigiptablesoff[root@..
分类:
系统相关 时间:
2014-07-08 10:10:44
阅读次数:
298
importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.PreparedStatement;importjava.sql.ResultSet;publicclasstest{publicstaticfinalStringDBDRIVER="com.mysql.jdbc.Driver";//定义MySQL数据库的连接地址publicstaticfinalStringDBURL="jdbc:mysql://lo..
分类:
数据库 时间:
2014-07-08 10:04:24
阅读次数:
357
1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop[root@localhost~]#chkconfigiptablesoff[root@localhost~]#vim/etc/sysconfig/selinuxELINUX=disabled2)使用光盘中的软件包为本机配置YUM源【提示:指到光盘根目录,不要指..
分类:
系统相关 时间:
2014-07-08 09:53:34
阅读次数:
349
今天要学习使用OEM结果出现了两个问题!第一个问题:应该在哪里打开OEM呢?解决:好找了半天,才得知只需使用IE便可打开OEM了,使用的网址为:https://localhost:1158/em/好的,当打开这个网址的时候呢,又遇到了第二个问题:网页提示"无法连接到数据库实例"又好找了半天,网上确实有很多..
分类:
数据库 时间:
2014-07-08 09:10:56
阅读次数:
452
1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost~]#serviceiptablesstop[root@localhost~]#chkconfigiptablesoff[root@localhost~]#vim/etc/sysconfig/selinuxELINUX=disabled2)使用光盘中的软件包为本机配置YUM源【提示:指到光盘根目录,不要指..
分类:
系统相关 时间:
2014-07-08 08:31:35
阅读次数:
347
以基本的学生选课为例,建立选课数据库,学生、班级、选课信息三张表,并分别对表进行插删改操作:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘xuanke‘,port=3306)
cur=conn.cursor()
cur.execute("CREATEDATABASExuanke")
..
分类:
数据库 时间:
2014-07-08 08:05:43
阅读次数:
479
1.新安装一台RHEL6.x或CentOS6.x虚拟机1)关闭防火墙、SELinux[root@localhost桌面]#serviceiptablesstop[root@localhost桌面]#getenforce//查看当前SElinux的状态//上述的命令只在当前有效,若想在每次开机都生效得在配置文件中更改。2)使用光盘中的软件包为本机配置YUM源【..
分类:
其他好文 时间:
2014-07-08 08:03:13
阅读次数:
655