Hi,
I have a cpanel dedi server with Hostgator which runs my main website and a few others, can Jira be installed to run on my website and if so are there instructions anywhere on how to do this? I have full root priveledges if needed.
Thanks and I look forward to your prompt reply
Huw
Community moderators have prevented the ability to post new answers.
Mostly your provider has only port 80 allowed to be accessed. Shutdown any other http processes (httpd, apache) and change the port number in the server.xml for the JIRA installation to port 80 and start it up. If you need to have a context like domain/jira, you can add the context value also.
https://confluence.atlassian.com/display/JIRA/Changing+JIRA's+TCP+Ports
Are you planning to use this server dedicated to JIRA? If yes the above procedure is fine, if not you need to configure Apache reverse proxy to serve different web servers running in the box using different context paths. Instructions here - https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache
As I explained before, most probably 8080 port is not allowed to be accessed in your server. You have to talk to your provider on how to do this (if you are not able to figure out using cPanel)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The server runs websites so it won't be dedicated to running just Jira. What I am trying to find out how to do is to get it to function on my server (cpanel and WHM) allowing me to put /jira after the website name.
So far I've failed to get it to work, it's installed but I can't access it :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you can't even access your jira at your http://yourdomain:8080 just do what renjith said before..
check your firewall settings and open port 8080 to accept traffic.
but you can bypass this by using proxy reverse settings like i alread wrote.
i use ajp connector (needs to be setup in conf/server.xml)
my vhost file in /etc/httpd/conf.d/ contains a proxy part including this:
ProxyPass /jira ajp://localhost:8080/jira
ProxyPassReverse /jira ajp://localhost:8080/jira
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Renjith is right..
as you say you have root access....you can install easily.
i also don't know cpanel...but i did a few installations on hosts using plesk.
i didn't created any subdomain vhosts inside plesk...i wrote my own and put it insite /etc/httpd/conf.d
i also used some proxy reverse lines to make jira respond i.e. on jira.myserver.com instead of myserver.com:8080
this can be done fast & easy as well..
just install jira and configure it to be accessed...the installer should do this for you. as long as you don't need any modifications it should be done out of the box and you can access your installation at yourhost:8080
you may create a database, username & password for you new jira installation before. you will be asked to choose installation type when you connect to it first.
further steps can be discussed later on
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok according to your comment i suggest you put a proxy reverse setting in your vhost.conf file containing something like this:
ProxyPass /jira http://localhost:8080/jira
ProxyPassReverse /jira http://localhost:8080/jira
see this kb article for more details
https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache
next you will have to configure the context-path of jira inside your INSTALL_DIR/conf/server.xml
find
<Context path="" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
replace with
<Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
OK I will have a look now, I don't actually know where the vhosts file is on a cpanel server so I may take a while...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've edited the server.xml as you suggested but I can't find a vhost file at all.
The closest thing I can find is a httpd.conf file Which has lines whch give things like
ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi
Is that the one?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no.
what linux distribution you're server is running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
no.
what linux distribution your server is running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It depends on the type of hosting you have:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank everyone. You were all correct. I could just simply use the installer as root and the real issue was thathe server did not have port 8080 open after I had installed. It's now all installed and running :)
Thank you for your help everyone, have a great day!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your replies, I have logged in as root on my server and installed the 64bit bin file which all went well (or at least I tink it did), I used the default settings and it completed the install. Now I can't work out how to access it. if I try http://www.mydomain.com:8080 I get nothing, I've also trie http://servername:8080 and still nothing.
I would like to be able to access it form http://www.mydomainname.com/jira how do I go about doing this please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.