How to deploy my yaf Forum (yet another forum)

Source: Internet
Author: User

There are some deployment methods for the yaf Forum (yet another forum) on the Internet. Here I also write my own deployment methods, hoping to help you.
The yaf version I deployed is v1.9.1.6.ArticleIn the first few days of v1.9.1.8.
For the purpose of learning, I directly useSource codeThe version (YAF-v1.9.1.6-FINAL-SRC) to deploy is the same as the yaf build (YAF-v1.9.1.6-FINAL-BIN) deployment method.

Deployed system environment: IIS, DOTNET framwork 2.0, and SQL server must be deployed on the machine (remote access is also supported, while the following example is local, using SQL Server 2005)

1. decompress yaf-v1.9.1.6-final-src.zip to the target location. Here I am E:/yaf
2. open IIS and create a virtual directory named yaf
3. enter http: // localhost/yaf/in the browser
4. configure according to the instructions in English.
Step 1: set E:/yaf/default. change config to E:/yaf/web. config
Step 2: [1] modify E:/yaf/yafnet. database connection string of config;
[2] Add a login name in the form of in "security"-"Login Name" of SQL Server, for example, computer/ASPnet, and set its server role (Check all roles without thinking about it;
[3] Create a yafnet database in SQL Server;
Step3: click Next. The newly created yafn Run the SQL statement deployed by yaf ON THE et database (that is, creating tables, indexes, triggers, and stored procedures).
Step 4: create a forum, enter the relevant information of the forum and you will be OK (such as the Forum name, time zone, SMTP service, and Administrator Account)
Step 5: Finish-Done !!!!
5. After the deployment is completed, the homepage of the Forum is automatically displayed (http: // localhost/yaf/).

Yaf is an English version. yaf has more than a dozen language packs (including simplified Chinese). The following describes how to change the language type.
1. Log On with the Administrator account and go to the Admin menu for background management
2. Click the forums item in the admin column on the left.
3. Select Chinese simp for the language item
4. Save-Done !!! Install

Article from my cnblog: http://www.cnblogs.com/jinkeungsiu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.