Oempro v4.10.0 introduces new Docker Containers. Docker Container support makes Oempro installation quick and straightforward. Also, it makes Oempro scalable under heavy load.
To get started with Oempro v4.10.0+ installation, make sure that you have your MySQL server is ready. You will need an empty database and username/password for accessing the database.
We recommend Ubuntu 18.04 LTS Linux distribution for hosting Docker Containers and Oempro installation. You can get a fresh Ubuntu 18.04 LTS server on Amazon AWS, Google Cloud, Digital Ocean, Linode, or on any other hosting company quickly.
Once your Ubuntu 18.04 LTS server is ready, login to your server with SSH and switch to the “root” user.
Upload your Oempro v4.10.0+ zip file to the server and copy it to the /opt/ directory.
Install required packages:
apt install -y software-properties-common apt-utils iputils-ping telnet git unzip zip openssl vim wget debconf-utils cron supervisor mysql-client docker.io
As described on https://docs.docker.com/compose/install/, install Docker Composer. Download the latest stable version of Docker Composer by running this command:
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
Set the package executable:
chmod +x /usr/local/bin/docker-compose
Test the version. It should be 1.24 or higher:
Change directory to “/opt”:
Create a new directory:
Move the zip file to the oempro directory:
mv oemprovXXX.zip oempro/
Unzip the package:
Change directory permissions:
chmod -R 0777 data chmod -R 0777 system/storage/ chmod -R 0777 system/bootstrap/cache/
Execute the following command to run Oempro containers.
docker-compose pull docker-compose build docker-compose up -d
The first time you execute this command, it may take some time to build and run Oempro.
oempro_system container and run these commands:
docker exec -ti oempro_system bash cd /var/www/html/install/ php phing.phar -f install.xml
Enter the requested information. Once the system installation is completed, exit from the container.
Once Oempro containers are up and running, open your web browser, and type the domain (or IP address) of your server.
The Oempro installation page will be displayed. Please follow on-screen instructions to complete the installation.
Once the installation is completed, restart
supervisor processes on
docker exec -ti oempro_system bash supervisorctl restart all
docker exec -ti oempro_bounce bash supervisorctl restart all
docker exec -ti oempro_app bash supervisorctl restart all
Installation is completed. Now you can login to the admin area to start setting up your system.
Optionally, you can enable SSL certificate by following instructions here.
For any questions, do not hesitate to contact us via email@example.com.
- The article was helpful
- The article was not helpful