Share
Explore

Install LAMP Cents OS 7/8

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

sudo dnf -y updatesudo dnf update
2. Install Apache:
sudo yum -y install httpd
3. Jalankan Apache Server:
sudo systemctl start httpd.servicesudo systemctl enable httpd.service
4. Tambahkan dan Cek Repository untuk MySQL:
rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpmsudo 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 mysqldsudo 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.