Added fixes in rpm install

This commit is contained in:
Alexey Berezhok
2024-05-01 23:32:47 +03:00
parent d221337bbd
commit 3eaf974c8f
4 changed files with 18 additions and 5 deletions

View File

@@ -689,6 +689,8 @@ dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$release.rpm
if [ "$mysql" = 'yes' ]; then
echo "[ * ] MariaDB"
dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/mysql/mariadb-$(arch).repo
mkdir /var/log/mysql/
chown mysql:mysql /var/log/mysql/
fi
# Enabling MySQL module
@@ -704,6 +706,8 @@ echo "[ * ] Hestia Control Panel"
dnf config-manager --add-repo https://dev.putey.net/bayrepo/hestiacp/raw/branch/master/install/rpm/hestia/hestia.repo
rpm --import https://repo.putey.net/repo/gpgkeys/repo.putey.net.pub
check_result $? "rpm import putey.net GPG key failed"
mkdir /var/cache/hestia-nginx/
chown admin:admin /var/cache/hestia-nginx/
# Installing PostgreSQL repo
if [ "$postgresql" = 'yes' ]; then