Running phpBB Bulletin Board/Forum in Docker on Ubuntu Server



Running phpBB Bulletin Board/Forum in Docker on Ubuntu Server

Running phpBB Bulletin Board/Forum in Docker on Ubuntu Server

#phpBB #BulletinBoard #Forum #Docker

Full steps can be found at https://i12bretro.github.io/tutorials/0455.html

——————————————————————–
Installing Docker
——————————————————————–
   01. Log into the Linux host and run the following commands in a terminal window
         # update software respositories
         sudo apt update
         # install available software updates
         sudo apt upgrade -y
         # install prerequisites
         sudo apt install apt-transport-https ca-certificates curl gnupg2 software-properties-common -y
         # add docker gpg key
         curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
         # add docker apt repository
         sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”
         # install docker
         sudo apt install docker-ce docker-compose containerd.io -y
         # add the current user to the docker group
         sudo usermod -aG docker $USER
         # reauthenticate for the new group membership to take effect
         su – $USER
 
——————————————————————–
Running phpBB Container
——————————————————————–
   01. Continue with the following commands in a terminal window
         # create working directories
         mkdir /home/$USER/docker/phpBB -p && mkdir /home/$USER/docker/mariadb -p
         # set owner of working directories
         sudo chown “$USER”:”$USER” /home/”$USER”/docker -R
         # create phpbbnet network
         docker network create phpbbnet
         # run the mariadb docker container
         docker run –name mariadb -e MYSQL_ROOT_PASSWORD=r00tp@$$ -e MYSQL_USER=phpbb_rw -e MYSQL_PASSWORD=phpBBp@$$ -e MYSQL_DATABASE=phpbb -v /home/$USER/docker/mariadb:/var/lib/mysql –network phpbbnet -d mariadb:latest
         # run the phpbb docker container
         docker run -d –name phpBB -p 8080:8080 -e PHPBB_DATABASE_USER=phpbb_rw -e PHPBB_DATABASE_PASSWORD=phpBBp@$$ -e PHPBB_DATABASE_NAME=phpbb –network phpbbnet bitnami/phpbb
   02. Open a web browser and navigate to http://DNSorIP:8080
   03. Welcome to phpBB running in a Docker container
   04. Click the Login link in the top left corner
   05. Login with username user and password bitnami
   06. Click the Administration Control Panel link at the very bottom of the page
   07. Re-authenticate with the user/bitnami credentials
   08. Click Manager Users in the left navigation menu
   09. Search for user
   10. Scroll down and enter and confirm a new password
   11. Click the Submit button
 
Source:  https://hub.docker.com/r/bitnami/phpbb
 

### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro