Get CentOS/Red Hat Original System Install Date

Get CentOS/Red Hat Original System Install Date

Get CentOS/Red Hat Original System Install Date

This can be helpful to determine the age of your Linux Server, and is by far the best command i have found

rpm -qi basesystem

rpm -qi basesystem output showing the original install date

as you can see the original install date is Tuesday May 24th 2011.

If you have a custom Kernel, or something goofy, you may not get the above listed info, there is another way:

tune2fs -l /dev/xvda | grep created showing the filesystem creation date

That’s it!

If you are interested in a hosted CentOS or RedHat Server visit www.zwiegnet.com/go today!

Related guides: Patching and Installing Updates on CentOS | Developing Applications for RHEL/CentOS

Leave a Reply

Your email address will not be published. Required fields are marked *