Ubuntu ~ 架站@0@

架設是用Apache 2 + MySQL + PHP

詳細教學在這邊~~
http://justfor1221.pixnet.net/blog/post/19455507

我是看他的教學弄得~~~~找好久才找到的~~~ 一開始還找到國外的~~~光第一步驟就做不來了XD

先裝apache2
sudo apt-get install apache2

裝php
sudo apt-get install php5 libapache2-mod-php5 php5-mysql

裝mysql
sudo apt-get install mysql-server mysql-client phpmyadmin

這樣就有~

Apache2~~~讓人家可以連到自己電腦
PHP~~~~~跑php........
MySQL~~~~~~~資料庫~~~步驟中phpmyadmin也裝了


可是弄網站一定要有FTP service..........不然怎上傳網頁檔XD

所以我又去找ftp相關東西..........找了一堆亂78遭~~~~~~最後找到了這個....

http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=20347

安裝proftp
sudo apt-get install proftpd

裝了有可以連~~~我也試過~~~可是我要連到/var/www/ 資料夾底下呀.......網頁root在那裡面說

不會設定= =...

找好久找到這個........很熟悉的GUI介面....一下就解決我的問題了XD

http://ubuntuforums.org/showthread.php?t=79588

指令
sudo apt-get install proftpd gproftpd

安裝完會在上面的選單出現 ~~~ Applications->System Tools->GADMIN-PROFTPD

進入這GUI介面不是打指令設定~~~總算用好了= =...........
Photobucket

最後就是試試看放網站~~~~在匯入SQL碼~

測試PHP+MySQL是否跑的正常~~~~~結果~~~成功了~~~~~~~~感動~~~~~我少說弄了4小時~~~哭哭
Photobucket

1 則留言:

  1. Download Audio Books, iPod And Digital Audio Books Talking Books [url=http://free-audiobook-download.com/]Free Audiobook Downloads[/url].

    - Rhode Island Blues (unabridged) Sophia is torn between her delight in her freedom and a desire for the family ties

    - Best Of Jim Norton Vol. 7 (opieandAnthony) It's Volume 7 of Jim Norton's finest moments

    - Breaking Dawn: The Twilight Saga Book 4 (unabridged) To be irrevocably in love with a vampire is both fantasy and nightmare, woven into a dangerously heightened reality for Bella Swan

    - Changelings: Twins Of Petaybee Book 1 (unabridged) Yana and Sean are beside themselves with joy over the arrival of their twins Ronan and Murel

    - A Leadership Series For Successful Living (unabridged) This highly praised leadership series demonstrates timeless lessons on leadership, success, personal development, and self-growth

    回覆刪除