Category Archives: centos

CentOS search files installed in a package

To get the package name: yum list installed | grep cron To list the files within a package: repoquery -lq cronie.x86_64 To install repoquery: yum install yum-utils yum repolist: list all repos http://sysadvent.blogspot.ca/2013/12/day-4-yum-and-repository-tools-by.html

Posted in centos | Leave a comment

upstart vs System V init

  Most valuable reference http://askubuntu.com/questions/198794/how-do-i-choose-which-way-to-enable-disable-start-stop-or-check-the-status-of upstart cookbook http://manpages.ubuntu.com/manpages/precise/en/man5/init.5.html How to disable a service http://upstart.ubuntu.com/cookbook/#disabling-a-job-from-automatically-starting example:http://www.gaggl.com/2012/06/disable-services-on-boot-ubuntu-12-04/ How to check running service (System-V style) initctl list, bum (GUI) (System-V style) chkconfig –list (System-V style) service –status-all (? is upstart job)

Posted in centos, chkconfig, ubuntu, upstart | Tagged | Leave a comment