Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
5
Help us understand the problem. What is going on with this article?

More than 3 years have passed since last update.

@osktak

【Debian 8 Jessie】IPv6を無効化する

この記事は、下記の記事を構成している記事のひとつです。
さくらのVPS と Debian 8 Jessie で独自ドメインのWebサイトを立ち上げる手順

・さくらのVPS(プラン512)
・Debian 8 Jessie(さくらのVPS カスタムインストール)
の環境を前提にしています。

IPv6を無効化する設定

[hoge]$
sudo vi /etc/sysctl.conf 

最終行に追記します。

/etc/sysctl.conf
# IPv6を無効化
net.ipv6.conf.all.disable_ipv6 = 1

設定を即時反映する

[hoge]$
sudo sysctl -p
net.ipv6.conf.all.disable_ipv6 = 1

下記のコマンドで確認します。

[hoge]$
sudo ifconfig
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
5
Help us understand the problem. What is going on with this article?