首页 > 系统服务 > 详细

Ubuntu 16.10 server 相关

时间:2017-02-26 17:34:40      阅读:221      评论:0      收藏:0      [点我收藏+]

1)安装图形化界面

    sudo apt-get install xinit

    sudo apt-get install gnome

2)启用root账号

    ① sudo passwd root

    ② 修改/etc/gdm3/custom.conf       

[security]
DisallowTCP=false
AllowRoot=true
AllowRemoteRoot=true  

3)修改网卡地址

    

    ① 修改配置

      vi /etc/network/interfaces

# The primary network interface
auto ens33   # 可以到/proc/sys/net/ipv4/conf查看有哪些网卡
iface ens33 inet static
address 192.168.202.158
netmask 255.255.255.0
gateway 192.168.202.2
dns-nameserver 192.168.202.5
dns-search shark.com

② 重启networking服务

   systemctl restart networking

4)配置xmanager能远程图形界面登录

    修改/etc/gdm3/custom.conf       

[xdmcp]
Enable=true
Port=177

但是始终没有成功

5) 禁用IPV6

    配置/etc/sysctl.conf    在 /etc/sysctl.conf 增加下面几行,并重启。

 
#disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
 
重启服务器
 

Ubuntu 16.10 server 相关

原文:http://www.cnblogs.com/SharkXu/p/ubuntu1610.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!