Centos 6 关闭 IPV6

 

  1. ipv6关闭方法 
  2.  
  3. 在/etc/modprobe.d/dist.conf结尾添加 
  4.  
  5. alias net-pf-10 off 
  6. alias ipv6 off 
  7. 可用vi等编辑器,也可以通过命令: 
  8. [root@localhost ~]# cat <<EOF>>/etc/modprobe.d/dist.conf 
  9. alias net-pf-10 off 
  10. alias ipv6 off 
  11. EOF

( ! ) 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
#TimeMemoryFunctionLocation
10.0019413760{main}( ).../index.php:0
20.09444718328Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09444718328Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.471712446344Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.472312470736Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.473112526064Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.473312554888require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.481412990296K2ControllerItem->execute( ).../k2.php:64
90.481412990296K2ControllerItem->display( ).../BaseController.php:710
100.491013715496K2ControllerItem->display( ).../item.php:78
110.491013715496K2ControllerItem->display( ).../controller.php:19
120.495114111864Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.502814132232K2ViewItem->display( ).../ViewController.php:102
140.606417090320K2ViewItem->display( ).../view.html.php:742
150.606417090320K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.609617270520include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) 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
#TimeMemoryFunctionLocation
10.0019413760{main}( ).../index.php:0
20.09444718328Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09444718328Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.471712446344Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.472312470736Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.473112526064Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.473312554888require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.481412990296K2ControllerItem->execute( ).../k2.php:64
90.481412990296K2ControllerItem->display( ).../BaseController.php:710
100.491013715496K2ControllerItem->display( ).../item.php:78
110.491013715496K2ControllerItem->display( ).../controller.php:19
120.495114111864Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.502814132232K2ViewItem->display( ).../ViewController.php:102
140.606417090320K2ViewItem->display( ).../view.html.php:742
150.606417090320K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.609617270520include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top