# ssh root@server_ip<\/pre>\nYou can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n
# lsb_release -a<\/pre>\nYou should get this output:<\/p>\n
Distributor ID: Ubuntu\r\nDescription: Ubuntu 16.04.1 LTS\r\nRelease: 16.04\r\nCodename: xenial<\/pre>\n<\/span>2. UPDATE THE SYSTEM<\/span><\/h2>\nMake sure your server is fully up to date using:<\/p>\n
# apt update && apt upgrade<\/pre>\n<\/span>3. INSTALL REQUIRED PHP DEPENDENCIES<\/span><\/h2>\nInstall a much needed dependencies so your PHP based forum can connect to the respective MySQL database:<\/p>\n
# apt install php-mysql<\/pre>\n<\/span>4. INSTALL MYBB<\/span><\/h2>\nNow navigate to the html<\/strong> directory on your server.<\/p>\n# cd \/var\/www\/html\/<\/pre>\nDownload the latest MyBB version which at the moment of writing this tutorial it is 1.8.7<\/strong>.<\/p>\n# wget https:\/\/resources.mybb.com\/downloads\/mybb_1807.zip<\/pre>\nUnzip the package:<\/p>\n
# unzip mybb_1807.zip<\/pre>\nCreate a directory for your forum:<\/p>\n
# mkdir mybb<\/pre>\nSetup the correct file ownership to your Apache web server.<\/p>\n
# chown www-data: -R \/var\/www\/html\/mybb\/<\/pre>\nDelete the zip file, enter the newly created directory and move the needed files from the Upload directory<\/p>\n
# rm mybb_1807.zip\r\n\r\n# cd mybb\/\r\n\r\n# mv Upload\/* .<\/pre>\n