doujiaci7976 2014-04-10 01:51
浏览 27
已采纳

在服务器上安装linux [关闭]

I have a desktop and I want to install linux on it and use it as a server. I believe I dont need to install a complete linux distro cause I dont need the user interface, I can command the server using ssh in another computer and tell my web server to install apache, mysql...

I want my webserver not to consume CPU with GUI or mouse or keyboard... I want my linux distro to only usage the resources needed to run the webserver.

Before you ask why I want to do this I will explain myself: I am using AWS for some time and it's amazing how they provide a cloud where I install a linux image and I can control it using SSH from my home! Their server is probably not running any interface, probably there is not even a screen there. It's just a CPU running my web server and listening to SSH to do as I say. There is no need to consume resources having a linux distro with gui and listening to keyboard and mouse events!

  • 写回答

1条回答 默认 最新

  • dongliqin6939 2014-04-10 01:59
    关注

    Many linux distributions do not require you to install a GUI. Debian and Ubuntu both have this capability to name just a couple. If you install Ubuntu's server version, or uncheck the Desktop environment and check SSH Server in Debian, you'll be able to manage your Linux server like you're managing your AWS instance.

    You need linux installed or running off a live CD if you're going to use it as a server. If you don't want to overwrite your desktop installation, you could always use a virtual machine. VirtualBox is a good virtualization software for Windows.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 MATLAB实现圆柱体容器内球形颗粒堆积
  • ¥15 python如何将动态的多个子列表,拼接后进行集合的交集
  • ¥20 vitis-ai量化基于pytorch框架下的yolov5模型
  • ¥15 如何实现H5在QQ平台上的二次分享卡片效果?
  • ¥15 python爬取bilibili校园招聘网站
  • ¥30 求解达问题(有红包)
  • ¥15 请解包一个pak文件
  • ¥15 不同系统编译兼容问题
  • ¥100 三相直流充电模块对数字电源芯片在物理上它必须具备哪些功能和性能?
  • ¥30 数字电源对DSP芯片的具体要求