获取到最新的文件
2、将config.sample.php改为config.inc.php
并修改其中的数据库设置
3、运行install.php
默认用户名admin
密码12345
现在就可以测试typecho了
开启rewrtie,截至2008-07-10 23:30
项目组还没有加入这个功能,不过可以自己开启,方法如下:
加入typecho安装在localhost/typecho
那么.htaccess文件就是这样写的
代码: 全选
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /typecho/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /typecho/index.php/$1 [L]
</IfModule>
如果是根目录安装,就是以下的
代码: 全选
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>