Category: Linux

Catch and forward traffic destined for specific host. Multiple destinations

This example for two destinations (could be more) Install socat Add iptables rules to firewalld (works only with IP – replace hostname with associated IP) check results create systemd template content of template We’ll override example.com per instance using systemctl edit. content of socat@12345 another content of socat@12346 start and enable both services check service […]

WordPress in docker deployment

Case: customer want to have WordPress in docker container. Solution: below. 🙂 Folder structure: control script content (control_wp.sh) docker compose file nginx_conf/nginx.conf example: nginx_conf/nginx.template1 example: nginx_conf/nginx.template2 example: search for “your_domain.ca” and replace with your values. nginx_conf/options-ssl-nginx.conf example: activate_server.sh content: execute following script to finalize installation Go to https://your-server-domain-name and follow on-screen instaructions to configure wordpress server. Enjoy […]

Open Journal Systems (OJS) in Docker

Scenario: customer want to have OJS in docker containers. Solution: official OJS docker container + Mariadb container deployed on Ubuntu 24.04 Solution. this solution specifically designed for OJS v3_3_0-8. upgrade from it to 3_3_0-9 working fine, but for different versions there could be some differences. Update OS and install necesary packages install docker GPG key […]

Custom-build Docker for Autodesk license server

Scenario: Customer want to have Licensing server in docker for simplify of update/upgrade process and simplify license update process. Solution: Custom-build Docker container. Solution. Create dirs for project Drop your license file to Dockerfile to build container content of docker-compose.yml Content of control script (/opt/lic/control_lic.sh) content of files/entypoint.sh build container with start server with done. […]

Custom-build Docker for Matlab Licensing server

Scenario: Customer want to have Licensing server in docker for simplify of update/upgrade process and simplify license update process. Solution: Custom-build Docker container. Solution. Create dirs for project Replace license file with correct one: /opt/lic_matlab/license/license.dat  Create shell-script to control docker and other files: content of control_lic.sh Content of docker-compose.yml content of Dockerfile content of files/entrypoint.sh Build […]

Full LAMP stack in docker

Scenario: Customer want to have entire LAMP stack in docker for better scalability, simple management, updates, etc. Solution: This will install standard LAMP stack + phpMyAdmin + HTTPS with Let`s encrypt. (this specific configuration created for OJS 3.5. Modify it for your needs) Solution directory structure: Docker-compose content: Content of php/Dockerfile: content of php/vhost.conf (Apache […]