在Ubuntu Server中安裝apache

在Ubuntu Server中安裝apache並放入本身的網頁

1.下載apache。apache

sudo apt-get install apache2

2.打開FileZilla,進行遠程鏈接後,打開一個文件名爲www的文件的index文件夾,將本身的網頁上傳到這個文件夾中。瀏覽器

clipboard.png

3.在瀏覽器中輸入IP加上index文件的名字spa

clipboard.png

相關文章
相關標籤/搜索