This repository has been archived by the owner on Dec 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
99 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
readonly OS='centos' | ||
readonly OS_SUPPORTED_VERSION="8.0" | ||
readonly OS_VERSION_FILE="/etc/centos-release" | ||
readonly FPM_WWW_POOL="/etc/php-fpm.d/www.conf" | ||
readonly FPM_SERVICE="php-fpm" | ||
readonly WWW_USER="nginx" | ||
readonly WWW_GROUP="nginx" | ||
readonly WWW_USER_HOME="/var/lib/nginx" | ||
readonly GNUPG_HOME='/var/lib/nginx/.gnupg' | ||
readonly CRONTAB_DIR='/var/spool/cron/' | ||
readonly REMI_PHP_URL='http://rpms.remirepo.net/enterprise/remi-release-8.rpm' | ||
readonly REMI_PHP_VERSION='remi-7.3' | ||
readonly PHP_EXT_DIR='/etc/php.d' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
php-intl | ||
php-gd | ||
php-mysql | ||
php-pear | ||
php-devel | ||
php-mbstring | ||
php-fpm | ||
php-ldap | ||
gcc | ||
gpgme-devel | ||
git | ||
policycoreutils-python-utils | ||
nginx | ||
unzip | ||
wget | ||
certbot | ||
pinentry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
check_firewall() { | ||
systemctl is-active firewalld | ||
} | ||
|
||
setup_firewall() { | ||
local zone=public | ||
local services=(http https) | ||
banner "Opening ports 80 and 443 on firewall" | ||
|
||
if check_firewall; then | ||
for i in "${services[@]}"; do | ||
firewall-cmd --permanent --zone="$zone" --add-service="$i" | ||
done | ||
enable_service firewalld | ||
else | ||
echo "Firewalld is not active." | ||
fi | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
centos7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
centos | ||
centos7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
centos7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters