Installing multiple packages with one yum command
Just use the exact command from your question. yum
can take multiple package names as input:
yum install mysql php vsftp
Yes, I do it all the time. Any yum command will work with multiple packages specified, just take a look at the man page.