Building your Master-Slave Server On Ubuntu 14.04
Step0PreparationMakesureyouhavetwoubuntusystemswithmysqlinstalled.Themasterserveristhemainserver,whichisdailyinuse.andtheslaveservermeansabackupserver.Modify/etc/mysql/my.cnfinbothmasterandslaveserver