因为要安装CUDA驱动,CUDA驱动不能X Windows下安装,所以搜索关闭X Windows的方法。 现在总结如下: root用户使用init 3,切换到命令行模式; root用户使用init 5,切换到X Windows图形界面模式