- On the virtual machine, create a folder for, and download the Java Profiler, unzip it:
mkdir yourkit (this makes the folder in the root user's home directory) cd yourkit wget http://www.yourkit.com/download/yjp-8.0.19.zip unzip yjp-8.0.19.zip
- Generate a script that allows you to use the Yourkit tool from a remote location
java -jar /root/yourkit/yjp-8.0.19/lib/yjp.jar -integrate
Setup the MySQL Database for Geonetwork to Use
- From the command prompt on the instance, type the following commands:
mysqladmin create geonetwork -u root -p
You will be prompted for the password for the root MySQL user.
"Restarting" the Virtual Machine
You can't actually restart it, instead you essentially delete it and roll-back to a prior machine image.
In the event that you don't want to open port 5432 to any traffic, or you don't want to configure PostgreSQL to listen to any remote traffic, or if you simply can't make it work right (that's where I am right now...) you can use SSH Tunneling to make a remote connection to the PostgreSQL instance. Here's how: