[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

Spacewalk server Installation on RHEL6的更多相关文章

  1. octave installation on RHEL6.4

    octave installation on RHEL6.4 rhel6.4上安装octave GNU Octave 是一种高级语言,主要设计用来进行数值计算,它是 MathWorks 出品的 Mat ...

  2. Domino Server installation on Linux (Centos or Redhat) – something somewhere

    something somewhere welcome in there…:) Just another techki site howto / Linux / Lotus Domino 0 Domi ...

  3. [RK3399] Jack server installation not found

    CPU:RK3399 系统:Android 7.1 服务器上第一次编译 Android 7.1 的代码,提示 Jack server 没有安装. Jack server installation no ...

  4. Postgres Plus Advanced Server installation

    # setenforce Permissive # ./ppasmeta-9.3.1.3-linux-x64.run --mode text Installation Directory [/opt/ ...

  5. VNC Server Installation on CentOS 6.5

    In my case I have a fresh installed CentOS6.5 Server on which I will be installing the VNC-server so ...

  6. Problem with WinRM on Exchange 2013 Management Shell and Exchange Toolbox on a new exchange 2013 with CAFE and BE on single server installation

    While deploying MS Exchange 2013 I experienced issues with accessing the Exchange Management Shell a ...

  7. Kernel parameters for Db2 database server installation (Linux and UNIX)

    Db2 11.1 For root installations, the database manager uses a formula to automatically adjust kernel ...

  8. Redis Server installation FAQs

    OS: CentOS 7 Minimal (0) open files Q: Increased maximum number of open files to 10032 (it was origi ...

  9. P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1

    P6 Professional Installation and Configuration Guide (Microsoft SQL Server Database) 16 R1       May ...

随机推荐

  1. java数组之二分法查找

    认识: 猜字游戏 步数 所猜的数 结果 可能值的范围 0     1~100 1 50 太高 1~49 2 25 太低 26~49 3 37 太高 26~36 4 31 太低 32~36 5 34 太 ...

  2. JavaScript 事件机制

    1 什么是事件 JavaScript 使我们有能力创建动态页面.事件是可以被 JavaScript 侦测到的行为. 网页中的每个元素都可以产生某些可以触发 JavaScript 函数的事件.比方说,我 ...

  3. 什么是web语义化?

    Web语义化:是指使用语义恰当的标签,使页面有良好的结构,页面元素更有含义,能够让人和搜索引擎都容易理解.使团队项目的可持续运作及维护,去掉样式后页面呈现清晰的结构. 例如:<table> ...

  4. Django项目发布到Apache2.4配置mod_wsgi,解决遭遇的各种坑。

    环境: Apache2.4 32bit Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:05:16) [MSC v.1915 32 bit (Inte ...

  5. python-10多进程

    1-多进程(multiprocessing), 1个父进程可以有多少子进程 1.1下面的例子演示了启动一个子进程并等待其结束 from multiprocessing import Process i ...

  6. Python 外部函数调用库ctypes简介

    Table of Contents 1. 参考资料 2. ctypes简介 2.1. 数据类型 2.2. 调用.so/.dll 2.2.1. 加载动态链接库 2.2.2. 调用加载的函数 2.2.3. ...

  7. 9.4python开发之virtualenv与virtualenvwrapper

    在使用 Python 开发的过程中,工程一多,难免会碰到不同的工程依赖不同版本的库的问题: 亦或者是在开发过程中不想让物理环境里充斥各种各样的库,引发未来的依赖灾难. 此时,我们需要对于不同的工程使用 ...

  8. 1 Mongodb安装

    1.NoSQL简介 NoSQL,全名Not Only SQL,指的是非关系型的数据库 随着访问量的上升,网站的数据库性能出现了问题,于是NoSQL被设计出来了 优点.缺点 优点 高扩展性 分布式计算 ...

  9. 【Text Justification】cpp

    题目: Given an array of words and a length L, format the text such that each line has exactly L charac ...

  10. C#向上转型与向下转型(转)

    原文地址:https://blog.csdn.net/wangqingbo0829/article/details/48474173 向上转型:将子类对象转为父类对象.此处父类对象可以是接口. 向下转 ...