User Tools

Site Tools


fedora_redhat_centos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fedora_redhat_centos [2011/08/09 13:20]
k2patel
fedora_redhat_centos [2020/11/19 15:55] (current)
k2patel [Fedora, Redhat & CentOS]
Line 1: Line 1:
 ====== Fedora, Redhat & CentOS ====== ====== Fedora, Redhat & CentOS ======
 +
 +  * [[CentOS + Nginx + Backuppc4.x]]
 +  * [[ Default kernel ]]
  
 ==== My Repo ==== ==== My Repo ====
Line 6: Line 9:
   [K2 - Perl]   [K2 - Perl]
   name=K2 - Perl   name=K2 - Perl
-  baseurl=http://​108.35.22.7:​1111/​centos/​$releasever/​perl/​$basearch/​+  baseurl=http://​rpm.k2patel.in:​1111/​centos/​$releasever/​perl/​$basearch/​
   enabled=1   enabled=1
   gpgcheck=0   gpgcheck=0
Line 12: Line 15:
   [K2 - Update]   [K2 - Update]
   name=K2 - Update   name=K2 - Update
-  baseurl=http://​108.35.22.7:​1111/​centos/​$releasever/​updates/​$basearch/​+  baseurl=http://​rpm.k2patel.in:​1111/​centos/​$releasever/​updates/​$basearch/​
   enabled=1   enabled=1
   gpgcheck=0   gpgcheck=0
Line 34: Line 37:
  
 ==== Yum ==== ==== Yum ====
 +Little more advance information not needed on regular basis.
  
 //list all installed GPG Key// //list all installed GPG Key//
Line 58: Line 62:
 </​code>​ </​code>​
  
 +
 +==== How do I disable IPv6? ====
 +
 +Edit /​etc/​sysconfig/​network and set "​NETWORKING_IPV6"​ to "​no"​\\
 +For 5.4 and later, replace in /​etc/​modprobe.conf\\
 +<code bash>
 +alias ipv6 off
 +</​code>​
 +by
 +<code bash>
 +options ipv6 disable=1
 +</​code>​
 +== Alternative (which might be easier and works on any release with /​etc/​modprobe.d):​ ==
 +
 +<code txt>
 +# touch /​etc/​modprobe.d/​disable-ipv6.conf
 +# echo "​install ipv6 /​bin/​true"​ >> /​etc/​modprobe.d/​disable-ipv6.conf ​
 +</​code>​
 +
 +For CentOS 5.3 or older, add the following to /​etc/​modprobe.conf : 
 +<code bash>
 +alias ipv6 off
 +alias net-pf-10 off
 +</​code>​
 +Run /​sbin/​chkconfig ip6tables off to disable the IPv6 firewall, Reboot the system ​
 +
 +:!: With the 5.4 update symbol/ipv6 module dependency capabilities have been introduced; therefore, if IPv6 has been previously disabled as above an upgrade to the bonding driver in 5.4 will result in the bonding kernel module failing to load. For the module to load properly use instead:
 +
 +<code txt>
 +# touch /​etc/​modprobe.d/​disable-ipv6.conf
 +# echo "​options ipv6 disable=1"​ >> /​etc/​modprobe.d/​disable-ipv6.conf ​
 +</​code>​
 +
 +:!: Upstream employee Daniel Walsh recommends not disabling the ipv6 module but adding the following to /​etc/​sysctl.conf:​
 +<code bash>
 +net.ipv6.conf.all.disable_ipv6 = 1
 +</​code>​
 +
 +==== Package require for X Forwarding ====
 +Following packages requires for minimal OS install and X Forwarding.
 +
 +<code bash>
 +yum install xorg-x11-xauth xorg-x11-fonts-* xorg-x11-utils
 +</​code>​
 +
 +==== rc.local not working ====
 +Since RHEL 7, by default rc.local is disabled.\\
 +:!: check permission is 755 on /​etc/​rc.d/​rc.local
 +<code bash>
 +systemctl enable rc-local
 +systemctl start rc-local
 +</​code>​
  
fedora_redhat_centos.1312896043.txt.gz ยท Last modified: 2020/08/10 02:30 (external edit)