Hi **Luo**,
Yeah, this is what you can do to ensure a proper installation.
When you have a fresh install VM, run the command below to update the repositories first.
```
#apt-get update
```
Then follow the documentation to install Gluu ce on ubuntu 16.04.
I hope you Ubuntu 16.04 a long time support(LTS) version since it is more stable and have bug fixes.
If the VM crash again, please provide the following logs files:
1. **/var/log/kern.log**
2. **/var/log/dmesg**
3. **/var/log/syslog**
Please let me know if that works for you. In the mean time, i'm going to do the same thing here to see if i hit the same issue.
Thanks.