Upgrade CentOS

To upgrade all of your system software as well as their dependencies to the latest version, use this command: # yum update

Extend a partition with unallocated space CentOS 7

Assuming your disk is /dev/sda and standard RHEL/CentOS partitioning: Extend partition Enter p to print your initial partition table. Enter d (delete) followed by 2 to delete the existing partition definition (partition 1 is usually /boot and partition 2 is usually the root partition). Enter n (new) followed by p (primary) followed by 2 to … Read more

Sample screenrc config file

# Scrolling buff altscreen on caption always “%{= kG}%-Lw%{= kY} %n %t %{= kG}%+Lw%{= kc}” # Putty fix # term xterm termcapinfo xterm ti@:te@ defscrollback 100000 # Fancy vbell on vbell_msg “Wee~” hardstatus on hardstatus string ‘%{= kc}%H (%l) %-21=%{= .m}%D %d.%M.%Y %0c’ # Bind F11 and F12 (NOT F1 and F2) to previous and … Read more

How to disable IPv6 on CentOS / RHEL 7

Disable IPv6 in kernel module (requires reboot) 1. Edit /etc/default/grub and add ipv6.disable=1 in line GRUB_CMDLINE_LINUX, e.g.: # cat /etc/default/grub GRUB_TIMEOUT=5 GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT=”console” GRUB_CMDLINE_LINUX=”ipv6.disable=1 crashkernel=auto rhgb quiet” GRUB_DISABLE_RECOVERY=”true” 2. Regenerate a GRUB configuration file and overwrite existing one: # grub2-mkconfig -o /boot/grub2/grub.cfg 3. Restart system and verify no line “inet6” in “ip addr show” … Read more

Get the multi-row tab bar back in Firefox

github.com: MrOtherGuy/firefox-csshacks github.com: Aris-t2/CustomCSSforFx C:\Users\$user\AppData\Roaming\Comodo\IceDragon\Profiles\ $profile_name .default\chrome\userChrome.css C:\Users\$user\AppData\Roaming\Mozilla\Firefox\Profiles\$profile_name.default\chrome\ userChrome.css Sample userChrome.css for Firefox on Linux: sample userChrome.css for Firefox on Windows:

Cleaning up Network Connections in Windows 7 – Rename Local Area Network

Windows makes a mess of all the network adapters when installing NIC cards. Sometimes, you remove network adapters, and you’re left with something like “Local Area Network 3” that can’t be renamed back to “Local Area Network”. The problem is, Windows remembers the previous adapter (even if it is physically removed), so you can’t rename … Read more

ipconfig tunneling adapter

Both Teredo and ISATAP are mechanisms for IPv6 connectivity on IPv4-only networks. Since Windows 7 comes with IPv6 enabled, I wouldn’t be surprised if they were always on, just didn’t appear in ipconfig for some strange reason. (On one of my test VMs, the ISATAP adapter shows up, but not Teredo. Also strange.) ISATAP is … Read more