This article link: http://blog.csdn.net/kongxx/article/details/43934815
Spacewalk is an open source (GPLV2) Linux System Management solution that is an upstream community project derived from the Red Hat Network satellite project, spacewalk manages software content updates for the Red Hat derivative release. such as Fedora, CentOS, and scientific Linux, you can prepare software content in different environments and manage the deployment of System update content. It provides a refreshing Web control interface to view system and software update status, as well as initiate update operations.
Important features of the spacewalk:
1. System hardware and software information list
2. Install and update the software on your system
3. Collect and publish your custom packages to the management group
4. Prepare (via Kickstart) your system
5. Manage and deploy configuration files to your system
6. Monitor your system
7. Prepare and start/stop/Configure virtual clients
8. Efficiently distribute content across multiple geographies
First turn off SELinux
sudo sed-i '/selinux/s/enforcing/disabled/'/etc/selinux/config
Restarting the Linux system
Shutting down the firewall iptables
sudo chkconfig iptables off sudo chkconfig ip6tables off sudo/etc/init.d/iptables stop sudo/etc/init.d/ Ip6tables stop
Set up the necessary installation sources
sudo rpm-uvh http://yum.spacewalkproject.org/2.2/RHEL/6/x86_64/spacewalk-repo-2.2-1.el6.noarch.rpmsudo RPM-UVH Http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmsudo wget http://www.jpackage.org/ Jpackage50.reposudo MV Jpackage50.repo/etc/yum.repos.d/
Installing the PostgreSQL Database
sudo yum install Spacewalk-setup-postgresql
Installing spacewalk
sudo yum install Spacewalk-postgresql
Configure spacewalk
sudo spacewalk-setup--disconnected
After running this command, spacewalk begins to perform the configuration operation, which prompts for actions such as interacting or setting a password, and fills it out according to its own circumstances. In the end, there will be a line of statements like the following to allow you to create a spacewalk admin account.
Visit https://xxx to create the spacewalk administrator account.
Access the address indicated above then create a user name and password, then log in with this user name and password to see the spacewalk management interface.
After the installation configuration is complete, you can use the following command to start stopping and viewing the spacewalk service.
Sudo/usr/sbin/spacewalk-service {start|stop|status|reload|restart|enable|disable}
Installation of spacewalk