http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html
Download files:
| 1. create a network with docker network create NETWORKNAME | |
| 2. Create letsencrypt directory for acme.json ie /docker/letsencrypt directory or somewhere else mkdir -p /docker/letsencrypt | |
| 3. I configured http -> https redirect | |
| # cat docker-compose.yml | |
| version: '3.3' | |
| services: | |
| traefik2: | |
| image: traefik |
| #!/usr/bin/env bash | |
| apt-get install -y libpcre3 libpcre3-dev libssl-dev unzip make \ | |
| libgoogle-perftools-dev google-perftools jq gcc zlib1g-dev | |
| mkdir /tmp/ngxbuild | |
| cd /tmp/ngxbuild | |
| ng_cookies=$(curl -s http://hg.nginx.org/nginx/tags|grep cookie|cut -f 2 -d '"'|tr -d '\n') | |
| latestNginx=$(curl --cookie ${ng_cookies} -s http://hg.nginx.org/nginx/tags|grep "^ *release-" | head -1 | cut -c 9-) | |
| echo "found: ${latestNginx}" | |
| latestNaxsi=$(curl -s https://api.github.com/repos/nbs-system/naxsi/releases | |
If you're trying to load a private repository with Composer/Laravel, we'll need to generate a GitHub Personal Access Token (similar to OAuth token) to access the repository during a composer install without entering credentials.
If you have used other Github packages from
{my-org}before, you may be able to skip this step.
Click Generate new token.
| # === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) === | |
| # | |
| # by Fotis Evangelou, developer of Engintron (engintron.com) | |
| # | |
| # ~ Updated September 2024 ~ | |
| # | |
| # | |
| # The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores. | |
| # If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage. | |
| # |
| [client] | |
| port = 3306 | |
| socket = /var/run/mysqld/mysqld.sock | |
| # This was formally known as [safe_mysqld]. Both versions are currently parsed. | |
| [mysqld_safe] | |
| socket = /var/run/mysqld/mysqld.sock | |
| nice = 0 | |
| syslog |
| --- | |
| - hosts: all | |
| vars: | |
| UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx' | |
| UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx' | |
| UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com | |
| ubuntu_common_deploy_user_name: deploy | |
| ubuntu_common_deploy_public_keys: | |
| - ~/.ssh/id_rsa.pub |
This guide gives you all the needed instructions to get a working Redis installation used as a Drupal Caching Backend. The following given commands assume that your server is running under a Debian/Ubuntu installation, using Apache2 as a webserver and that you have Drush installed.
In a terminal console, type the following command:
sudo apt-get install redis-server
Once installed, you can check if Redis is correctly installed and run by entering: