CentOS 7.x Install Fisheye
From Notes_Wiki
Revision as of 16:10, 23 January 2017 by Saurabh (talk | contribs) (Saurabh moved page Install Fisheye on CentOS 7.x to CentOS 7.x Install Fisheye)
<yambe:breadcrumb>Atlassian_products_on_CentOS_7.x|Atlassian products on CentOS 7.x</yambe:breadcrumb>
How to install Fisheye in CentOS7
- 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.
- Disable SELinux by editing '/etc/selinux/config'
- SELINUX=disabled
- Install git
- yum install git
- Download oracle JDK from oracle website http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Install JDK
- yum localinstall jdk-8u111-linux-x64.rpm
- Create user account for fisheye service
- useradd fisheye
- Create installation directory
- mkdir -p /opt/atlassian/fisheye
- Set permissions and ownership on installation folder
- chown -R fisheye:fisheye /opt/atlassian/fisheye
- chmod -R 775 /opt/atlassian/fisheye
- Create custom home directory
- mkdir -p /var/atlassian/fisheye
- Set permissions and ownership on custom home folder
- chown -R fisheye:fisheye /var/atlassian/fisheye
- chmod -R 775 /var/atlassian/fisheye
- 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
- yum -y install unzip
- 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
- Set environment variable in /etc/environment
- FISHEYE_INST="/opt/atlassian/fisheye"
- 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
- Before machine shutdown fisheye can be stopped using (as fisheye user):
- cd /opt/atlassian/fisheye/bin
- ./stop.sh
- Fisheye web interface is accessible at http://<ipaddress>:8060 or http://<fqdn>:8060
- 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:
- Create application authentication username and password in Jira as admin
- 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>Atlassian_products_on_CentOS_7.x|Atlassian products on CentOS 7.x</yambe:breadcrumb>