相关疑难解决方法(0)

如何在 Ubuntu 14.04 中禁用 IPv6?

我正在使用 Ubuntu 14.04。我已经完成了以下操作来禁用ipv6

我已经打开/etc/sysctl.conf使用gedit并将以下几行粘贴到sysctl.conf.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1 
Run Code Online (Sandbox Code Playgroud)

但是当我使用以下命令检查它时,

$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
Run Code Online (Sandbox Code Playgroud)

I am getting result as '0'( i.e still Enabled). Please help me to disable ipv6, so that I can use hadoop.

I followed instructions from this link.

ipv6 14.04

135
推荐指数
2
解决办法
34万
查看次数

IPv6 问题 sudo apt-get 更新/升级

我目前正在使用 Ubuntu 16.04 Beta 2,每次我尝试通过sudo apt-get update或升级槽在家更新时,sudo apt-get upgrade我都不会得到任何反馈。即使安装任何东西都会有相同的结果。它只会“挂断” 0% while fetching data

$ sudo apt-get update
[sudo] password for niclas: 
0% [Connecting to archive.ubuntu.com (2001:67c:1560:8001::11)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::1b)]
Run Code Online (Sandbox Code Playgroud)

我不知道如何解决这个问题。我已经尝试过ping6 archive.ubuntu.com100% 丢包,而只是 ping 不会有任何丢失。

我也将 DNS 服务器(IPv4 和 IPv6)更改为 Google 的无解决方案。

upgrade updates apt networking dns

32
推荐指数
1
解决办法
4万
查看次数

what is the default content of /etc/apt/sources.list in Ubuntu 18.04 LTS (Bionic Beaver)

Where can I find the default content of /etc/apt/sources.list in Ubuntu 18.04 LTS (Bionic Beaver)

cat /etc/apt/sources.list shows

# deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ bionic main restricted universe
deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse restricted universe main #Added by software-properties
# deb-src http://in.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the …

software-center updates update-manager apt software-sources

8
推荐指数
1
解决办法
5万
查看次数