熱搜:win11繞過硬件限制安裝 一鍵重裝Win10系統(tǒng) 最干凈的u盤啟動盤 真正純凈版的win7系統(tǒng)
時間:2015-12-08 15:26:07 作者:zhijie 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20151208/63214.html 手機查看 評論 反饋
CentOS6.5系統(tǒng)中LAMP是yum的一種常用環(huán)境,在CentOS6.5系統(tǒng)中的yum安裝LAMP的方法也是很簡單的,下面就來介紹一下CentOS6.5系統(tǒng)中的yum如何安裝LAMP,一起來看一下。
1、安裝源
rpm -Uvh https://mirrors.yun-idc.com/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh https://rpms.famillecollet.com/enterprise/remi-release-6.rpm
2、更新并安裝基本庫
yum -y update
yum -y install gcc gcc-c++ autoconf automake zlib zlib-devel openssl openssl-devel pcre pcre-devel
3、安裝Apache和mysql
yum --enablerepo=remi -y install mysql mysql-server mysql-devel httpd httpd-devel
chkconfig httpd on
chkconfig mysqld on
service mysqld start
mysql安全設置
mysql_secure_installation
mysql -u root -p 輸入密碼
建立你要用數(shù)據庫。。。
發(fā)表評論
共0條
評論就這些咯,讓大家也知道你的獨特見解
立即評論以上留言僅代表用戶個人觀點,不代表系統(tǒng)之家立場