Update of apt-get commands, added apache CORS allow