日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢(xún)
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問(wèn)題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營(yíng)銷(xiāo)解決方案
Linux系統(tǒng)中禁用IPV6

IPV6這個(gè)協(xié)議暫時(shí)我們還用不到。而且開(kāi)啟該協(xié)議有時(shí)對(duì)系統(tǒng)運(yùn)行有一定的影響,一些網(wǎng)卡還會(huì)因?yàn)镮Pv6出現(xiàn)系統(tǒng)未響應(yīng),假死等情況,本篇文章重點(diǎn)為大家講解一下Linux系統(tǒng)中禁用IPV6具體方法。

站在用戶的角度思考問(wèn)題,與客戶深入溝通,找到鹽湖網(wǎng)站設(shè)計(jì)與鹽湖網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶體驗(yàn)好的作品,建站類(lèi)型包括:網(wǎng)站設(shè)計(jì)、成都網(wǎng)站設(shè)計(jì)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、申請(qǐng)域名、雅安服務(wù)器托管、企業(yè)郵箱。業(yè)務(wù)覆蓋鹽湖地區(qū)。

更改/etc/sysctl.conf配置文件

[root@Jaking vsftpd]# vim /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
                                             
[root@Jaking vsftpd]# ifconfig
# IPV6 字段 inet6 fe80::250:56ff:fe22:db62
ens33: flags=4163  mtu 1500
       inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
       inet6 fe80::250:56ff:fe22:db62  prefixlen 64  scopeid 0x20
       ether 00:50:56:22:db:62  txqueuelen 1000  (Ethernet)
       RX packets 11717  bytes 4355183 (4.1 MiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 6943  bytes 2011730 (1.9 MiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
       inet 127.0.0.1  netmask 255.0.0.0
       inet6 ::1  prefixlen 128  scopeid 0x10
       loop  txqueuelen 1  (Local Loopback)
       RX packets 112  bytes 9492 (9.2 KiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 112  bytes 9492 (9.2 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@Jaking vsftpd]# sysctl -p  #讓配置文件立即生效
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
[root@Jaking vsftpd]# ifconfig
# IPV6 字段已經(jīng)消失
ens33: flags=4163  mtu 1500
       inet 192.168.10.11  netmask 255.255.255.0  broadcast 192.168.10.255
       ether 00:50:56:22:db:62  txqueuelen 1000  (Ethernet)
       RX packets 11747  bytes 4357703 (4.1 MiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 6961  bytes 2014592 (1.9 MiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
       inet 127.0.0.1  netmask 255.0.0.0
       loop  txqueuelen 1  (Local Loopback)
       RX packets 112  bytes 9492 (9.2 KiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 112  bytes 9492 (9.2 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

新聞名稱(chēng):Linux系統(tǒng)中禁用IPV6
文章起源:http://www.5511xx.com/article/ccoeccg.html