Installation and configuration Jforum

本文详细指导如何下载、解压、注册并配置JForum论坛应用,包括设置目录权限、数据库连接、安装类型等关键步骤,确保成功安装并运行。
Unpacking
17233557_5Hpj.png

After the download, unpack the .ZIP file into your webapp's directory (or anyplace you want to put it). A directory named JForum- will be created, where is the version, which may be "2.0", "2.1.7" etc... this it just for easy version identification.

You can rename the directory if you want. The next step you should do is register the JForum application within your Servlet Container, like Tomcat. This document will use the context name "jforum", but of course you can use any name you want.

Directory permissions
17233557_5Hpj.png

JForum expects that some directories are writable by the webserver. Before you start installing, please check if the following directories, and their sub-directories, exist and have full write permissions:

  • upload
  • tmp
  • images
  • WEB-INF/config
  • WEB-INF/jforumLuceneIndex
Configuring
17233557_5Hpj.png

Next, point your browser to the following address: http://localhost:8080/jforum/install.jsp

The bold text, "jforum", is the context's name. If you changed the context name you will need to change it here too. After the page loads, you should see the screen shown by Image 1:

17233557_SimI.jpg
Image 1 - Welcome page

Please read carefully the fields' tips, since they contain valuable information. Below is a little explanation of each field:

Field name Required Description
Default Board Language Yes The language to display the messages in the forum. Note that, if the translation for some text is not available, an English text will be used
Database Type Yes The database server to use. If you don't know which one to choose, select "HSQLDB" from the list
Installation Type Yes Installation mode. Currently only "New Installation" is supported
Connection type Yes Which method to use to connect to database. Native will use regular connections, while DataSource will try to connect using the specified datasource name
DataSource name No If you chosen DataSource as Connection Type, then inform the name of the datasource
Database Server Hostname Yes The host where the database is located
Database Name Yes

Where the tables will be created. Note that the database should already exist.

If you're going go use HSQLDB, no extra configuration is needed, since it is created on the fly

If you are using Oracle, you probably will have to enter the SID here.

Database username No* The user of your database instance. *This field is required for databases other than HSQLDB
Database Password No The database password, if any. Please note that errors may occur when not using any password
Database Encoding No The text encoding for the database. You can specify it by hand in the "Other" field
Use Connection Pool Yes In case of doubt, choose No
Forum Link Yes The link to the forum context. If you are hosting it under some "real" domain and the context path is "/", the "Forum Link" will be the address of your site, in most cases.
Website Link Yes The link to your website.
Administrator Password Yes Type the password of the administrator (Admin user).

Now you can click the "Next Step "button. You will see the page shown in Image 2, which that contains a summary of your choices.

17233559_KeIe.jpg
Image 2 - Checking the configuration before installation begins

If is everthing looks good, click on the "Begin Install" button. Note that if some warning message is shown, then there are some required steps that should be made before proceding with the installation.

Wait until the installation ends. If no errors occur, then you will see a page like the one shown in Image 3

17233601_HK3r.jpg
Image 3 - Installation Finished

Congratulations! You have finished your JForum Installation. Before accessing the forum, do the actions pointed by the arrows, click on the check button and click on the button "Click Here to Access the Forum".

Administering the forum
17233557_5Hpj.png

Now you can login as Admin / and click in the link "Admin Control Panel", at the end of the page. There you will be able to create Categories, Forums, Groups, and Users. Don't forget to give write access to the webserver's user to the directories "images" and "tmp" (as well from its subdiretories, if any).

转载于:https://my.oschina.net/yanjianhai/blog/177083

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值