Install LAMP Cents OS 7/8

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