Case: build fault tolerant souliton using linux servers and sync data between cluster members with glusterfs. solution: keepalived + HAProxy for VRRP and glusterfs to sync data. Install keepalived + haproxy keepalived.conf configuration example Script to check if haproxy is alive – /etc/keepalived/check_haproxy.sh: Sample of haproxy.cfg: Done. Now let`s configure glusterfs to sync data between […]
Category: Example Cases
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 […]
Enroll exotic servers to FreeIPA
Following procedure describe enrollment procedure to enroll Linux servers to FreeIPA. Most popular distributions have freeipa-client for them. this procedure designed for SLES, but similar concept should work with other distros. Preparation: Install SLES with following modules (or activate mentioned modules) Choose system role: minimal. Use XFS (or other you prefer. do not use btrfs). […]
FreeIPA in docker to auth your Linux servers in one place
Scenario: Customer have pack of Linux servers with local auth. Goal is to deploy FreeIPA cluster to authenticate and authorize users to access to Linux servers. Solution should be Dockerized. Solution: deploy 1 Master FreeIPA server and 2 replica FreeIPA servers in Docker containers. After that – enroll Linux servers to FreeIPA. Preparation: Use Ubuntu […]
Protect your WordPress-based web site from AI-bots
Scenario: Customer web-site hit hard by AI bots. Server run Apache. Only one virtual host present. Task is to protect service from AI-bots at the same time allow normal traffic. Configuration fragment of Apache server: Solution implementation steps: Implementation (following process for SLES. for other Linux distro it is pretty similar with minimal adjustments). Install […]
Case: revew firewall configuration
Case: Customer concerns about firewall configuration. Firewall implemented on Linux server. Firewall includes NAT. Discovery: During review of firewall configuration I discovered following – total number of lines in configuration are ~5500. Some rules grouped in groups (chains). Some groups have no rules in them. Many rules never have had traffic passing through them. Advice […]