Enhancments

This commit is contained in:
Eliezer Croitoru 2024-08-27 01:18:50 +03:00
parent ad33a753f2
commit 179dcada66
2 changed files with 15 additions and 1 deletions

View File

@ -19,6 +19,8 @@ dnf -y module install mariadb:10.11
dnf -y module reset ruby dnf -y module reset ruby
dnf -y module install ruby:3.1 dnf -y module install ruby:3.1
dnf install -y ruby ruby-devel rubygem-mysql2
dnf install -y $( cat lamp-packages.txt ) dnf install -y $( cat lamp-packages.txt )
true | pecl install redis true | pecl install redis
@ -28,6 +30,18 @@ cat <<EOF > /etc/php.d/99-redis.ini
extension=redis.so extension=redis.so
EOF EOF
mkdir /etc/httpd/sites-enabled
mkdir /etc/httpd/sites-available
egrep "^Include\ /etc/apache2/sites-enabled/\*\.conf" /etc/httpd/conf/httpd.conf
if [ "$?" -gt "0" ]
then
echo "Include /etc/apache2/sites-enabled/*.conf" >> /etc/httpd/conf/httpd.conf
fi
sed -i -e "s@AllowOverride\ none@AllowOverride all@g" \
-e "s@AllowOverride\ None@AllowOverride All@g" /etc/httpd/conf/httpd.conf
firewall-cmd --add-service=http firewall-cmd --add-service=http
firewall-cmd --add-service=https firewall-cmd --add-service=https
firewall-cmd --reload firewall-cmd --reload

View File

@ -18,4 +18,4 @@ curl
jq jq
mariadb-server mariadb-server
mariadb mariadb
mod_ssl