Install LAMP Cents OS 7/8

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 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
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
) instead.