如何在您的网站上安装phpBB

下载phpBB ( Download phpBB )

Screenshot from phpbb.com

The first thing you need to do is download phpBB from www.phpbb.com. It is always best to download from an official source so you know the file you are getting is safe. Be sure to download the full version of the software and not just the updates.

您需要做的第一件事是从www.phpbb.com下载phpBB。 始终最好从官方来源下载文件,以使您知道所获取的文件是安全的。 确保下载完整版本的软件,而不仅仅是下载更新。

解压缩并上传 ( Unzip and Upload )

Now that you have download the file, you need to unzip and upload it. It should unzip to a folder called phpBB2, which contains many other files and subfolders.

现在您已经下载了文件,您需要解压缩并上传它。 它应该解压缩到名为phpBB2的文件夹,其中包含许多其他文件和子文件夹。

You now need to connect to your website via FTP and decide where you want your forum to reside. If you want the forum to be the first thing shown when you go to www.yoursite.com, then upload the contents of the phpBB2 folder (not the folder itself, just everything inside of it) to yoursite.com when you connect.

现在,您需要通过FTP连接到您的网站,并确定您希望论坛驻留的位置。 如果您希望论坛成为访问www.yoursite.com时首先显示的内容,则在连接时将phpBB2文件夹的内容(不是文件夹本身,而是其中的所有内容)上载到yoursite.com。

If you want your forum to be in a subfolder (for example www.yoursite.com/forum/) you must first create the folder (the folder would be called 'forum' in our example), and then upload the contents of the phpBB2 folder into the new folder on your server.

如果您希望论坛位于子文件夹中(例如www.yoursite.com/forum/),则必须首先创建文件夹(在我们的示例中该文件夹称为“ forum”),然后上传phpBB2的内容。文件夹放入服务器上的新文件夹。

Be sure when you upload that you keep the structure intact. This means that all subfolders and files stay within the main or subfolders they currently are. Just select the whole group of files and folders, and transfer them all as-is.

确保在上载时保持结构完整。 这意味着所有子文件夹和文件都位于当前所在的主文件夹或子文件夹中。 只需选择整个文件和文件夹组,然后按原样传输它们即可。

Depending on your internet connection, this may take awhile. There are many files to upload.

根据您的互联网连接,这可能需要一段时间。 有很多文件要上传。

运行安装文件-第1部分 ( Running the Install File - Part 1 )

Screenshot from phpBB install

Next, you need to run the install file. You can do this by pointing your web browser to the install file. It can be found at http://www.yoursite.com/sub_folder/install/install.php If you did not put the forum into a subfolder then just go directly to http://www.yoursite.com/install/install.php

接下来,您需要运行安装文件。 您可以通过将Web浏览器指向安装文件来执行此操作。 可以在http://www.yoursite.com/sub_folder/install/install.php上找到它。如果您没有将论坛放入子文件夹中,则直接直接转到http://www.yoursite.com/install/install .php

Here you will be asked a series of questions.

在这里,您将被问到一系列问题。

Database Server Hostname: usually leaving this as localhost works, but not always. If not, you can usually find this information from your hosting control panel, but if you don't see it, contact your hosting company and they can tell you. If you get Critical Error: Could not connect to database - then localhost probably didn't work.

数据库服务器主机名 :通常将其保留为localhost可以,但并非总是如此。 如果没有,通常可以从托管控制面板中找到此信息,但是如果看不到,请与托管公司联系,他们会告诉您。 如果出现严重错误:无法连接到数据库 -则本地主机可能无法正常工作。

Your Database Name: This is the name of the MySQL database you wish to store the phpBB information in. This must already exist.

您的数据库名称 :这是您希望将phpBB信息存储在其中的MySQL数据库的名称。该名称必须已经存在。

Database Username: Your MySQL database login username

数据库用户名 :您MySQL数据库登录用户名

Database Password: Your MySQL database login password

数据库密码 :您MySQL数据库登录密码

Prefix for tables in database: Unless you are using a single database to hold more than one phpBB, you probably don't have a reason to change this, so leave it as phpbb_

数据库中表的前缀 :除非您使用单个数据库来保存多个phpBB,否则您可能没有理由更改它,因此将其保留为phpbb_

运行安装文件-第2部分 ( Running the Install File - Part 2 )

Admin Email Address: This is usually your e-mail address

管理员电子邮件地址:通常是您的电子邮件地址

Domain Name: Yoursite.com - it should pre-fill correctly

域名 :Yoursite.com-应该正确预填

Server Port:: This is usually 80 - it should pre-fill correctly

服务器端口::通常为80-应该正确预填充

Script path: This changes based upon if you put your forum in a subfolder or not - it should pre-fill correctly

脚本路径 :此更改取决于您是否将论坛放在子文件夹中-应该正确预填

The next three fields: Administrator Username, Administrator Password, and Administrator Password [ Confirm ] are used to setup the first account on the forum, the one you will login to administer the forum, make posts, etc. These can be anything you want, but be sure you remember the values.

接下来的三个字段:管理员用户名,管理员密码和管理员密码[确认]用于在论坛上设置第一个帐户,您将要登录的帐户用于管理论坛,发布帖子等。这些可以是您想要的任何内容,但请务必记住这些值。

Once you submit this information, if all went well you will be taken to a screen with a button that says "Finish Installation" -- Click the button.

提交此信息后,如果一切顺利,您将进入一个带有“完成安装”按钮的屏幕-单击该按钮。

整理起来 ( Finishing Up )

Now when you go to you www.yoursite.com (or yoursite.com/forum, or wherever you choose to install your forum) you will see a message saying "Please ensure both the install/ and contrib/ directories are deleted". You need to FTP into your site again and find these folders. Just delete the entire folders and all of their contents.

现在,当您访问www.yoursite.com(或yoursite.com/forum,或选择安装论坛的任何地方)时,您将看到一条消息,提示“请确保同时删除install /和contrib /目录”。 您需要再次通过FTP进入站点并找到这些文件夹。 只需删除整个文件夹及其所有内容。

Your forum should now be functional! To get started using it, log in with the username & password that you created when you ran the install file. At the bottom of the page, you should see a link that says "Go to Administration Panel". This will let you perform Admin options such as adding new forums, changing the forum name, etc. Your account also ​lets you post just like a normal user.

您的论坛现在应该可以运行了! 要开始使用它,请使用运行安装文件时创建的用户名和密码登录。 在页面底部,您应该看到一个标题为“转到管理面板”的链接。 这将使您可以执行管理选项,例如添加新论坛,更改论坛名称等。您的帐户也可以像普通用户一样发布。

翻译自: https://www.thoughtco.com/install-phpbb-on-your-website-2694022

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值