Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":3016,"date":"2020-01-09T21:25:30","date_gmt":"2020-01-09T21:25:30","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=3016"},"modified":"2020-01-09T21:25:30","modified_gmt":"2020-01-09T21:25:30","slug":"install-phpbb-on-the-one-click-lemp-application","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/install-phpbb-on-the-one-click-lemp-application\/","title":{"rendered":"Install phpBB on the One-Click LEMP Application"},"content":{"rendered":"

Introduction<\/h3>\n

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

Prerequisites<\/h3>\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\u00a0sudo<\/code>\u00a0command.<\/p>\n

Step one: Create a database<\/h3>\n

The MySQL root password is saved on the app VPS in\u00a0\/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

Next, use the credentials displayed on the screen to log into MySQL.<\/p>\n

mysql -u root -p\r\n<\/code><\/pre>\n

Configure a new MySQL database with the following commands. You may replace the database name\u00a0phpbb<\/code>, the username\u00a0myusername<\/code>, and the password\u00a0mypassword<\/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

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

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

Before the installation, you need to modify the default access permissions of\u00a0config.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

Visit\u00a0http:\/\/[SERVER_IP]\/forum\/<\/code>\u00a0in your browser. Substitute the\u00a0[SERVER_IP]<\/code>\u00a0with the IP address of your VPS.<\/p>\n

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\u00a0phpbb<\/code>, the database username\u00a0myusername<\/code>, the database password\u00a0mypassword<\/code>, and the table prefix\u00a0phpbb_<\/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

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

Step four: Final security checks<\/h3>\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\u00a0install<\/code>\u00a0directory.<\/p>\n

rm -rf \/usr\/share\/nginx\/html\/forum\/install\/\r\n<\/code><\/pre>\n

Modify the access permissions to the file\u00a0config.php<\/code>.<\/p>\n

chmod 0640 \/usr\/share\/nginx\/html\/forum\/config.php\r\n<\/code><\/pre>\n

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}]}}