install config file, init.d script, and apc hook