Readers: 591 | Updated: 01-30

Windows 2003 IIS 6.0 本机安装 z-blog

Translate Into:

开始架博客的时候,俺就想在本机架个Asp服务器调试Z-blog,再架个PHP服务器调试wordpress。最开始,俺是想在windows Xp之下用 IIS 5.1架,结果老是无法配置好数据库权限,弄得俺很不爽。昨天俺匆匆忙忙升级到了z-blog 1.8,把站点弄得乱七八糟,只好在本机架一个服务器调试一下了。

俺先装了VirtualBox虚拟机, 又下载了盗版windows server 2003企业版塞了进去。

Win2003 装好之后,系统自动运行服务器配置向导。向导中有一步是配置DNS服务器,这时候最好配置得让博客的域名指向本级地址,比如俺的就要建立一个“正向查找”的区域,自然是butwho.net,这样俺在调试zblog的时候就很方便了。建立好之后,在这个“正向查找区域”butwho.net里面建立一个主机,比如www,然后指向127.0.0.1,就算是绑定域名了。

下一步,配置IIS。在“管理您的服务器”里面选择“添加或删除角色”,如果“应用程序服务器IIS、ASP.Net”没有添加,选择添加,下一步即可。让俺郁闷的是,默认的安装里面并没有提供对ASP的支持,需要手动安装一下才能使用ASP。
IIS_ASP

 安装完之后基本上就能用了。俺把Z-Blog网络主机环境测试程序放到wwwroot下面,测试了一下。第二步测试中报错:没有开启父路径。俺就看了看帮助,在“默认网站”上面点右键选“属性”,在“主目录”选项卡下面有个“配置'”按钮,然后点“选项”,启用父路径即可。第四部中建立文件、创建目录都正常,但是“[失败] 删除test目录abc.html文件失败”,下一步“删除abc.mdb数据库失败”,估计是权限的问题。俺又重新设置了test目录的权限,结果再运行test.asp需要输入用户名密码。俺又把test目录删了,重新用iis在“默认网站”下“新建虚拟目录”,这下就正常了,所有测试通过。

这下,zblog就能在本机正常安装了。貌似俺的权限设置还有问题(而且很不安全),不过在虚拟机之下怎么玩都没问题。

现在的情况是:如果全新安装zblog1.8,登陆时会出现“ 错误提示错误原因:登录失败”;把已有的这套东西搬过去,则能正常运行。俺也不知道咋回事。

反正,以后俺就能随心所欲地改代码、建模版了!



系统认为下面这些东西可能与本文有点关系:


From The Blogs

Internet Observation

2007
OpenID与Windows Live ID
David Berlind有一篇博客,标题为如果“你”建立OpenID,“他们”会来吗?,其中写到 “如果你上周错过了这个消息,微软正在进行另一项大变动,它关于单点登入技术。最初的Passport,遭... 查看全文

OhGizmo!

04-15
Epoq EGP-WP98B Watchphone Runs Windows Mobile
It’s hard to say if having your phone strapped to your wrist will one day be the norm, but when it comes to features the Epoq EGP-WP98B can give a lot of larger cellphones a run for their money. 查看全文

IntoMobile » Platforms

04-12
HKC enters the Windows Mobile smartphone market with launch of two dual-SIM devices
Hong Kong based HKC (no its not a typo) launched the worlds first Windows Mobile smartphone with two SIM card slots, allowing savvy users to make and receive phone calls on two networks while doing th... 查看全文

Tech Ticker

03-18
Asus: Windows Eee will sell more than its Linux counterpart
It would seem a bold statement but Asus, the makers of the miniscule Eee PC says that the Windows variant of Eee will outsell the currently available Linux version with the ratio of 3:2. The windows E... 查看全文

Internet Observation

11-17
Windows PC安全7步行
7种措施让你的Windows PC 高枕无忧 查看全文

Dare Obasanjo aka Carnage4Life

2007
It isn't OpenID vs. Windows Live ID (Web Authentication )
David Berlind has a blog post entitled If ‘you’ build OpenID, will ‘they’ come? where he writesIn case you missed it last week, Microsoft is taking another swing at the idea of single sign-on technolo... 查看全文

Fashion Innovation,Digital Products

01-19
Pharos GPS Phone 600 智能手机
Pharos公司最近推出一款带有GPS卫星定位系统的智能手机GPS Phone 600,这款手机和E-TEN Golfish X500 PDA智能手机几乎完全一样的...她装备了一颗Samsung S... 查看全文

Internet Observation

06-04
按F8无法进入安全模式的解决方法
我今天遇到出乎预料的问题,现在想和大家分享一下我碰到的情况以及解决方法。 按F8能够在系统启动和加载菜单之间的时间空隙里提供各种选择,比如说进入系统安全模式或恢复最后一次正确配置。我遇到的问题是无论我... 查看全文

Fashion Innovation,Digital Products

2007
使用Birdiesync 同步Windows Mobile 和Thunderbird(邮件客户端软件)
并不是人人都用Outlook或Exchange; 我一直在使用Thunderbird,它是一个自由、开放源码和跨平台运行的邮件客户端程序,主要用于收发电子邮件和订阅新闻组,BirdieSync不仅解决... 查看全文

Internet Observation

2007
Windows Live Writer Beta 2新增15大功能
昨天,Windows Live Writer小组发布了他们风靡全球的桌面博客发布器——Windows Live Writer Beta 2版本。除了把界面作成Vista样式之外,设计者还加入了一些令人... 查看全文
More Articles