The basics to setup a MySQL server on a unix based system 

MySQL server setup tutorial