install.sh /opt/squid/conf/quid.conf content example start container done
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 […]
Catch and forward traffic destined for specific host
Install socat Create IPtables NAT rules Test socat in foregroud (160.129.8.154 – is IP of redcap.vumc.org) make it permanent/create service content of socat-redcap-proxy.service Enable it enjoy
Autorun script in 5 min after reboot
Create file. Fill it. enable it and reboot server This will start script in 5 min after server reboot as “user” user
Zabbix proxy as Docker container
Goal is to have a zabbix proxy in docker container running under Ubuntu. Solution: adjust following script to your needs. run it and get zabbix proxy in container. simple! Script:
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 […]