从 Windows 机器连接到 Linux VPS 盒
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4162413/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Connecting to a Linux VPS box from Windows machine
提问by Paolo Broccardo
This may be a very noob question, but I have absolutely ZERO linux knowledge. Once thing I have noticed is that the VPS / Server hosting costs are usually always lower for linux boxes.
这可能是一个非常菜鸟的问题,但我的 linux 知识绝对为零。有一次我注意到,Linux 机器的 VPS/服务器托管成本通常较低。
So, what I'd like to know is, as a user on a Windows machine, could I purchase a Linux VPS box from my provider and connect to it, and if so, how?? I currently use remote desktop to connect to my Windows VPS boxes, so is there something similar I could use to connect from my WINDOWS box to the LINUX box?
所以,我想知道的是,作为 Windows 机器上的用户,我可以从我的提供商那里购买一个 Linux VPS 盒子并连接到它,如果是这样,如何?我目前使用远程桌面连接到我的 Windows VPS 盒子,那么是否有类似的东西可以用来从我的 WINDOWS 盒子连接到 LINUX 盒子?
My logic is telling me that you probably can only connect windows to windows and linux to linux, but with today's technology I'm probably wrong and there more than likely is a way.
我的逻辑告诉我,您可能只能将 Windows 连接到 Windows,将 linux 连接到 linux,但以今天的技术,我可能错了,而且很可能有一种方法。
Any info appreciated.
任何信息表示赞赏。
回答by Cahit
You can connect to a Linux VPS instance from Windows via a couple of different ways, but in all cases some familiarity with Linux and Linux shell (command line) will be necessary. Most Linux VPS installs are server-only and you use the command line to login and manage the server, including setting up the web server and database management. If you are more comfortable with the graphical desktop view, you can ask the VPS Host to install the desktop along with VNC service (which is an open source remote access utility, similar to Terminal Services in Windows). After that, you can connect to your VPS using the Windows VNC client, as if you're using the Remote Desktop Client in Windows.
您可以通过几种不同的方式从 Windows 连接到 Linux VPS 实例,但在所有情况下,都需要熟悉 Linux 和 Linux shell(命令行)。大多数 Linux VPS 安装仅用于服务器,您可以使用命令行登录和管理服务器,包括设置 Web 服务器和数据库管理。如果您更喜欢图形桌面视图,您可以要求 VPS 主机安装桌面以及 VNC 服务(这是一个开源远程访问实用程序,类似于 Windows 中的终端服务)。之后,您可以使用 Windows VNC 客户端连接到您的 VPS,就像您在 Windows 中使用远程桌面客户端一样。
The better approach for you may be to install VirtualBox and a Linux distribution as a virtual machine on your own PC, and spend some time getting acquainted with the O/S. See if that works for you and when you're comfortable with your local version, it's much easier to set up a Linux VPS and host a website.
对您来说更好的方法可能是在您自己的 PC 上安装 VirtualBox 和 Linux 发行版作为虚拟机,并花一些时间熟悉操作系统。看看这是否适合您,当您对本地版本感到满意时,设置 Linux VPS 和托管网站要容易得多。
回答by James Anderson
The simplest way is to install the "putty" terminal emulation.
最简单的方法是安装“putty”终端仿真。
If you want to invoke some graphical applicatiosn from the linux server then you will need an X terminal emulation. The simplest way to do this is to install "cygwin" and specifiy the X server options on install.
如果您想从 linux 服务器调用一些图形应用程序,那么您将需要一个 X 终端仿真。最简单的方法是安装“cygwin”并在安装时指定 X 服务器选项。