Letβs the docker compose file first.
| |
Here comes a relavant php.conf.ini file:
Letβs the docker compose file first.
| |
Here comes a relavant php.conf.ini file:
Here I assume you already have your own cert file: filename.ovpn. π
Modify its file extension to a conf file like so:
| |
Move the file inside /etc/openvpn directory like so:
| |
OpenVPN client service name would be openvpn@filename.
Well, you might already know what to do to launch the service.
| |
-i or --interactive: Keep STDIN open even if not attached-t or --tty: Allocate a pseudo-TTY--rm: Automatically remove the container when it exits--name: Assign a name to the container-d or --detach: Run container in background and print container IDAliases: docker container run, docker run
| |
-a or --all: Show all containers (default shows just running)Aliases: docker container ls, docker container list, docker container ps, docker ps
This post shows how to setup a standard LAMP stack on CentOS 7.
For the latest version of phpMyAdmin:
For MariaDB:
For Apache:
For PHP:
Firstly, install nginx on the server.
Edit the nginx config file then.
Edit the file like this:
| |
If you are not going to use a domain name, a public ip address would also work instead of domain.com π
Find the location section in the file and replace it with: