Soldato
- Joined
- 18 May 2010
- Posts
- 22,941
- Location
- London
So in the Centos/Redhat world you can use checkconfig --level 35 etc.. to add services at differnet run levels.
I am trying to do something similar with Apache running on Ubuntu.
According to what I can find online the answer is something like:
update-rc.d apache2 default
or
update-rc.d apache2 enable 2345
But none of this works. If I restart the server the Apache services is not auto started on boot up.
Any ideas?
---
This doesn't seem to work either....
sudo systemctl enable apache2
I am trying to do something similar with Apache running on Ubuntu.
According to what I can find online the answer is something like:
update-rc.d apache2 default
or
update-rc.d apache2 enable 2345
But none of this works. If I restart the server the Apache services is not auto started on boot up.
Any ideas?
---
This doesn't seem to work either....
sudo systemctl enable apache2
Last edited: