Howto disable IPv6 on Centos 6.3 or Redhat 6.3 RHEL
- font size decrease font size increase font size
- Print Email
Howto disable IPv6 on Centos 6.3 or Redhat 6.3 RHEL
1. Check IPv6 on your Centos or RHEL Server
[root@Centos6 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:55:52:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.112/24 brd 192.168.0.255 scope global eth0
inet6 fe80::20c:29ff:fe55:5241/64 scope link
valid_lft forever preferred_lft forever
[root@Centos6 ~]#
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:55:52:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.112/24 brd 192.168.0.255 scope global eth0
inet6 fe80::20c:29ff:fe55:5241/64 scope link
valid_lft forever preferred_lft forever
[root@Centos6 ~]#
2. Disabe ipv6 on your server
[root@Centos6 ~]# vi /etc/modprobe.d/disable-ipv6.conf
install ipv6 /bin/true
install ipv6 /bin/true
[root@Centos6 ~]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=Centos6.3
GATEWAY=192.168.0.1
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=Centos6.3
GATEWAY=192.168.0.1
[root@Centos6 ~]# echo “net.ipv6.conf.all.disable_ipv6 = 1″ >> /etc/sysctl.conf
[root@Centos6 ~]# init 6
3. Check your IP Address on your server after reboot
[root@Centos6 ~]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:55:52:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.112/24 brd 192.168.0.255 scope global eth0
[root@Centos6 ~]#
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:0c:29:55:52:41 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.112/24 brd 192.168.0.255 scope global eth0
[root@Centos6 ~]#
That’s all. Thanks for using IThelpblog.com.
Last modified onSunday, 10 February 2013 23:42
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0003 | 413848 | {main}( ) | .../index.php:0 |
2 | 0.1040 | 4718448 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1040 | 4718448 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5359 | 12446488 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5369 | 12470928 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5380 | 12526256 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5384 | 12555080 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5494 | 12990488 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5494 | 12990488 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5756 | 13715688 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5756 | 13715688 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5821 | 14112056 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.6553 | 14132424 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.8746 | 17112864 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.8746 | 17112864 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.8772 | 17293064 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 2132 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0003 | 413848 | {main}( ) | .../index.php:0 |
2 | 0.1040 | 4718448 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1040 | 4718448 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5359 | 12446488 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5369 | 12470928 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5380 | 12526256 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5384 | 12555080 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5494 | 12990488 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5494 | 12990488 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5756 | 13715688 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5756 | 13715688 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5821 | 14112056 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.6553 | 14132424 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.8746 | 17112864 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.8746 | 17112864 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.8772 | 17293064 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |