Pages

Friday, 20 June 2014

在linux vps上搭建基于php的静态网站程序-log1cms

cd /var/www
wget http://downloads.sourceforge.net/project/log1cms/log1cms%202.1/log1cms2.1.zip
unzip log1cms2.1.zip
mv log1cms2.1 log1cms
cd log1cms

root@as3:/var/www/log1cms# ls
admin  functions  jquery-lightbox-0.5  readme.txt
db     index.php  lightbox             templates
root@as3:/var/www/log1cms# chmod -R 777 db
root@as3:/var/www/log1cms# chmod 777 admin/config.php
root@as3:/var/www/log1cms# chmod 777 admin/template.php
root@as3:/var/www/log1cms# chmod 777 index.php
root@as3:/var/www/log1cms#
访问http://as3.brite.biz/log1cms/即可看到网站效果。
登录地址:http://as3.brite.biz/log1cms/admin/
默认的用户名/密码:log1/log1
登录后,请立刻修改用户名/密码。登录后,点击右上角的next,输入page名,按add和save.继续点击右上角的next,然后对刚才新建的页面输入内容,按save.继续点击右上角的next,在此页,选择atomohost模板,按save.

演示站点:http://as3.brite.biz/log1cms/
登录地址:http://as3.brite.biz/log1cms/admin/
项目地址:http://sourceforge.net/projects/log1cms/,
下载地址:
http://downloads.sourceforge.net/project/log1cms/log1cms%202.1/log1cms2.1.zip