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

Docker ShellInABox

docker run --privileged -p 9999:4200 -e SIAB_PASSWORD=password-e SIAB_SUDO=true sspreitzer/shellinabox:latestdocker run --privileged -d --name shellinabox -p…

Bash Shell: Rename Files – Prepend and Append

Pre-pending # Prepend any file that doesn't have the word "/thumbs_" in its full path…

How To Install Rancher Onto a Kubernetes Cluster

Step 1: Add Rancher Repo into Helm Source: https:// rancher.com/docs/rancher/v2.x/en/installation/install-rancher-on-k8s/ # Add Rancher repo helm…