Hey all -- apologies if this is a n00b question, I am a super n00b at Linux administration.
So, I'm on Amazon EC2, using Amazon Linux, which I believe is Redhat-derived. I have an EBS volume mounted to /mnt/vol5 and I want to install Tomcat there. However, all the tutorials say that Tomcat likes to be in /usr/bin. Anyway, I downloaded the Tomcat package and untarred it to /mnt/vol5. I executed the run script, and everything runs like it should. I hit my server on port 80 and I see the Tomcat test page.
However, I know there are probably things that will expect my Tomcat instance to be in /usr/bin, and in general, it seems like a good idea to make my server "look and act" as if Tomcat is in /usr/bin and not /mnt/vol5. How do I do this? Is it something that involves mounting? Something that involves changing /etc/fstab?
Once again, apologies for the n00b question -- if you can suggest any good online tutorials that would help me understand filesystem stuff like this, I'd totally appreciate it.
Thank you!