I'm new to programming; however i have been able to read and research the programs i need to set-up for a GIS system. I chose to use Geoserver (as WMS) Postgresql, postgis, Qgis and Openlayers. I am setting up a web-based map platform. I have been able to install ubuntu on AWS on which i successfully installed postgresql and postgis. However, am finding it hard to follow tutorials through a command line as I need to see the file structure, etc as well as pgadmin3. is there any way i could access the instance through a gui to perform further installations and tutorials?
Probably not exactly a GIS question, but since I have some notes about this, I will paste some of it here.
When I need to access amazon services through gui, I use xubuntu (since it is more lightweight) and VNC. The following steps do the install, assuming you have xubuntu-desktop already installed. It comes from several online resources patched together long time ago. I am afraid I can't cite all the original resources, sorry about that. Anyways:
sudo apt-get install vnc4server
Set up VNC server, define a password:
Configure VNC to start the XFCE desktop. Create a file:
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & ssh-agent xfce4-session &
Make it executable:
chmod +x $HOME/.vnc/xstartup
Create a ‘bin‘ directory in your home directory:
mkdir $HOME/bin cd $HOME/bin
Create a script start_vnc.sh with the following content:
vncserver -geometry 1200x700 -depth 16 :1
This script will start a VNC server with a resolution of 1200×700 pixels.
Make it executable:
chmod +x $HOME/bin/start_vnc.sh
To get VNC server to start on boot, append the following lines to /etc/rc.local:
su youruser -c "/home/youruser/bin/start_vnc.sh"
Then you can connect with a VNC client to the machine and use the gui.
Another option is to use FreeNX. It worked for me following these instructions: http://blog.restbackup.com/2011/01/how-to-use-amazon-ec2-as-your-desktop.html
Another option that you might find useful is Vagrant, which allows you to set up a virtualbox instance using a scripting language and then deploy it to Amazon after you are happy (though I haven't yet tried this). I have a basic vagrant setup which will get you GeoServer in a tomcat instance on GitHub.
This will at least let you play with linux and get used to a command line before you try to get to grips with Amazon.
You should set up and open an ssh tunnel, bind it to your local port and then connect to that local port with pgAdmin3 or other client application.