Created
August 4, 2011 14:21
-
-
Save terrancesnyder/1125261 to your computer and use it in GitHub Desktop.
rpm removal and listing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list all installed packages | |
rpm -qa | |
# remove a package | |
rpm -ev YOURRPM |
Author
terrancesnyder
commented
Aug 5, 2011
chmod 744 /etc/init.d/portforward
chmod 744 /etc/init.d/haproxy
ln -s /etc/init.d/haproxy /sbin/rchaproxy
ln -s /etc/init.d/portforward /sbin/portforward
/sbin/insserv /etc/init.d/haproxy
/sbin/insserv /etc/init.d/portforward
HAPROXY_PID="/opt/tomcat/haproxy.pid"
Changed /etc/init.d/haproxy to support pid in tomcat folder
/sbin/startproc -u tomcat $HAPROXY_BIN -D -f $HAPROXY_CONF -p $HAPROXY_PID
Modify /etc/init.d/haproxy to contain running under tomcat user
rpm -ev tomcat5-5.0.30-27.26
pentaho and tomcat added to init.d
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment