Hello,
I will help to install as below:
1. java backend
2. website (using LAMP, no android)
3. write service script to let backend service and apache server automatically start when you reboot server, so the application will be running after restarting.
Please let me know if you're interested, then give me credential to your Ubuntu instance.
P/S: I assume you have LAMP installed on that server as you said, please share me the path as well.
Thanks,
Duy