How to auto start apache2 and mysql service after reboot
When I reboot the linode server then my apache2 is not started automatically, I needed to manually start it.
I given the commands as:
sudo systemctl enable mysql
sudo systemctl enable ssh
Also I tried by giving commands
sudo update-rc.d apache2 defaults
sudo update-rc.d sshd defaults
sudo update-rc.d mysql defaults
but it's not works.
I want the above Three services are start automatically.
Can you please help me for this.
What are the commands that you're using to start them manually and what distribution are you using?