So installing flarum was a pain in the ass for the first few days as I am an ubun00b. Which is why I am sharing this method with the rest of the community. I am a monkey and this is for monkeys who need to explain everything, just like me.
FLARUM INSTALLATION BETA6 ON A FRESH VPS W/ UBUNTU 14.04 (compatible with 16.04.1 LTS also)
go ssh root@ip and enter your pass
now issue the following command
This will start installing Flarum and all dependencies with a single click. The script was updated by @webeindustry many thanks!
Thanks for the installation script, it's neat. It will prompt you to enter mysql pass and whatnot so just set it up. On the example.com screen put domain.com (where "domain.com" is your url).
The script installs flarum in home/root/flarum folder, so if you want to enter it and install extensions, you'd go
AND NOW EXECUTE THE QUERY OF YOUR EXTENSION, so for example if I want to install the users list extension, i'd do
composer require avatar4eg/flarum-ext-users-list
while being inside the flarum folder. After that the extension should appear under the admin cp. Rinse and repeat for every extension on the list.
Mail verification
if you have issues and can't send verification emails to your users i recommend you looking at the first post here. it helped me a lot and i was able to set it up with ease. Just follow the OP's steps and you're good. Don't get confused about the rest of the discussion, you don't need anything of that. Gmail properly authenticates my vps and the mail doesn't end in trash folder.
EXTENSIONS CRASHED MY WEBSITE
Note that some extensions are still incompatible with BETA v6, which is why you need to manually delete them from flarum/vendor folder. This will disable them and make your part of the webpage accessible again. I use FileZilla to access and/or edit files on my VPS ?
CLOSING
I'd like to thank the devs for making flarum, it's a neat piece of software, super fast and responsive and I am using it in production and my community is absolutely loving it.