最近在碰網頁套件,一開始是在win上架設apache + mysql + php 時用的是appserv
不過除了 appserv 可以無痛的架設這個環境,另外我覺得不錯的是 xampp
在台灣好像比較多人用appserv,但在國外則比較偏好xampp
xampp 也有 for Linux,目前我成功的在 ubuntu 7.10 上
可以下載這個tar檔
並在此tar檔所在的目錄下以下的指令:
sudo tar xvfz xampp-linux-1.6.5a.tar.gz /opt
要啟動 xampp
sudo /opt/lampp/lampp start
進階 lampp 的參數表START AND STOP PARAMETERS Parameter Description start Starts XAMPP.
stop Stops XAMPP.
restart Stops and starts XAMPP.
startapache Starts only the Apache.
startssl Starts the Apache SSL support. This command activates the SSL support
permanently, e.g. if you restarts XAMPP in the future SSL will stay activated.
startmysql Starts only the MySQL database.
startftp Starts the ProFTPD server. Via FTP you can upload files for your web server
(user "nobody", password "lampp"). This command activates the ProFTPD
permanently, e.g. if you restarts XAMPP in the future FTP will stay activated.
stopapache Stops the Apache.
stopssl Stops the Apache SSL support. This command deactivates the SSL support
permanently, e.g. if you restarts XAMPP in the future SSL will stay deactivated.
stopmysql Stops the MySQL database.
stopftp Stops the ProFTPD server. This command deactivates the ProFTPD
permanently, e.g. if you restarts XAMPP in the future FTP will stay
deactivated.
security Starts a small security check programm.
另外重要的檔案位置如下:
/opt/lampp/bin/ The XAMPP commands home. /opt/lampp/bin/mysql calls for example the MySQL monitor.
/opt/lampp/htdocs/ The Apache DocumentRoot directory.
/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.cnf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file.
- Jan 13 Sun 2008 12:25
apache+mysql+php on ubuntu
close
全站熱搜
留言列表
發表留言