Posted On April 1, 2019

Fedora: Setting Programs to Automatically Start

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Fedora: Setting Programs to Automatically Start
on a fedora core box, use chkconfig like this:


Code:
chkconfig --level 345 httpd on
chkconfig --level 2345 mysqld on

you might also find this useful so you can get visual gratification after turning on services...


Code:
chkconfig --list
  • 0 — Halt
  • 1 — Single-user mode
  • 2 — Not used (user-definable)
  • 3 — Full multi-user mode
  • 4 — Not used (user-definable)
  • 5 — Full multi-user mode (with an X-based login screen)
  • 6 — Reboot

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Linux Networking: Manual Configurations

Ubuntu Systems /etc/resolv.conf specifies the nameservers for resolver lookups. The order of lookup is sequential…

A Few Todos while Securing Apache Server

- Install mod_security - Set expose_php = Off in php.ini - Set SecResponseBodyAccess Off in…

Linux: Create a Shell Script to Watch Services

# create a script to watch services (notice the regex escape for special chars) sudo…