Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:spacecmd_spacewalk_cmd_line [2015/10/29 14:50] billdozor [System Commands] |
linux_wiki:spacecmd_spacewalk_cmd_line [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | Spacewalk provides centralized management of Red Hat systems. | + | Spacewalk provides centralized management of Red Hat systems. |
+ | * Official Site: https:// | ||
+ | * Local Wiki Page: [[linux_wiki: | ||
Spacecmd is the command line interface to the server and is much faster than logging into the web portal. | Spacecmd is the command line interface to the server and is much faster than logging into the web portal. | ||
**Checklist** | **Checklist** | ||
- | * Spacewalk server setup | + | * Distro(s): Enterprise Linux |
- | * Spacewalk user account created | + | * Other: [[https:// |
+ | * Other: | ||
---- | ---- | ||
Line 28: | Line 32: | ||
Create the file ~/ | Create the file ~/ | ||
<code bash> | <code bash> | ||
+ | mkdir ~/.spacecmd | ||
+ | chmod 700 ~/.spacecmd | ||
+ | touch ~/ | ||
+ | chmod 600 ~/ | ||
+ | </ | ||
+ | |||
+ | Edit the file | ||
+ | <code bash> | ||
+ | vim ~/ | ||
+ | |||
[spacecmd] | [spacecmd] | ||
server=spacewalkserver.mydomain.com | server=spacewalkserver.mydomain.com | ||
username=usernamehere | username=usernamehere | ||
password=passwordhere | password=passwordhere | ||
+ | </ | ||
+ | |||
+ | Verify configuration by testing connectivity | ||
+ | <code bash> | ||
+ | spacecmd | ||
</ | </ | ||
Line 128: | Line 147: | ||
Systems Not in Any Group | Systems Not in Any Group | ||
<code bash> | <code bash> | ||
- | spacecmd | + | spacecmd report_ungroupedsystems |
</ | </ | ||
Systems Not Checking In and Last Checkin Time | Systems Not Checking In and Last Checkin Time | ||
<code bash> | <code bash> | ||
- | spacecmd | + | spacecmd report_inactivesystems |
</ | </ | ||
---- | ---- |