本人在Linux 5下安装heartbeat的时候出现如下问题:

[root@localhost heartbeat]# rpm -ivh heartbeat-2.1.3-3.el5.centos.i386(1).rpm

-bash: syntax error near unexpected token `('    

解决方法:在括号前加“\”

[root@localhost heartbeat]# rpm -ivh heartbeat-2.1.3-3.el5.centos.i386\(1\).rpm  

我只知道这样可以解决这个问题,如果大家有更好的方法可以共享一下。谢谢。