1. 程式人生 > >LAMP架構學習

LAMP架構學習

post nbsp mar eight scrip script bsp span ted

mysq安裝步驟

cd /usr/local/src/

wget

tar zxvf

mv … /usr/local/mysql

useradd mysql :創建mysql用戶

mkdir /data/:創建mysql數據存儲目錄

./script/mysql_install_db —user=mysql datadir=/data/mysql

//加入系統開機自啟動

chkconfig -add mysql

Chkconfig -list//查看開機啟動有哪些

l

LAMP架構學習