Results 1 to 2 of 2
Thread: Set up java (and jre)
Enjoy an ad free experience by logging in. Not a member yet? Register.
Set up java (and jre)
So I have the following directory tree
I have defined in /etc/profile
JAVA_HOME=/usr/lib/java (and also tried .../jre1.5.0_11)
If I browse /localhost:8080/ I get an error: page not found
In addition I have also a
mod_jk-ap20 was installed, but now I have removed it, to try
apache2_prefork is now installed
Could you help me? Thank you.
The first step is to get Apache up and serving. That's not such a trivial thing that it can be described in a message like this, but I'll mention a few things.
You have to edit the main configuration file, which is probably /etc/httpd/conf/httpd.conf. One of the things in that file is a line like the following. This is the directory where index.html (or index.php, etc.) must be.
Once that's all set up, the server must be started:
Verify it's setup to startup on reboot:
chkconfig --list httpd
If you see 5:off, then enable it with:
chkconfig --add httpd