Closed MichaelOv closed 3 months ago
Today i needed to install RHEL 9.3 with i-doit 29 Here is my history:
[root@localhost ~]# history
dnf install httpd
firewall-cmd --permanent --add-port=80/tcp
firewall-cmd --reload
systemctl enable --now httpd
dnf install httpd memcached unzip wget zip
dnf list php
dnf module list php
dnf module install php
dnf install php php-bcmath php-cli php-common php-curl php-gd php-json php-ldap php-mysqli php-pgsql php-soap php-xml php-zip
dnf install boost-program-options
dnf install mariadb-server
systemctl enable httpd.service
systemctl enable mariadb.service
systemctl enable memcached.service
systemctl start httpd.service
systemctl start mariadb.services ystemctl start memcached.service
systemctl start memcached.service
systemctl start mariadb.service
firewall-cmd --permanent --add-service=http
systemctl restart firewalld.service
vi /etc/php.d/i-doit.ini
systemctl restart httpd.service
vi /etc/httpd/conf.d/i-doit.conf
systemctl restart httpd.service
chown apache:apache -R /var/www/html
chcon -t httpd_sys_content_t "/var/www/html/" -R
chcon -t httpd_sys_rw_content_t "/var/www/html/" -R
mysql_secure_installation
mysql -uroot -p -e"SET GLOBAL innodb_fast_shutdown = 0"
sudo systemctl stop mariadb.service
sudo mv /var/lib/mysql/ib_logfile[01] /tmp
vi /etc/my.cnf.d/99-i-doit.cnf
systemctl start mariadb.service
cd /var/www/
cd html/
ll
ll -Z
wget ******idoit-29.zip.
sudo -u apache unzip idoit-29.zip
ll
vi /etc/php.d/i-doit.ini
systemctl restart httpd.service
vi /etc/php-fpm.d/i-doit.ini
systemctl restart httpd.service
systemctl start php-fpm
systemctl enable php-fpm httpd
vi /etc/httpd/conf.d/i-doit.conf
vi /etc/php.d/i-doit.ini
reboot
php -m
getenforce
setsebool httpd_can_network_connect_db 1
Sources:
https://kb.i-doit.com/de/installation/manuelle-installation/red-hat-enterprise-linux/index.html https://kb.i-doit.com/de/installation/manuelle-installation/red-hat-enterprise-linux/red-hat-enterprise-linux-8.6.html
https://kb.i-doit.com/en/installation/manual-installation/red-hat-enterprise-linux/index.html https://kb.i-doit.com/en/installation/manual-installation/red-hat-enterprise-linux/red-hat-enterprise-linux-8.6.html
A Customer told me which commands were needed to install RHEL 8.9 (Offline)
cd ~/Downloads/rpm/
sudo dnf install ./*.rpm
sudo systemctl enable httpd.service
sudo systemctl enable mariadb.service
sudo systemctl enable memcached.service
sudo systemctl enable php-fpm.service
sudo systemctl start httpd.service
sudo systemctl start mariadb.service
sudo systemctl start memcached.service
sudo systemctl start php-fpm.service
sudo firewall-cmd --permanent --add-service=http
sudo systemctl restart firewalld.service
cd ~/Downloads/config/
sudo cp etc_php.d_i-doit.ini /etc/php.d/i-doit.ini
sudo systemctl restart php-fpm.service
sudo cp etc_httpd_conf.d_i-doit.conf /etc/httpd/conf.d/i-doit.conf
sudo systemctl restart httpd.service
sudo chown apache:apache -R /var/www/html
sudo chcon -t httpd_sys_content_t "/var/www/html/" -R
sudo chcon -t httpd_sys_rw_content_t "/var/www/html/" -R
sudo mysql_secure_installation
sudo mysql -uroot -p -e"SET GLOBAL innodb_fast_shutdown = 0"
sudo systemctl stop mariadb.service
sudo mv /var/lib/mysql/ib_logfile0 /tmp
sudo cp etc_my.cnf.d_99-i-doit.cnf /etc/my.cnf.d/99-i-doit.cnf
sudo systemctl start mariadb.service
sudo setsebool -P httpd_can_network_connect_db 1
sudo mkdir /var/www/html/i-doit
cd ~/Downloads/i-doit/
sudo cp idoit-29.zip /var/www/html/i-doit/
cd /var/www/html/i-doit/
sudo unzip idoit-29.zip
sudo rm idoit-29.zip
sudo chown apache:apache -R .
sudo find . -type d -name \* -exec chmod 775 {} \;
sudo find . -type f -exec chmod 664 {} \;