add apache2 and other fix