ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Breakdown of what is installed and running in RHEL

    IT Discussion
    rhel
    2
    7
    550
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wirestyle22W
      wirestyle22
      last edited by

      I'm going through the process of fully breaking down RHEL 5, 6 and 7 VM's. This includes scripts, cron jobs, installed packages, etc. I want it to be as granular as possible while still being readable. Is there something I can install to achieve this or should I just be using the typical tools and breaking it down piece by piece?

      1 Reply Last reply Reply Quote 1
      • DustinB3403D
        DustinB3403
        last edited by DustinB3403

        Use rpm -qa > installed.log which will generate a complete list of things installed.

        1 Reply Last reply Reply Quote 1
        • DustinB3403D
          DustinB3403
          last edited by

          Use systemctl | more > running.log to see everything that is running. (CentOS7 and newer)

          1 Reply Last reply Reply Quote 1
          • DustinB3403D
            DustinB3403
            last edited by

            For Centos6 and older you'd use service --status-all > running.log

            1 Reply Last reply Reply Quote 1
            • DustinB3403D
              DustinB3403
              last edited by

              As for cron jobs, you'd have to look at the individual users on the system as each of them can have their own cron job(s).

              Since you can easily find each user on the system, you'd use crontab -l -u <username> to print whatever is in their cron files.

              wirestyle22W 1 Reply Last reply Reply Quote 1
              • wirestyle22W
                wirestyle22 @DustinB3403
                last edited by

                @DustinB3403 Appreciated

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @wirestyle22
                  last edited by

                  @wirestyle22 said in Breakdown of what is installed and running in RHEL:

                  @DustinB3403 Appreciated

                  You're welcome.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post