- Edited
EDIT:
Don't listen to the old me, and go to the better solution.
I know how to use Docker
You can download it from hub.docker.com here: https://hub.docker.com/r/nadi106/flarum .
If you're feeling lazy, just copy and paste: sudo docker run -d -p 80:80 nadi106/flarum:0.1.0-beta.8
.
I have no idea what is a Docker
- Read about Docker, it's quite cool.
- Install docker:
sudo apt install docker.io
- Run the following command:
sudo docker run -d -p 80:80 nadi106/flarum:0.1.0-beta.8
Please explain...
Docker is used to run software packages called containers. Containers are isolated from each other and bundle their own application, tools, libraries and configuration files; they can communicate with each other through well-defined channels. All containers are run by a single operating-system kernel and are thus more lightweight than virtual machines. Containers are created from images that specify their precise contents. Images are often created by combining and modifying standard images downloaded from public repositories.
Enough Wikipedia for now, lets understand the command:
sudo docker run
will take an image (the one I created) and run it as a container.
-d
will run the container in detached mode (meaning it will run in the background).
-p 80:80
will bind port 80 of the container to you machines port 80. If port 80 of your machine is taken, use another one.
nadi106/flarum:0.1.0-beta.8
is the docker image that will be downloaded from hub.docker.com.
Still having trouble?
Comment below, I'll be around.
Links
GitHub: https://github.com/nadi106/flarum-docker
Docker Hub: https://hub.docker.com/r/nadi106/flarum