Reviewing System Information for CentOS 7

Issues related to applications and software problems
Post Reply
justindwalker87
Posts: 24
Joined: 2020/02/05 17:00:47

Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/12 04:12:34

Hello, I'm in class and for our assignment we are to open the terminal and type hardinfo. I do so and "Command Not Found" comes up. IDK What the endgame is here but the next step is to click Summary, click Operating System, Processor, etc.... Anyone able to help me out?

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/12 07:53:26

Perhaps you misheard. It's not hardinfo, it's hwinfo.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

justindwalker87
Posts: 24
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/13 06:13:32

I get command not found with that command as well, thank you

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/13 07:28:07

yum install hwinfo

(but you need to be root)
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

justindwalker87
Posts: 24
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/13 21:18:25

how do you become root? i can't find an answer that works googling it? Thank you

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/13 22:23:40

If you did the install of the system then you know the root password and can use the `su -` command to become root. If you also checked the box during the install to set your own user up and make it an adminstrator then you can use sudo as you will be authorised to run anything using that. If someone else did the install and made you an administrator (a.k.a part of group wheel) then you will also be able to use sudo. If you don't have any of those then you need to ask your sysadmin to do it for you.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

justindwalker87
Posts: 24
Joined: 2020/02/05 17:00:47

Re: Reviewing System Information for CentOS 7

Post by justindwalker87 » 2020/02/14 02:03:55

Here's what I got:

[justin@localhost ~]$ su - justin
Password:
Last Login: (date/time)
[justin@localhost ~]$ yum install hwinfo
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Reviewing System Information for CentOS 7

Post by TrevorH » 2020/02/14 09:14:40

Running su - justin gets you to be the user "justin". Running su - or su - root gets you to be root.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply