LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   linux installation date in machine (https://www.linuxquestions.org/questions/linux-newbie-8/linux-installation-date-in-machine-839937/)

salimshahzad 10-23-2010 03:44 AM

linux installation date in machine
 
dear sirs

hello good day, how and where to find the linux installation date in machine, is there are any logs,file, date time stamp.

let us say centos 5.x or 4.x fedora if talk about

kind regards

jschiwal 10-23-2010 03:54 AM

The date of the /etc/issue file will probably indicate the installation date. It most likely hasn't been updated.

martinbc 10-23-2010 03:55 AM

Hi

You could try looking at this posted yesterday http://www.linuxquestions.org/questi...-my-os-839726/

Martin

repo 10-23-2010 04:02 AM

try
Code:

# rpm -qi basesystem
Kind regards

salimshahzad 10-23-2010 04:15 AM

hello sir, thanks quick response, many options there and little confusing, i try to follow and get the resutls

see results, does not return date
=======================================================================
# lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.3 (Tikanga)
Release: 5.3
Codename: Tikanga
=======================================================================

see results below also
# uname -a
Linux tmsrvr1.tmsa.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

====================================================================
then below give me return date
tune2fs -l /dev/root | grep created
Filesystem created: Sat Oct 9 14:10:16 2010
====================================================================

then below give me return date
# rpm -iq basesystem
Name : basesystem Relocations: (not relocatable)
Version : 8.0 Vendor: Red Hat, Inc.
Release : 5.1.1 Build Date: Wed 12 Jul 2006 10:08:04 AM AST
Install Date: Sat 09 Oct 2010 02:15:04 PM AST Build Host: ls20-bc2-14.build.redhat.com
Group : System Environment/Base Source RPM: basesystem-8.0-5.1.1.src.rpm
Size : 0 License: public domain
Signature : DSA/SHA1, Thu 18 Jan 2007 06:33:57 PM AST, Key ID 5326810137017186
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The skeleton package which defines a simple Red Hat Linux system.
Description :
Basesystem defines the components of a basic Red Hat Linux system (for
example, the package installation order to use during bootstrapping).
Basesystem should be the first package installed on a system, and it
should never be removed.

repo 10-23-2010 04:21 AM

So the system is installed at
Quote:

Sat 09 Oct 2010
Quote:

# uname -a
Linux tmsrvr1.tmsa.com 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
will give you the release date of the kernel.


kind regards


All times are GMT -5. The time now is 07:59 AM.