At the time of writing, phpBB is the most popular open-source bulletin board software on the web. In this article, I will show you how to install phpBB on a AKLWEB HOST server based on the One-Click LEMP application.<\/p>\n
I assume that you have deployed a One-Click LEMP AKLWEB HOST server instance from scratch and have logged in as root. Non-root users will need to use the\u00a0 The MySQL root password is saved on the app VPS in\u00a0 Next, use the credentials displayed on the screen to log into MySQL.<\/p>\n Configure a new MySQL database with the following commands. You may replace the database name\u00a0 At the time of writing, the latest version of phpBB is 3.1.4. Download and unzip the latest phpBB package to a user-friendly directory with the following commands.<\/p>\n Before the installation, you need to modify the default access permissions of\u00a0 Visit\u00a0 Click the tab “INSTALL” to initialize the installation wizard. Follow the on-screen instructions to configure phpBB.<\/p>\n On the step of “Requirements”, you will find that the default settings of AKLWEB HOST One-Click LEMP meets the requirements of installation compatibility, all you need to do is to click the button “Start install”.<\/p>\n On the step of “Database settings”, you need to input database parameters as specified below.<\/p>\n Remember to replace the database name\u00a0 On the page of “Administrator details”, input the administrator’s username, password and email address.<\/p>\n On the page of “Advanced settings”, just click the button “Proceed to next step”, as these settings can be altered later.<\/p>\n On the page of “Final stage”, click the button “login”, you will be logged in as administrator. You can choose whether or not to send statistical information.<\/p>\n On the “Welcome” page, the phpBB program will warn you to perform some security cleansing checks.<\/p>\n From your terminal window, delete the\u00a0 Modify the access permissions to the file\u00a0 Refresh your phpBB page in the browser, the security warning will disappear.<\/p>\n That’s it. You have installed phpBB onto your AKLWEB HOST VPS.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[242,245],"manual_kb_tag":[500],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3016"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=3016"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3016\/revisions"}],"predecessor-version":[{"id":3017,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3016\/revisions\/3017"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=3016"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3016"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=3016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}sudo<\/code>\u00a0command.<\/p>\n
Step one: Create a database<\/h3>\n
\/root\/.my.cnf<\/code>. Use the following command to print the password to your terminal.<\/p>\n
cat \/root\/.my.cnf\r\n<\/code><\/pre>\n
mysql -u root -p\r\n<\/code><\/pre>\n
phpbb<\/code>, the username\u00a0
myusername<\/code>, and the password\u00a0
mypassword<\/code>\u00a0with your own ones.<\/p>\n
create database phpbb;\r\ncreate user 'myusername'@'localhost' identified by 'mypassword';\r\ngrant all privileges on phpbb.* to 'myusername'@'localhost' identified by 'mypassword' with grant option;\r\nflush privileges;\r\nexit;\r\n<\/code><\/pre>\n
Step two: Download the phpBB package<\/h3>\n
wget http:\/\/www.phpbb.com\/files\/release\/phpBB-3.1.4.tar.bz2\r\ntar -jxvf phpBB-3.1.4.tar.bz2\r\nmv phpBB3\/ \/usr\/share\/nginx\/html\/\r\ncd \/usr\/share\/nginx\/html\/\r\nmv phpBB3\/ forum\/\r\n<\/code><\/pre>\n
Step three: Configure and install phpBB from your browser<\/h3>\n
config.php<\/code>\u00a0to 777, or you will encounter a permission error.<\/p>\n
chmod 0777 \/usr\/share\/nginx\/html\/forum\/config.php\r\n<\/code><\/pre>\n
http:\/\/[SERVER_IP]\/forum\/<\/code>\u00a0in your browser. Substitute the\u00a0
[SERVER_IP]<\/code>\u00a0with the IP address of your VPS.<\/p>\n
phpbb<\/code>, the database username\u00a0
myusername<\/code>, the database password\u00a0
mypassword<\/code>, and the table prefix\u00a0
phpbb_<\/code>\u00a0with your own ones. Leave other fields blank.<\/p>\n
Database type: MySQL with MySQLi Extension\r\nDatabase name: phpbb\r\nDatabase username: myusername\r\nDatabase password: mypassword\r\nDatabase table prefix: phpbb_\r\n<\/code><\/pre>\n
Step four: Final security checks<\/h3>\n
install<\/code>\u00a0directory.<\/p>\n
rm -rf \/usr\/share\/nginx\/html\/forum\/install\/\r\n<\/code><\/pre>\n
config.php<\/code>.<\/p>\n
chmod 0640 \/usr\/share\/nginx\/html\/forum\/config.php\r\n<\/code><\/pre>\n