add prerequisites and solve some problems when install stellar5

Add prerequisites and solve some problems when install stellar5 so that users can install stellar5 fluently.