国产精品吹潮在线播放,日韩一区二区三区在线播放,啊级免费黄片视频,66av视频

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

更新時間:2024-02-20 00:07:58作者:佚名

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

一、安裝apache2.2.4
#cd /usr/ports/www/apache22/
#make install clean


FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

安裝過程中,apache2.2.4依賴的包都將被一起安裝好,等待安裝完成....pkg_info查看 多出一行 apache-2.2.4_2 說明安裝成功 二、安裝Mysql-5.1.17#cd /usr/ports/databases/mysql51-server
#make install clean


FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

安裝過程也將會安裝依賴包..等待安裝完成....

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

pkg_info查看 多出一行mysql-server-5.1.20說明安裝成功..... 四、安裝php和php-extensions1.安裝php5.2.1
#cd /usr/ports/lang/php5
#make install clean


FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

鉤選CLI CGI APACHE SUHOSG FASTCGI FATHINFOOK..等待安裝完成....

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

pkg_info查看 多出一行 php5-5.2.3_1說明安裝成功.... 2.安裝php5-extensions#cd/usr/ports/lang/php5-extensions#make install claen

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

_________________________________________________________

彈出安裝選項菜單

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

這個是安裝一些php的常用模塊,必須再選擇下列幾個常用的項目:CTYPE、EXIF、GD、ICONV、IMAP、PCRE、SESSION、ZLIB。 SESSION 尤其重要
如果不熟悉可全選 OK...
安裝過程也將會安裝依賴包..等待安裝完成.... 什么???安裝出錯???不好意思那不是我的錯.那是你平時燒香燒得少.呵呵..重新安裝pnp5-extensions#cd /usr/ports/lang/php5-extensions
#make config
#make WITHOUT_X11=yes install claen
如還有錯誤請#/usr/ports/databases/firebird-server#make install claen/usr/ports/databases/firebird2-server/make installcd /usr/ports/databases/php5-pdo_mysqlmake installcd /usr/ports/databases/php5-pdo_odbc
make installmkdir /tmp/eaccelerator
make installmake WITHOUT_X11=yes install claen 等待安裝完成....FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadminpkg_info查看是否安裝成功.......__________________________________________________這是老愛出問題我也不知道怎么回事。。 接下來我們來配置啟動 #ee /etc/rc.confFreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin 加上2行mysql_enable="YES"apache_enable="YES"存盤退出.. 執(zhí)行#/usr/local/etc/rc.d/apache22 start #啟動apache2.2

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

安裝成功后 netstat -a 查看端口 多出一行.http說明啟動成功

用IE打開你FreeBSD的IP



3.配置mysql

以my.cnf作為以后mysql設(shè)定檔

/usr/local/bin/mysql_install_db

#whereis mysql_install_db #查看命令檔的執(zhí)行路徑

修改用戶組權(quán)限

#chown -R mysql:mysql /var/db/mysql
#chown -R mysql:mysql /usr/local/share/mysql

#chmod 744 /usr/local/share/mysql/mysql.server

#/usr/local/bin/mysql_install_db #初始化數(shù)據(jù)庫

cp /usr/local/share/mysql/mysql.server /usr/local/etc/rc.d/mysql-server.sh #創(chuàng)建啟動腳本

/usr/local/etc/rc.d/mysql-server.sh start #啟動mysql

FreeBSD6.2上搭建apache2.2+mysql5.11+php5+phpmyadmin

本文標(biāo)簽: 多出  也將  安裝過程