个人blog的搭建

本文详细介绍了如何在Windows XP环境下安装XAMPP 1.8.1,解决安装过程中遇到的Apache、MySQL启动问题,以及安装Z-BlogPHP与WordPress的具体步骤和常见问题解决方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一.安装XAMPP1.8.1(高版本的会有问题)
最新版本的XAMPP不支持winxp.下载链接如下:
https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/1.8.1/
1.遇到问题
Error: Apache shutdown unexpectedly.
PM 05:31:26 [Apache] This may be due to a blocked port, missing dependencies,
PM 05:31:26 [Apache] improper privileges, a crash, or a shutdown by another method.
PM 05:31:26 [Apache] Check the "/xampp/apache/logs/error.log" file
PM 05:31:26 [Apache] and the Windows Event Viewer for more clues
分析方法:cmd运行D:\goodtools\xampp\apache\bin>httpd.exe打印(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
: AH00072: make_sock: could not bind to address 0.0.0.0:443
这个方法并不好,还是netstat -ano | find “443”,查看是什么占用了端口。
解决方法:
在/xampp/apache/conf/extra/httpd-ssl.conf 把Listen 443 修改为 444(可自定义)
如果80端口被占用,则在/xampp/apache/conf/extra/httpd.conf 把Listen 80 修改为 88 (可自定义)
 
2启动遇到问题:
AM 09:20:46 [Apache] XAMPP Apache is already running on port 80
AM 09:20:46 [Apache] Problem detected!
AM 09:20:46 [Apache] Port 443 in use by "visualsvnserver.exe"!
AM 09:20:46 [Apache] Apache WILL NOT start without the configured ports free!
AM 09:20:46 [Apache] You need to uninstall/disable/reconfigure the blocking application
AM 09:20:46 [Apache] or reconfigure Apache to listen on a different port
AM 09:20:46 [mysql] XAMPP MySQL is already running on port 3306
分析方法:netstat -ano | find “443”,查看是什么占用了端口。
解决方法:ctrl+alt+del ,关闭程序visualsvnserver.exe。
记录成功结果:
AM 09:25:30 [main] Initializing Control Panel
AM 09:25:30 [main] Windows Version: Windows XP SP3 32-bit
AM 09:25:30 [main] XAMPP Version: 1.8.1
AM 09:25:30 [main] Control Panel Version: 3.1.0 3.1.0 [ Compiled: September 20th 2012 ]
AM 09:25:30 [main] Running with Administrator rights - good!
AM 09:25:30 [main] XAMPP Installation Directory: "d:\goodtools\xampp\"
AM 09:25:30 [main] Checking for prerequisites
AM 09:25:30 [main] All prerequisites found
AM 09:25:30 [main] Initializing Modules
AM 09:25:30 [Apache] XAMPP Apache is already running on port 80
AM 09:25:30 [mysql] XAMPP MySQL is already running on port 3306
AM 09:25:30 [main] Starting Check-Timer
AM 09:25:30 [main] Control Panel Ready
 
二.安装和下载Z-BlogPHP
1.下载和安装
Z-BlogPHP_1_3_Wonce_140614.zip
http://bbs.rainbowsoft.org/thread-84444-1-1.html
复制文件放到D:\goodtools\xampp\htdocs\zblog,本地进行安装http://localhost/zblog。
遇到问题:(0)UNKNOWN : MySQL DateBase Connection Error. (set_exception_handler)
分析:应该是数据库出现问题。
解决:使用phpMyAdmin添加对应的数据库,并使用root登陆,成功。
2.登陆
http://localhost/zblog/zb_system/login.php
 
三安装和下载wordpress
1.下载和安装
wordpress-4.0.1-zh_CN.zip
2.安装wordpress遇到问题http://localhost/wordpress/wp-admin/setup-config.php?step=2
数据库连接错误
您确认您提供的用户名和密码正确么?
您确认您提供的主机名正确么?
您确认数据库服务器运行正常么?
 
2.使用phpMyAdmin创建数据库
下载3.5.0的phpMyAdmin安装
安装遇到问题无法登陆的问题?
1.修改登陆的密码
修改D:\goodtools\xampp\htdocs\myadmin\libraries\config.default.php
$cfg['Servers'][$i]['nopassword'] = true;
修改如下参数没看到具体反应:
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['SQLValidator']['username'] = '';
$cfg['SQLValidator']['password'] = '';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
2.创建数据库表Databases新建 wordpress仓库,按php图标到user里添加用户
3.设置wordpress的登陆数据库设置wordpress
4.安装wordpress成功
 
总结:
1.采用wordpress或z-blog搭建个人博客管理系统。
对比发现wordpress的速度比z-blog慢很多,所以放弃wordpress,z-blog的功能足够我用。
需要确认的问题:
a.如何打包我的所有的博客文章和内容备份。
b.有关插件和归档的问题。
c.如何提高速度是个问题。
2.采用csdn的现有资源。
好处:可以兼顾分享人群,做到有来有往。
坏处:速度和管理有时无法兼顾。
3.百度云盘
http://pan.baidu.com/disk/home?fr=ibaidu
这个只能是存储和整理资源资料,无法做到对个人技术文章的归类和整理。
经过对比,我决定使用z-blog搭建个人博客系统,整理所有的技术文章和心理成长历程。

 
 
 
 
 
 
内容概要:该研究通过在黑龙江省某示范村进行24小时实地测试,比较了燃煤炉具与自动/手动进料生物质炉具的污染物排放特征。结果显示,生物质炉具相比燃煤炉具显著降低了PM2.5、CO和SO2的排放(自动进料分别降低41.2%、54.3%、40.0%;手动进料降低35.3%、22.1%、20.0%),但NOx排放未降低甚至有所增加。研究还发现,经济性和便利性是影响生物质炉具推广的重要因素。该研究不仅提供了实际排放数据支持,还通过Python代码详细复现了排放特征比较、减排效果计算和结果可视化,进一步探讨了燃料性质、动态排放特征、碳平衡计算以及政策建议。 适合人群:从事环境科学研究的学者、政府环保部门工作人员、能源政策制定者、关注农村能源转型的社会人士。 使用场景及目标:①评估生物质炉具在农村地区的推广潜力;②为政策制定者提供科学依据,优化补贴政策;③帮助研究人员深入了解生物质炉具的排放特征和技术改进方向;④为企业研发更高效的生物质炉具提供参考。 其他说明:该研究通过大量数据分析和模拟,揭示了生物质炉具在实际应用中的优点和挑战,特别是NOx排放增加的问题。研究还提出了多项具体的技术改进方向和政策建议,如优化进料方式、提高热效率、建设本地颗粒厂等,为生物质炉具的广泛推广提供了可行路径。此外,研究还开发了一个智能政策建议生成系统,可以根据不同地区的特征定制化生成政策建议,为农村能源转型提供了有力支持。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值