Chinaunix首页 | 论坛 | 博客
  • 博客访问: 504217
  • 博文数量: 119
  • 博客积分: 5054
  • 博客等级: 大校
  • 技术积分: 1305
  • 用 户 组: 普通用户
  • 注册时间: 2010-01-03 13:13
文章分类

全部博文(119)

文章存档

2011年(4)

2010年(115)

我的朋友

分类: 系统运维

2010-01-03 17:24:42

phpbb 是自由软件,也是开放源代码的论坛系统,使用php作为程式语言,并支持如MySQL、postgreSQL、MSSQL、SQLLite、Microsoft Aceess与Oracle等数据库。

除去数据库支持上,phpbb有以下几项优点:

1、使用样本系统设计可方便的快速修改

2、国际化并支持64种可用的语言翻译,可同时安装多套翻译

3、庞大且众多的网络论坛提供使用者自由交流与外挂软件的支援

更多的关于phpbb的信息可以到了解

下面谈谈如何使用phpbb假设论坛以及汉化(安装中文语言包)

一、准备工作

系统需求:

phpBB has a few requirements which must be met before you are able to install and use it. In this section, these requirements are explained.

  • A webserver or web hosting account running on any major Operating System with support for PHP
  • A SQL database system, one of:
    • FireBird 2.0 or above
    • MySQL 3.23 or above
    • MS SQL Server 2000 or above (directly or via ODBC)
    • Oracle
    • PostgreSQL 7.x or above
    • SQLite 2
  • PHP 4.3.3 or above with support for the database you intend to use. The optional presence of the following modules within PHP will provide access to additional features, but they are not required.
    • zlib Compression support
    • Remote FTP support
    • XML support
    • Imagemagick support
    • GD support

The presence of each of these required features will be checked during the installation process, explained in Section 1.2, “Installation”.

到phpbb的官方网站下载最新版本(当前最新版本是3.0.4)的软件安装包及需要的语言包,并阅读快速安装向导Quick Start Guide

二、安装

假定已经把phpBB-3.0.4.tar.bz2、lang_zh_cmn_hans.tar.gz(简体中文)、lang_zh_cmn_hant.tar.gz(正体中文)下载到你的主目录。

cd ~
sudo tar xjvf phpBB-3.0.4.tar.bz2 -C /var/www (WEB的根目录)

执行上面命令后,在/var/www/目录下便得到一个phpBB3的目录,改变目录的所有者和组属性。

sudo chown -R www-data:www-data /var/www/phpBB3

在浏览器中输入 (回车),根据提示便可一步步的完成安装过程。可参考Quick Start Guide

三、安装中文语言包

1、解压语言包:

sudo tar xzvf lang_zh_cmn_hans.tar.gz -C /var/www/phpBB3/language/

除此之外还得执行下面两行代码:

sudo cp -r /var/www/phpBB3/styles/prosilver/imageset/en/ /var/www/phpBB3/styles/prosilver/imageset/zh_cmn_hans
sudo cp -r /var/www/phpBB3/styles/subsilver2/imageset/en/ /var/www/phpBB3/styles/subsilver2/imageset/zh_cmn_hans

(正体中文类似安装)
2、 前往后台控制面板, 在System->Language中可以找到新的语言包, 点install安装
3 、设置论坛的默认语言, 以及个人资料的默认语言
4、 subsilver2风格默认是未安装的, 需要自己在后台手动安装

到此,这个教程(也作为个人笔记)算是基本完成了。

搭建个人论坛还可以使用Discuz!(国产的)软件,虽然不是开源的,但个人使用是免费的。其安装过程与phpbb类似,这里就不展开说明了,需要时再google。

阅读(1919) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~