Tag Archives: Redhat

How to uninstall NVidia driver from Linux

This only applies for drivers that have been installed using the .run file. ./NVidiaxxxx.run –uninstall Source: Red Hat Documentation which they deny access to except if you pay! Idiots! Advertisements

Posted in Linux | Tagged , , , | Leave a comment

How to quickly divide a file into smaller segments with 7zip on RedHat

I have a very large file ~ 1.7 TB that’s causing me some issues with its transfer over NFS. I use 7z to split it into into multiple smaller files and then transfer them: 7za -v900g -mx0 a MY_BIG_FILE_SPLITTED.7z /MY_BIG_FILE … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

How to change the hostname in RHEL7

At last, Red Hat has decided to act like other distros to change the hostname of the server in Red Hat Enterprise Linux 7. In older Red Hat releases, changing the hostname required modifying the¬† “/etc/sysconfig/network” configuration file and edit … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

How to get version of Redhat & Oracle Enterprise Linux

Oracle Enterprise Linux: more /etc/enterprise-release, example output: “Enterprise Linux Server release 5.5 (Carthage)” Redhat: more /etc/redhat-release

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

How to start the X server at boot with Redhat or Oracle Linux

vi /etc/inittab Edit your /etc/inittab file by replacing the line: id:3:initdefault: With this one: id:5:initdefault: and reboot Enjoy! Source: http://www.redhat.com/support/resources/faqs/rhl_general_faq/s1-xwin-q.html

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

How to get CPU Info of a Linux Machine

This worked with me in Redhat and Ubuntu-based distros: “less /proc/cpuinfo” you can get the number of processors easily if you don’t want to read a lot of text: “less /proc/cpuinfo¬†| grep processor”processor : 0processor : 1processor : 2processor : … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

How to change hostname in Redhat & Oracle Linux

As user “root” “vi /etc/sysconfig/network”, change HOSTNAME value to the new hostname “hostname NEW_HOST_NAME” to change it for the current sessions “vi /etc/hosts”, change the old value to point to the new hostname “service network restart” to restart the networking … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments