1.052
Bearbeitungen
(Die Seite wurde neu angelegt: „### Vorbereitungen ### ## Feste IP vi /etc/sysconfig/network-scripts/ifcfg-ens18 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=no NAME=ens18 UUID=0590fcc0-a435-4d8a-8bf9-2953e8845536 DEVICE=ens18 ONBOOT=yes IPV6_DISABLED=yes IPADDR=10.16.0.60 PREFIX=24 GATEWAY=10.16.0.1 DNS1=10.16.0.3 DNS2=10.16.0.4 IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no ### Anforderungen/Abhängigkeiten ### ## wget und tar…“) |
KKeine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
Vorbereitungen | |||
Feste IP | |||
vi /etc/sysconfig/network-scripts/ifcfg-ens18 | vi /etc/sysconfig/network-scripts/ifcfg-ens18 | ||
Zeile 24: | Zeile 24: | ||
IPV6_FAILURE_FATAL=no | IPV6_FAILURE_FATAL=no | ||
Anforderungen/Abhängigkeiten | |||
wget und tar | |||
dnf install wget tar | dnf install wget tar | ||
PHP 8.0 und Apache / https://tecadmin.net/how-to-install-php-8-on-centos-rhel-8/ | |||
dnf install epel-release | dnf install epel-release | ||
dnf update | dnf update | ||
Zeile 36: | Zeile 36: | ||
dnf install httpd php php-cli php-common php-mysqlnd php-intl php-gd php-pecl-zip | dnf install httpd php php-cli php-common php-mysqlnd php-intl php-gd php-pecl-zip | ||
Starten | |||
systemctl enable --now httpd | systemctl enable --now httpd | ||
Firewall konfigurieren | |||
firewall-cmd --permanent --add-service=http | firewall-cmd --permanent --add-service=http | ||
firewall-cmd --reload | firewall-cmd --reload | ||
SELinux / php-fpm erlauben Dateien anzulegen | |||
chcon -R -t httpd_sys_rw_content_t /var/www/html | chcon -R -t httpd_sys_rw_content_t /var/www/html | ||
setsebool httpd_can_network_connect 1 | setsebool httpd_can_network_connect 1 | ||
MySQL | |||
dnf install mysql-server | dnf install mysql-server | ||
Starten | |||
systemctl enable --now mysqld | systemctl enable --now mysqld | ||
Sichern | |||
mysql_secure_installation | mysql_secure_installation | ||
Zeile 64: | Zeile 64: | ||
php.ini anpassen / https://docs.joomla.org/J3.x:Installing_Joomla/de#Empfohlene_Einstellungen_in_der_PHP.ini | |||
vi /etc/php.ini | vi /etc/php.ini | ||
Zeile 77: | Zeile 77: | ||
Joomla installieren / https://docs.joomla.org/J3.x:Installing_Joomla/de | |||
Herunterladen | |||
https://downloads.joomla.org/de/latest | https://downloads.joomla.org/de/latest | ||
wget https://downloads.joomla.org/de/cms/joomla4/4-2-5/Joomla_4-2-5-Stable-Full_Package.tar.gz | wget https://downloads.joomla.org/de/cms/joomla4/4-2-5/Joomla_4-2-5-Stable-Full_Package.tar.gz | ||
Entpacken | |||
tar -xf Joomla_4-2-5-Stable-Full_Package.tar.gz -C /var/www/html/ | tar -xf Joomla_4-2-5-Stable-Full_Package.tar.gz -C /var/www/html/ | ||
Berechtigung setzen | |||
chown apache: -R /var/www/html | chown apache: -R /var/www/html | ||
Datenbank erstellen / https://docs.joomla.org/Creating_a_Database_for_Joomla!/de | |||
mysql -uroot -p | mysql -uroot -p | ||
CREATE DATABASE db_joomla; | CREATE DATABASE db_joomla; | ||
Zeile 97: | Zeile 97: | ||
EXIT; | EXIT; | ||
Konfiguration starten | |||
https://<Server-IP> | https://<Server-IP> |