Centos 7 web service install

rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*

yum -y install epel-release

yum -y install nano

yum -y install mariadb-server mariadb

systemctl start mariadb.service

systemctl enable mariadb.service

mysql_secure_installation

yum -y install httpd

systemctl start httpd.service

systemctl enable httpd.service

firewall-cmd --permanent --zone=public --add-service=http 

firewall-cmd --permanent --zone=public --add-service=https

firewall-cmd --reload

rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum -y install yum-utils

yum update

yum -y install php

4.2 Install PHP 7.0

yum-config-manager --enable remi-php70

yum -y install php php-opcache

4.3 Install PHP 7.1

yum-config-manager --enable remi-php71

yum -y install php php-opcache

4.4 Install PHP 7.2

yum-config-manager --enable remi-php72

yum -y install php php-opcache

4.5 Install PHP 7.3

yum-config-manager --enable remi-php73

yum -y install php php-opcache

systemctl restart httpd.service

yum search php

yum -y install php-mysqlnd php-pdo

yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel

systemctl restart httpd.service

yum -y install phpMyAdmin

systemctl restart  httpd.service

Makale Detayları

Makale Kodu :
6
Kategori:
Ekleme Tarihi:
2022-11-08 15:48:27
Görüntüleme :
3
Oylama (Oylar):
(0)