PDA

View Full Version : [ubuntu] when instance restart installed Apache will disappear



da vinci
July 25th, 2011, 07:44 AM
After done setup, i try to log in VM by SSH. From VM i try to install Mysql-server and Apache by using apt-get. Then I key-in VM's IP address(192.168.x.x) into web browser and returned a message show that it is working.

Problems :
1) when I key-in same IP (192.168..x.x) from remote PC, its not working

2) when I restart the Instance, whatever i have installed before (Mysgl-server / Apache) all gone, it seems like back to original stage.( tested few times still same).

- Things that installed into VM not permanently store into VM ??
- Am i missing anything during installation setup ? or...

:confused::confused::confused:

Rusty au Lait
July 25th, 2011, 10:06 PM
Problem 1 has several causes. Most concern the firewall.

Every instance begins from an image that exists already. What you want requires you to build an image you want when you start an instance. Look here https://help.ubuntu.com/community/UEC/BundlingImages

Answers:
1. yes
2. Does not seem so. You have created and logged into an instance. That sounds like UEC is running.

da vinci
July 26th, 2011, 04:06 AM
yep, UEC is running. The image i use is downloaded from store. but everytime i restart the VM whatever installed will disappear. does anyone try install program and can permanently store into VM ?