CentOS 7.x Install Fisheye

From Notes_Wiki
Revision as of 16:12, 23 January 2017 by Saurabh (talk | contribs)

<yambe:breadcrumb>CentOS 7.x Atlassian products</yambe:breadcrumb>

CentOS 7.x Install Fisheye

  1. Add resolution of FQDN in /etc/hosts file to machines appropriate IP address. This is required even after DNS is setup to resolve IP via FQDN.
  2. Disable SELinux by editing '/etc/selinux/config'
    SELINUX=disabled
  3. Install git
    yum install git
  4. Download oracle JDK from oracle website http://www.oracle.com/technetwork/java/javase/downloads/index.html
  5. Install JDK
    yum localinstall jdk-8u111-linux-x64.rpm
  6. Create user account for fisheye service
    useradd fisheye
  7. Create installation directory
    mkdir -p /opt/atlassian/fisheye
  8. Set permissions and ownership on installation folder
    chown -R fisheye:fisheye /opt/atlassian/fisheye
    chmod -R 775 /opt/atlassian/fisheye
  9. Create custom home directory
    mkdir -p /var/atlassian/fisheye
  10. Set permissions and ownership on custom home folder
    chown -R fisheye:fisheye /var/atlassian/fisheye
    chmod -R 775 /var/atlassian/fisheye
  11. Download fisheye from https://www.atlassian.com/software/fisheye/download#! Example URL is https://www.atlassian.com/software/fisheye/downloads/binary/fisheye-4.2.1.zip
  12. yum -y install unzip
  13. Extract fisheye at installation directory:
    unzip fisheye-4.2.1.zip
    mv fecru-4.2.1/* /opt/atlassian/fisheye
    chown -R fisheye:fisheye /opt/atlassian/fisheye
  14. Set environment variable in /etc/environment
    FISHEYE_INST="/opt/atlassian/fisheye"
  15. Start fisheye as fisheye user
    su - fisheye
    cd /opt/atlassian/fisheye/bin
    ./start.sh
    tailf /opt/atlassian/fisheye/var/log/fisheye.out
    #Wait till Server started on :8060 (http) message. Then Ctrl^C to terminate tailf
  16. Before machine shutdown fisheye can be stopped using (as fisheye user):
    cd /opt/atlassian/fisheye/bin
    ./stop.sh
  17. Fisheye web interface is accessible at http://<ipaddress>:8060 or http://<fqdn>:8060
  18. Fisheye can be integrated with Jira for authentication. Try adding application link between fisheye and Jira. If that does not sets up authentication automatically then:
    1. Create application authentication username and password in Jira as admin. For this go to "Jira -> Configure" and then go to "User management -> Jira user server". Make sure the IP address of fisheye server is correctly mentioned for authentication to work.
    2. Configure Jira user directory in Fisheye which connects to Jira user database using created credentials
    Note that manual resync is required to get users created in Jira a few moments ago. The same users need to be added to application for allowing user to login.


Refer https://confluence.atlassian.com/fisheye/installing-fisheye-on-linux-and-mac-298976962.html

Steps contributed by Pavan Ponamala


<yambe:breadcrumb>CentOS 7.x Atlassian products</yambe:breadcrumb>