Find the answer to your Linux question:
Results 1 to 8 of 8
Hi all, I think my cpanel Linux is red hat 4.1.2 = Code: cat /proc/version Linux version 2.6.32.21-grsec (root@havana.footholds.net) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #5 SMP Thu Jan ...
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8

    Red Hat / Git (newbie)

    Hi all,

    I think my cpanel Linux is red hat 4.1.2 =

    Code:
    cat /proc/version
    Linux version 2.6.32.21-grsec (root@havana.footholds.net) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #5 SMP Thu Jan 27 13:20:09 GMT 2011

    If so is this an old version of Linux?

    I want to install git version control system.

    I found instructions on a blog post titled "Getting Git for Your CentOS or Red Hat Server" =
    for installing Git on Red Hat or CentOS server (assuming you're using RHEL 5.x or CentOS 5.x)....

    Would this be no good for red hat 4.1.2?

    Thank you
    Last edited by Juc1; 09-06-2011 at 12:32 PM.

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Code:
    cat /etc/redhat-release
    The above will show you what version of RedHat you are running.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8
    Quote Originally Posted by Lazydog View Post
    Code:
    cat /etc/redhat-release
    The above will show you what version of RedHat you are running.
    Thanks but I get
    Code:
    No such file or directory
    =


    1.jpg

  4. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Are you running RH or some other OS based off of RH?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  5. #5
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8
    Quote Originally Posted by Lazydog View Post
    Are you running RH or some other OS based off of RH?
    Hi re my post #1, I thought my OS was red hat 4.1.2 but my host has now told me it is CentOS 5. I would like to be able to see this for myself in the command line but maybe due to being shared hosting it is not possible.

    Thanks

  6. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Where did you get the information that your OS is CentOS5?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  7. #7
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Another way would be to run the following command:
    Code:
    rpm -q centos-release

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  8. #8
    Just Joined!
    Join Date
    Sep 2011
    Posts
    8
    Quote Originally Posted by Lazydog View Post
    Another way would be to run the following command:
    Code:
    rpm -q centos-release
    Awesome, that one gives me the answer, thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...