易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3600|回复: 0
收起左侧

crm status -bash: crm: command not found

[复制链接]
发表于 2018-7-29 11:02:58 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
crm status4 I: [- X3 n1 P4 n
-bash: crm: command not found
* i, {9 l& R+ g8 X解决办法:
7 L; u* f/ M  W1 g
; O( C0 Y3 \7 [" n! p

; _+ c; }' g. O; i" a
3 g" u6 l$ D& u5 @7 W! ?. `" b

$ }5 B1 n8 R# @! J, p2 M
3 ?& d, r, l' i8 F7 b1 ]& h8 W
" `) ^0 N# d) I& F7 \) L

/ j& e( L" R% P$ G; t, c) ~' g, l
cat network\:ha-clustering\:Stable.repo
& S+ S& ^/ i" [# m; Q5 M[network_ha-clustering_Stable]/ k! J5 G8 x0 `& L( t( i+ j
name=Stable High Availability/Clustering packages (CentOS_CentOS-7)
, W$ q0 C  p0 Q% x& j6 Ftype=rpm-md
' Z$ E8 M$ W) h! B: B; t1 N+ sbaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/* E7 {1 N" `. l4 }
gpgcheck=1
- q0 A% R5 b3 Fgpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
( y& [0 _" I. O. f5 jenabled=1
( Y! X2 m8 ]) I+ \
5 x3 G$ m4 m% a2 Y

) `/ Q7 Y' R$ e0 O
修改配置文件:
8 E( X5 R3 t0 R2 |. @) g5 S  ?6 ]. [: p9 \+ @$ Y

( c1 c# f1 j' @. Z' e vim /etc/yum.repos.d/network\:ha-clustering\:Stable.repo
: G  \( Z& u/ U, p( D' qname=Stable High Availability/Clustering packages (CentOS_CentOS-7). O' p% {( j: Q1 o7 X4 \% v
type=rpm-md
) m9 H: o) t/ D  ^$ o& Vbaseurl=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/
# M, W8 h, e9 |! g$ r0 Zgpgcheck=0
5 v4 ^2 G2 e( C5 X2 r  agpgkey=http://download.opensuse.org/repositories/network:/ha-clustering:/Stable/CentOS_CentOS-7/repodata/repomd.xml.key
, D5 |9 j$ d6 b6 C5 h% Penabled=1
) e" r- I, i- t. x* I
, U* t0 n. Z# x5 ], h
4 V9 B3 J2 b! ^( h
yum clean all+ n% ~! \: K+ W1 i: n, k
( ^4 T0 E3 E3 C/ }
yum install -y crmsh
6 V& L0 S4 ?/ r# d+ s
& e0 [3 z; M0 t' W' t: p
* `# ?  M& ]1 v2 n! M! }
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:25 , Processed in 0.047112 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表