Archive for the tag 'Disable'

SBDavid

Disable IPv6 in RHEL5

Disable IPv6 in RHEL5

Unless your policy or network configuration requires it, disable IPv6.

To do so, prevent the kernel module from loading by adding the following line to
/etc/modprobe.conf

install ipv6 /bin/true

Next, add or change the following lines in /etc/sysconfig/network:

NETWORKING_IPV6=no
IPV6INIT=no
SBDavid

How do I disable IPv6?

How do I disable IPv6?

Redhat recommends not disabling the ipv6 module, as that can cause issues with SELinux and other components, but adding the following to /etc/sysctl.conf will disable IPv6.

net.ipv6.conf.all.disable_ipv6 = 1
SBDavid

Disable ipv6 on RHEL 4 and 5

Disable ipv6 on RHEL 4 and 5

Edit /etc/sysconfig/network and change

NETWORKING_IPV6=yes to
NETWORKING_IPV6=no

Edit /etc/modprobe.conf and add these lines (if they’re not in it):

alias net-pf-10 off
alias ipv6 off

Stop the ipv6tables service by typing:

service ip6tables stop

Disable the ipv6tables service by typing:

chkconfig ip6tables off

IPv6 will be disabled after the next reboot of the system.

How to disable news in SWsoft Plesk panel

Generally Plesk News frame can be closed with Close the News button in the bottom of the frame, and this frame will not be shown anymore in the next logins to Plesk interface.

The option to hide news is independent for every Plesk account and there are no option to close news server-wide for all accounts. If it is needed to close news for accounts without logging into panel, the changes like below may be done in Plesk database, for example the changes may be done by custom script which will be called using Even Manager feature in Plesk.

The examples below are for MySQL database engine.

To hide news for Plesk admin account you should login to MySQL with:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa

and run the queries:

mysql> INSERT INTO misc VALUES (’admin_news_dismissed’,3);

To hide news frame for Plesk client account (replace cl_id with an ID of needed Client, it can be known from from psa.clients table):

mysql> INSERT INTO cl_param VALUES (cl_id,’news_dismissed’,3);

To hide news frame for Plesk domain administrator account (replace dom_id with an ID of needed domain, it can be known from from psa.domains table):

mysql> INSERT INTO dom_param VALUES (dom_id,’news_dismissed’,3);

To hide news frame for Plesk mail account (replace mn_id with an ID of needed mail account, it can be known from from psa.mail table):

mysql> INSERT INTO mn_param VALUES (mn_id,’news_dismissed’,3);

The value 3 in above commands means that News up to Plesk 8.2 will be hidden.

Reference : http://parallels.com

SBDavid

How to Disable IPv6 in Apache Server

How to Disable IPv6 in Apache Server

If there is no reason to run Apache with IPv6 then disabling it is wasy. We need to make quick changes to the Listen directive.

By default, Apache will listen on all IPs, both IPv6 and IPv4. (Assuming your system has IPv6 support). This is controlled by the Listen directive:

Listen 80

Turn off IPv6 in Apache

To turn off IPv6 in Apache, just change the Listen directive to:

Listen 0.0.0.0:80

This will limit Apache to listening only to IPv4 connections. We can repeat this for port 443 if you want to stop Apache from listening for HTTPS on IPv6.

« Prev - Next »