Share
Explore

Install LAMP Cents OS 7/8

KL
Kurolf Last
Update yum (CentOS 7) / dnf (CentOS 8):
sudo yum -y update
sudo yum upgrade

sudo dnf -y update
sudo dnf update

2. Install Apache:
sudo yum -y install httpd

3. Jalankan Apache Server:
sudo systemctl start httpd.service
sudo systemctl enable httpd.service

4. Tambahkan dan Cek Repository untuk MySQL:
rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
sudo yum repolist all |grep mysql | grep enabled

5. Install MySQL:
sudo yum --disablerepo=AppStream install -y mysql-community-server

6. Jalankan MySQL:
sudo systemctl start mysqld
sudo systemctl enable mysqld

7.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.