files
- http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-5.0.23-01.noarch.rpm
- http://ftp.otrs.org/pub/otrs/itsm/bundle5/ITSM-latest.opm
setenforce 0
firewall-cmd --set-default-zone=trusted
#!/bin/bash -e | |
IFADDR="192.168.3.1/24" | |
if [[ ! ip link show docker0 ]]; then | |
ip link add docker0 type bridge | |
ip addr add "$IFADDR" dev docker0 | |
ip link set docker0 up | |
iptables -t nat -A POSTROUTING -s "$IFADDR" ! -d "$IFADDR" -j MASQUERADE | |
fi |
#!/bin/bash | |
# | |
# este script é interativo, ou seja, requer intervenção do usuário | |
# | |
# Não abrevie as informações nem utilize caracteres especiais incluindo | |
# letras acentuadas. | |
# | |
# Country Name (Código de país de 2 letras) | |
# State or Province Name (Estado, por extenso) | |
# Locality Name (Cidade, por extenso) |
#!/bin/sh | |
set -e | |
HOST_NAME="$(hostname)" | |
MONGO_HOST="127.0.0.1" | |
MONGO_PORT=27017 | |
MONGO_USER="admin" | |
MONGO_PASS="password" | |
MONGO_AUTHDB="admin" |
files
setenforce 0
firewall-cmd --set-default-zone=trusted
I've been using Fish shell for years which is great and all, but one thing that has got me frustrated is using it with .env
files.
When attempting to run source .env
in a project, I usually encounter this problem:
.env (line 2): Unsupported use of '='. In fish, please use 'set KEY value'.
from sourcing file .env
source: Error while reading file '.env'