How do I get a service to start automatically in Ubuntu 12.04 server?
Posted on 2014-04-18
I've been task by my boss to come up with a solution for the below. I'm a Windows guy who is currently attending Linux classes, but find that it is truly a new world for me and difficult to grasp. Can any expert here who is a Linux/Ubuntu guru help me with the following below?
Below is a real exercise that we can apply at work. Every time we reboot the Ubuntu 12.04 server we need to manually start the below services.
What would be the best method and how would you get this to start automatically after a successful boot.
I am using key words on the requirements (Similar to those on the Microsoft exams)
I know you can Google it and done with it. However as you guys know we are shifting our production environment to Linux. (Obviously the main reason you are on a Linux training)
So would be great if you come with the solution using the notes, book or learning that we have so far from the class.
Please send me your solution not later than Monday afternoon. I want to get this into our production Bamboo/stash server.
Here are the commands:
Sudo service mysql start