create common log dir, use sudo then installing nginx server