是什麼決定了一臺電腦能否成為網路伺服器?

如果你正在考慮建立一個網路伺服器,你需要一臺專門為這個目的而設計的計算機嗎?或者你能使用一種更普通的計算機嗎?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

是什麼決定了一臺電腦能否成為網路伺服器?

如果你正在考慮建立一個網路伺服器,你需要一臺專門為這個目的而設計的計算機嗎?或者你能使用一種更普通的計算機嗎?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

問題

超級使用者讀者VincentTheonardo想知道是什麼決定了一臺PC是否能夠成為一臺web伺服器:

I have some questi*** about using a computer as a web server. Why can certain computers act as a web server and what features make them able to do so? Are there any cases where a computer is unable to act as a web server?

是什麼決定了一臺電腦能否成為網路伺服器?

答案

超級使用者貢獻者davidgo為我們提供了答案:

Pretty much any computer can be used as a web server, provided it can connect to a network and run web server software. Since a web server can be quite simple and there are free and open source web servers available, in practice, any device can act as a web server.

The bigger problem is the networking side. In order for a system to act as a server, other machines need to be able to access it. If it is just for use in a LAN setup, there are no concerns. However, if it is for use with the wider Internet, then data needs to be routed to it. This requires either a static IP address associated with the server (or port-forwarded through a router) or an external service which can map a domain name/subdomain to a changing dynamic IP address.

For what it is worth, you can buy $10 computers that are capable of acting as a basic web server. Of course, while any device can act as a web server, the functionality of websites can vary hugely, and a cheap device (or slow connection) may not be able to keep up with the demand depending on what the specific website is.

Note that everything above talks about web servers, but the same can be said for pretty much any type of server.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

圖片來源:邁克·謝爾比(Flickr)

  • 發表於 2021-04-08 03:56
  • 閱讀 ( 31 )
  • 分類:網際網路

你可能感興趣的文章

你的生活100%免費和開源的完整指南

...源社群。其他人會更進一步,允許您匯出資料並在自己的伺服器上執行軟體。讓我們看看你的選擇。 ...

  • 發佈於 2021-03-13 18:00
  • 閲讀 ( 54 )

用谷歌表和usb攝像頭記錄你的家庭活動

... 此頁是您需要設定電子郵件伺服器設定的位置。Gmail是一種理想的電子郵件服務。它同時提供POP和IMAP功能,而且非常容易設定。 ...

  • 發佈於 2021-03-16 14:06
  • 閲讀 ( 47 )

為什麼即使只有一臺電腦也要使用路由器

...腦直接連線到ISP提供的調變解調器。畢竟,少就是多,為什麼還要引入不必要的額外硬體和電纜呢? ...

  • 發佈於 2021-03-17 17:29
  • 閲讀 ( 48 )

網路問題?7診斷技巧和簡單修復

...能不使用一個),確保你都獲得一個IP地址自動和獲得DNS伺服器地址自動檢查。對internetprotocolversion6重複這個過程,以確保那裡的一切都是自動的。 ...

  • 發佈於 2021-03-18 04:19
  • 閲讀 ( 59 )

為什麼您不再需要kvm交換機來進行多pc設定

...計算機,並且這些計算機每個只能有一個螢幕。您不能在伺服器環境中使用免費版本。 ...

  • 發佈於 2021-03-18 06:39
  • 閲讀 ( 38 )

誰發明了第一臺電腦?什麼時候?我們調查

第一臺計算機是什麼時候發明的?聽起來應該是一個簡單的問題來回答,對吧? ...

  • 發佈於 2021-03-21 18:22
  • 閲讀 ( 50 )

11個你需要vpn的原因和它是什麼

... VPN在您的計算機和可能位於數百個位置的伺服器之間提供加密連線,使您能夠繞過web瀏覽中基於位置的各種限制。 ...

  • 發佈於 2021-03-22 16:26
  • 閲讀 ( 57 )

什麼是windows域及其優點是什麼?

...是一個在業務環境中使用的受控計算機網路。至少有一個伺服器(稱為域控制器)負責其他裝置。這使得網路管理員(通常是IT人員)可以透過使用者、設定等來控制域中的計算機。 ...

  • 發佈於 2021-03-25 15:17
  • 閲讀 ( 58 )

mac os x之前:下一步是什麼?人們為什麼喜歡它?

...:“沒有下一步,我們早就完蛋了。”。“但我不知道會是什麼樣子,也不知道要花多長時間。” 與那些飽受不穩定困擾的單使用者Mac和DOS機器,以及功能強大但笨重且不友好的UNIX工作站相比,NeXTSTEP是對未來的一種體驗。 相...

  • 發佈於 2021-04-01 09:35
  • 閲讀 ( 53 )

android網路資訊:它是什麼以及如何使用它

...要的,因為它不需要任何解決方法,也不需要透過第三方伺服器傳送訊息。它在您的**和計算機之間建立安全連線。 注意:MessagesforWeb仍在推出,並不是每個人都可以使用。 這與谷歌的其他聊天應用有何不同? 這是你對谷歌的...

  • 發佈於 2021-04-05 06:56
  • 閲讀 ( 41 )
hdm9594
hdm9594

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦