You've several ways of doing this.
The simplest is, as you say, create a small bash script. Create a file with a text editor. Line one should read:
...then follow it with the two commands you need to run. (with absolute paths)
Save the file. Then:
chmod 755 <filename>
to make it executable. Save (or link) it somewhere in your path and run as necessary.
You may want to create another script to shut the services down.
There are, however, better ways to run apache, and presumably mysql. Check this site or the jakarta site for details/tutorials.