Linux + Apache + MySQL + PHP 經典架構原始碼編譯安裝流程,含 yum 開發工具準備。
mount /dev/cdrom /mnt
cd /etc/yum.repos.d
mv rhel-debuginfo.repo rhel-debuginfo.repo.bak
vi local.repo
# 寫入 [Server] [VT] [Cluster] [ClusterStorage] 四個 repo 指向 /mnt
yum -y grouplist "Development Libraries" "Development Tools"
依序編譯安裝 Apache、MySQL、PHP,並設定啟動腳本、開機自動啟動。