20 Ocak 2021 11:58

Muslu Y.

CentOS

Centos 7 üzerinde Apache2, PHP 7.1 ve MariaDB 10 nasıl kurulur?

Anasayfa

CentOS

Centos 7 üzerinde Apache2, PHP 7.1 ve MariaDB 10 n...

 

PHP 7.1

yum install yum-utils -y
 
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
 
yum-config-manager --enable remi-php71
 
yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysql -y
   
Apache/Httpd

NOT: httpd PHP kurulumu ile birlikte gelmektedir.
yum install httpd -y
 
systemctl enable httpd; systemctl start httpd
   
MariaDB 10

 
cat <<EOF | sudo tee -a /etc/yum.repos.d/MariaDB.repo
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
 
yum install MariaDB-server MariaDB-client -y
 
systemctl enable mariadb; systemctl start mariadb; systemctl status mariadb
   

CentOS

hakkında diğer konular

Makdos Bilişim Teknolojileri 2015 - 2025