如何搭建一个属于自己的轻博客。。。向网易轻博客一样
2012-12-02 16:37
429 查看
首先你要配置好你的环境
去下载一个gelato的cms系统
解压缩以后放到
/var/www里
http://gelatocms.com/
然后打开浏览器输入:
localhost/gelato/
如果你把gelato的文件放到了www里就直接
localhost
在ubuntu Server 下,装gd,命令为:
sudo apt-get install php5-gd
重启apache:
/etc/init.d/apache2 restart
这样就OK了
Create a database for gelato on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.(最好准备好你的数据库的账户和密码)
Rename the
Open
Place the gelato files in the desired location on your web server.
Run the gelato installation script by accessing
If you installed gelato in the root directory, you should visit:
If you installed gelato in its own subdirectory called blog, for example, you should visit:
Set CHMOD / permission ( Chmod 777 ) to the folder '
记住把文件copy到www下因为有的路径有问题
打开localhost看看。不懂的留言。
请参照上一篇
ubuntu 配置apache+php+mysql
这样配置好环境以后去下载一个gelato的cms系统
解压缩以后放到
/var/www里
http://gelatocms.com/
然后打开浏览器输入:
localhost/gelato/
如果你把gelato的文件放到了www里就直接
localhost
发现个问题,图片缩略图不能显示
为支持更高级的图片显示功能需要安装GD图形支持在ubuntu Server 下,装gd,命令为:
sudo apt-get install php5-gd
重启apache:
/etc/init.d/apache2 restart
这样就OK了
How to install gelato CMS
Download and unzip the gelato package, if you haven't already.(下载解压缩)Create a database for gelato on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.(最好准备好你的数据库的账户和密码)
Rename the
config-sample.phpfile to
config.php.(重命名)
Open
config.phpin your favorite text editor and fill in your database details.(写不写都行,因为下面install还会自动配置)
Place the gelato files in the desired location on your web server.
Run the gelato installation script by accessing
install.phpin your favorite web browser.
If you installed gelato in the root directory, you should visit:
http://example.com/install.php
If you installed gelato in its own subdirectory called blog, for example, you should visit:
http://example.com/blog/install.php(填上该填的)
Set CHMOD / permission ( Chmod 777 ) to the folder '
uploads'
记住把文件copy到www下因为有的路径有问题
打开localhost看看。不懂的留言。
相关文章推荐
- 【如何搭建一个属于自己的独立博客~~~基于windows系统,使用wordpress建站】【弱菜一枚~~大神请路过】
- 新人如何搭建(copy)一个属于自己的博客
- 搭建一个属于自己的博客(Hexo + GitHub)
- 搭建一个属于自己的博客平台
- 运维工程师如何快速搭建属于自己的技术博客?
- 如何在github上搭建一个免费的 无限流量的静态网页博客Github pages
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个独立博客——简明Github与Hexo教程
- 如何搭建一个独立博客——简明Github Pages与Hexo教程
- 如何搭建一个个人博客平台和电商网站
- 如何搭建一个属于自己的直播平台?
- 如何搭建一个独立博客——简明Github Pages与Hexo教程