2010-06-20 126 views

回答

1

發佈與Apache HTML文件的最簡單方法是將它們置於/home/your-user-name-please-do-replace-me/public_html,確保您的安裝apache,然後啓動apache。如何在重新啓動後啓動apache,see this forum post on Ubuntu Forums

當你的Apache運行起來,找出你的服務器的IP地址(http://whatismyipaddress.com/是此非常方便),然後你的文件將可以訪問來自:http://you-ip-address-whatever/~your-user-name-please-do-replace-me

你總是可以使用的服務,如http://www.dyndns.com/使你不必一直使用你的IP地址。

1

一旦安裝了apache,你應該會發現你可以將內容放到/ usr/www或/ usr/share/www的目錄中,並且apache會提供它。您可能還需要啓動Apache,我不知道Ubuntu的命令,但在Fedora 12,它是:

service httpd start 
相關問題