首先你要配置好你的环境
请参照上一篇
ubuntu 配置apache+php+mysql
这样配置好环境以后
去下载一个gelato的cms系统
解压缩以后放到
/var/www里
然后打开浏览器输入:
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 toconfig.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(填上该填的)
- If you installed gelato in the root directory, you should visit:
- Set CHMOD / permission ( Chmod 777 ) to the folder '
uploads' - 记住把文件copy到www下因为有的路径有问题
- 打开localhost看看。不懂的留言。
浙公网安备 33010602011771号