SafeAF / enterprise-log-search-and-archive

Automatically exported from code.google.com/p/enterprise-log-search-and-archive
0 stars 0 forks source link

Changing ELSA's Serving Port #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am not the most knowledgeable person when it comes to linux/apache. I need to 
run ELSA on the same apache2 as cacti. Is there a way to change the port ELSA 
uses?

Thanks!

Original issue reported on code.google.com by D00050...@dmail.dixie.edu on 28 Feb 2012 at 9:55

GoogleCodeExporter commented 9 years ago
Sure, you just need to run it as a virtual host in Apache alongside as a 
virtual host.  Check out the apache_site.conf file in 
elsa/web/conf/apache_site.conf.  You can then either change your Windows hosts 
files or have a real DNS name created for something like elsa.yourdomain.com to 
access it via something other than it's IP address.  

An alternative would be to install starman:
sudo cpanm starman
Then run starman on port 8080 like this:
cd /usr/local/elsa/web/lib
starman -p 8080 Web.psgi

Original comment by mchol...@gmail.com on 28 Feb 2012 at 10:20

GoogleCodeExporter commented 9 years ago
If I chose the starman route, would I need to do the install of ELSA before or 
after that command?

Original comment by D00050...@dmail.dixie.edu on 29 Feb 2012 at 11:54

GoogleCodeExporter commented 9 years ago
That would be at the very end of the install.

Original comment by mchol...@gmail.com on 1 Mar 2012 at 12:57

GoogleCodeExporter commented 9 years ago
I took a more in-depth look at apache2 and I was able to change the Port there. 
Thank you for your input.

-jjergin1

Original comment by D00050...@dmail.dixie.edu on 1 Mar 2012 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by mchol...@gmail.com on 1 Mar 2012 at 5:10