Spacewalk server Installation on RHEL6
2014-07-03 16:14
162 查看
[root@yum01 ~]# rpm -Uvh http://yum.spacewalkproject.org/2.1/RHEL/6/x86_64/spacewalk-repo-2.1-2.el6.noarch.rpm Retrieving http://yum.spacewalkproject.org/2.1/RHEL/6/x86_64/spacewalk-repo-2.1-2.el6.noarch.rpm warning: /var/tmp/rpm-tmp.hM9mSG: Header V3 DSA/SHA1 Signature, key ID 863a853d: NOKEY
Preparing... ########################################### [100%]
1:spacewalk-repo ########################################### [100%]
[root@yum01 ~]# cat > /etc/yum.repos.d/jpackage-generic.repo << EOF
> [jpackage-generic]
> name=JPackage generic
> #baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
> mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
> enabled=1
> gpgcheck=1
> gpgkey=http://www.jpackage.org/jpackage.asc
> EOF
[root@yum01 ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm warning: /var/tmp/rpm-tmp.d4IFja: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@yum01 ~]# yum install spacewalk-setup-postgresql
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
Unit 2d170a73-df62-4821-88b9-693d5c62032c has been deleted
epel/metalink |
13 kB 00:00
epel |
4.4 kB 00:00
epel/primary_db |
6.2 MB 00:01
jpackage-generic
[root@yum01 ~]# yum install -y rpm-build rpm-python
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
Unit 2d170a73-df62-4821-88b9-693d5c62032c has been deleted
Setting up Install Process
Resolving Dependencies
--> Running transaction check
Error: Package: nocpulse-common-2.2.7-1.el6.noarch (spacewalk)
Requires: perl(IO::AtomicFile)
Error: Package: tsdb-1.27.29-1.el6.noarch (spacewalk)
Requires: perl(IO::Stringy)
Error: Package: perl-NOCpulse-Probe-1.184.18-1.el6.noarch (spacewalk)
Requires: perl(SOAP::Lite)
Error: Package: tsdb-1.27.29-1.el6.noarch (spacewalk)
Requires: perl(IO::AtomicFile)
Error: Package: libgsasl-1.4.0-4.el6.x86_64 (epel)
Requires: libntlm.so.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (epel)
Requires: perl(IO::Scalar) >= 2.109
Error: Package: SatConfig-installer-3.24.6-1.el6.noarch (spacewalk)
Requires: perl(MIME::Parser)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Fixed with : rhn-channel --add --channel=rhel-x86_64-server-optional-6
[root@yum01 ~]# yum -y install spacewalk-postgresql
[root@yum01 ~]# spacewalk-setup --disconnected
** Database: Setting up database connection for PostgreSQL backend.
Database "rhnschema" does not exist
** Database: Installing the database:
** Database: This is a long process that is logged in:
** Database: /var/log/rhn/install_db.log
*** Progress: #
** Database: Installation complete.
** Database: Populating database.
*** Progress: ####################################
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
You must enter an email address.
Admin Email Address? eric_sun^H^H^H
'eric_' does not appear to be a valid email address.
Admin Email Address? root@localhost
* Performing initial configuration.
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]?
** /etc/httpd/conf.d/ssl.conf has been backed up to ssl.conf-swsave
* Configuring editarea.
** /etc/httpd/conf.d/editarea.conf has been backed up to editarea.conf-swsave
* Configuring tomcat.
* Configuring jabberd.
* Creating SSL certificates.
CA certificate password?
Re-enter CA certificate password?
Organization? ths
Organization Unit [yum01]?
Email Address [root@localhost]?
City? beijing
State? beijing
Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? CN
** SSL: Generating CA certificate.
** SSL: Deploying CA certificate.
** SSL: Generating server certificate.
** SSL: Storing SSL certificates.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
Processing /etc/cobbler/modules.conf
`/etc/cobbler/modules.conf' -> `/etc/cobbler/modules.conf-swsave'
Processing /etc/cobbler/settings
`/etc/cobbler/settings' -> `/etc/cobbler/settings-swsave'
Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? * Restarting services.
Installation complete.
Visit https://yum01 to create the Spacewalk administrator account.
[root@yum01 ~]# /usr/sbin/spacewalk-service [stop|start|restart]. (manage all spacewalk services at once use)
link: https://fedorahosted.org/spacewalk/wiki/HowToInstall
Preparing... ########################################### [100%]
1:spacewalk-repo ########################################### [100%]
[root@yum01 ~]# cat > /etc/yum.repos.d/jpackage-generic.repo << EOF
> [jpackage-generic]
> name=JPackage generic
> #baseurl=http://mirrors.dotsrc.org/pub/jpackage/5.0/generic/free/
> mirrorlist=http://www.jpackage.org/mirrorlist.php?dist=generic&type=free&release=5.0
> enabled=1
> gpgcheck=1
> gpgkey=http://www.jpackage.org/jpackage.asc
> EOF
[root@yum01 ~]# rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm Retrieving http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm warning: /var/tmp/rpm-tmp.d4IFja: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ########################################### [100%]
1:epel-release ########################################### [100%]
[root@yum01 ~]# yum install spacewalk-setup-postgresql
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
Unit 2d170a73-df62-4821-88b9-693d5c62032c has been deleted
epel/metalink |
13 kB 00:00
epel |
4.4 kB 00:00
epel/primary_db |
6.2 MB 00:01
jpackage-generic
[root@yum01 ~]# yum install -y rpm-build rpm-python
Loaded plugins: downloadonly, product-id, rhnplugin, security, subscription-manager
Unit 2d170a73-df62-4821-88b9-693d5c62032c has been deleted
Setting up Install Process
Resolving Dependencies
--> Running transaction check
Error: Package: nocpulse-common-2.2.7-1.el6.noarch (spacewalk)
Requires: perl(IO::AtomicFile)
Error: Package: tsdb-1.27.29-1.el6.noarch (spacewalk)
Requires: perl(IO::Stringy)
Error: Package: perl-NOCpulse-Probe-1.184.18-1.el6.noarch (spacewalk)
Requires: perl(SOAP::Lite)
Error: Package: tsdb-1.27.29-1.el6.noarch (spacewalk)
Requires: perl(IO::AtomicFile)
Error: Package: libgsasl-1.4.0-4.el6.x86_64 (epel)
Requires: libntlm.so.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (epel)
Requires: perl(IO::Scalar) >= 2.109
Error: Package: SatConfig-installer-3.24.6-1.el6.noarch (spacewalk)
Requires: perl(MIME::Parser)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Fixed with : rhn-channel --add --channel=rhel-x86_64-server-optional-6
[root@yum01 ~]# yum -y install spacewalk-postgresql
[root@yum01 ~]# spacewalk-setup --disconnected
** Database: Setting up database connection for PostgreSQL backend.
Database "rhnschema" does not exist
** Database: Installing the database:
** Database: This is a long process that is logged in:
** Database: /var/log/rhn/install_db.log
*** Progress: #
** Database: Installation complete.
** Database: Populating database.
*** Progress: ####################################
* Setting up users and groups.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
You must enter an email address.
Admin Email Address? eric_sun^H^H^H
'eric_' does not appear to be a valid email address.
Admin Email Address? root@localhost
* Performing initial configuration.
* Activating Spacewalk.
** Loading Spacewalk Certificate.
** Verifying certificate locally.
** Activating Spacewalk.
* Enabling Monitoring.
* Configuring apache SSL virtual host.
Should setup configure apache's default ssl server for you (saves original ssl.conf) [Y]?
** /etc/httpd/conf.d/ssl.conf has been backed up to ssl.conf-swsave
* Configuring editarea.
** /etc/httpd/conf.d/editarea.conf has been backed up to editarea.conf-swsave
* Configuring tomcat.
* Configuring jabberd.
* Creating SSL certificates.
CA certificate password?
Re-enter CA certificate password?
Organization? ths
Organization Unit [yum01]?
Email Address [root@localhost]?
City? beijing
State? beijing
Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? CN
** SSL: Generating CA certificate.
** SSL: Deploying CA certificate.
** SSL: Generating server certificate.
** SSL: Storing SSL certificates.
* Deploying configuration files.
* Update configuration in database.
* Setting up Cobbler..
Processing /etc/cobbler/modules.conf
`/etc/cobbler/modules.conf' -> `/etc/cobbler/modules.conf-swsave'
Processing /etc/cobbler/settings
`/etc/cobbler/settings' -> `/etc/cobbler/settings-swsave'
Cobbler requires tftp and xinetd services be turned on for PXE provisioning functionality. Enable these services [Y]? * Restarting services.
Installation complete.
Visit https://yum01 to create the Spacewalk administrator account.
[root@yum01 ~]# /usr/sbin/spacewalk-service [stop|start|restart]. (manage all spacewalk services at once use)
link: https://fedorahosted.org/spacewalk/wiki/HowToInstall
相关文章推荐
- Spacewalk Installation Tutorial Step by Step On CentOS/RHEL/Fedora/Scientific Linux
- linux磁盘空间不足:Can't start server: can't create PID file: No space left on device
- Install SVN (Subversion) Server on Fedora 20/19, CentOS/Red Hat (RHEL) 6.5/5.10
- mysql 无法启动的原因Can't start server: can't create PID file: No space left on device
- Oracle Database 11g Release 2 Installation on RHEL/CentOS 6.x/5.x/4.x
- Puppet master/agent installation on RHEL7
- mysql无法启动,报错 Can't start server: can't create PID file: No space left on device
- Zabbix:Lack of free swap space on Zabbix server 解决
- mysql无法启动,报错 Can't start server: can't create PID file: No space left on device
- Spacewalk Installation Instructions
- ReviewBoard on ubuntu 9.0.4 Server --- Installation
- Install MySQL Server 5.6 on CentOS 7 / RHEL 7
- Adding Swap Space On RHEL 5
- How to Install Tomcat 7.0.68 Server on CentOS/RHEL 7/6/5
- MySql 5.5.20 Installation on Oracle Linux Server release 5.7
- rabbitvcs Installation on RHEL/CentOS 5
- docker 1.3 2 installation on rhel 6.5_x64 without network access
- Configure Always On Availability Group for SQL Server on RHEL——Red Hat Enterprise Linux上配置SQL Server Always On Availability Group
- [转]How to find who is using / eating up the Virtual Address Space on your SQL Server
- Create and enable new swap space on a Linux server