How to disable IPV6 on centos 6.x
- font size decrease font size increase font size
The following procedure worked for me.
1. Add the following lines in the files listed below:
% vi /etc/modprobe.d/modprobe.conf
options ipv6 disable=1
alias net-pf-10 off
alias ipv6 off
install ipv6 /bin/true
% vi /etc/sysconfig/network
NETWORKING_IPV6=no
IPV6INIT=no
% vi /etc/sysconfig/network-scripts/ifcfg-ethx (x=0, 1, 2 …)
IPV6INIT=no
2. Disable ip6tables service
chkconfig ip6tables off
3. Reboot your system
init 6 or reboot
---
There is a step 4 at the website which mentions to rmmod ivp6, but I didn't need to do that.
Referenced:
http://mikent.wordpress.com/2012/02/04/how-to-disable-ipv6-on-redhat-6-x/
Last modified onSunday, 14 October 2012 04:07
( ! ) 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.0020 | 415368 | {main}( ) | .../index.php:0 |
2 | 0.0969 | 4720512 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0969 | 4720512 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5038 | 12448728 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5049 | 12473120 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5061 | 12528448 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5065 | 12557272 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5180 | 12992680 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5180 | 12992680 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5318 | 13717880 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5318 | 13717880 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5380 | 14114248 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5401 | 14134616 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6326 | 17072704 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6326 | 17072704 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6360 | 17252904 | 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 1698 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.0020 | 415368 | {main}( ) | .../index.php:0 |
2 | 0.0969 | 4720512 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0969 | 4720512 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.5038 | 12448728 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.5049 | 12473120 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.5061 | 12528448 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.5065 | 12557272 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.5180 | 12992680 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.5180 | 12992680 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.5318 | 13717880 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.5318 | 13717880 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.5380 | 14114248 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.5401 | 14134616 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.6326 | 17072704 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.6326 | 17072704 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.6360 | 17252904 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |