惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
博客园 - 司徒正美
Last Week in AI
Last Week in AI
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
博客园_首页
Jina AI
Jina AI
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hackread – Cybersecurity News, Data Breaches, AI and More
J
Java Code Geeks
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
Vercel News
Vercel News
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
B
Blog
Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - Shark Xu

我的英雄梦和家国情怀——写于2021年国庆前夕 幻方算法 自己制作的粉碎机批处理程序 android sdk manager 假如不能从官方下载或者很慢,可以参照下面的网址 HttpModule生命周期示意图 Windows 2012 安装 .net framework 3.5 在Windows 2008/2008 R2 上配置IIS 7.0/7.5 故障转移集群 11G RAC 中 OCR 及Voting Disk 相关操作 RHEL 6 或者 Oracle Linux 6, 不关机识别新添加的scsi硬盘 在Window下安装Oracle 12C Cloud Control Agent 如何修改 EM12c 中 SYSMAN 用户的密码? 在Oracle Linux Server release 6.4下配置ocfs2文件系统 whoami 和 Who am i 手动升级11.2.0.1的rac数据库到11.2.0.4 oracle 11G rac 11.2.0.1 打补丁9413827 oracle 11g 使用物化视图远程增量刷新数据 ORACLE 11.2.0.4 OCR VOTING DISK 模拟恢复场景 Oracle Enterprise Linux 6.4 下配置vncserver Oracle Enterprise Linux 6.4 下挂载ISCSI 设备
Ubuntu 16.10 server 相关
Shark Xu · 2017-02-26 · via 博客园 - Shark Xu

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

重启服务器

6)  apt 安装源

     修改/etc/apt/source.list

    deb http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted
deb http://mirrors.163.com/ubuntu/ precise universe
deb-src http://mirrors.163.com/ubuntu/ precise universe
deb http://mirrors.163.com/ubuntu/ precise-updates universe
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe
deb http://mirrors.163.com/ubuntu/ precise multiverse
deb-src http://mirrors.163.com/ubuntu/ precise multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

7) 关于网络代理

① 全局代理 setting-->NETWORK-->proxy

② 环境变量http_proxy ftp_proxy https_proxy

③ apt 下载源代理 设置/etc/apt/apt.conf       

Acquire::http::proxy "http://10.35.2.33:3128/";
Acquire::https::proxy "https://10.35.2.33:3128/";
Acquire::ftp::proxy "ftp://10.35.2.33:3128/";