sam配置命令概要
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sam配置命令概要相关的知识,希望对你有一定的参考价值。
./install_packages --enhanced_reporting
katello-configure --deployment=sam --user-pass=redhat
chkconfig mongod on
service mongod start
su - splice -s /bin/sh -c ‘ssh-keygen -t rsa -f /var/lib/splice/id_rsa-sat -N ""‘
cat /var/lib/splice/id_rsa-sat.pub
RHS:
useradd swreport
mkdir /home/swreport/.ssh
scp sam:/var/lib/splice/id_rsa-sat.pub /home/swreport/.ssh/authorized_keys
在authorized_keys文件里增加command="/usr/bin/spacewalk-report $SSH_ORIGINAL_COMMAND"
chown -R swreport:swreport /home/swreport/.ssh
chmod 700 /home/swreport/.ssh
chmod 600 /home/swreport/.ssh/authorized_keys
restorecon -R /home/swreport/.ssh
gpasswd -a swreport apache
SAM:
su - splice -s /bin/bash
ssh -i /var/lib/splice/id_rsa-sat
[email protected] splice-export
vi /etc/splice/checkin.conf
su - splice -s /bin/bash
spacewalk-splice-checkin
以上是关于sam配置命令概要的主要内容,如果未能解决你的问题,请参考以下文章
WebSphere V8.5 静默安装升级-命令查看创建删除WAS概要文件