Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

installation of atlassian crowd in windows

boya brahma reddy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 22, 2018

show me howi can install from downloading onwords with screen shots

2 answers

1 vote
Yoga Reddy {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2018

Hi @boya brahma reddy


Following is the Crowd installation instructions for Crowd v2.9.1 with Oracal database which I have prepared for when I am installing crowd v2.9.1.  Hope this will help to you

  • OS related configuration for crowd Install (To be done on APP server)

User Creation: We will create a user (atlassian) through which the Application crowd will run as a service on the server.

useradd -c "Atlassian Application User" -m atlassianpasswd atlassian
  • Create the required directory structure for crowd install

Go to /opt/Atlassian and create the required folders using the "atlassian" user. 

$cd /opt/atlassian $mkdir apps tools rawimages backups java

 

  • Download the latest version of Atlassian Crowd Application by executing the below command, for Crowd v2.9.1. Copy the downloaded binary to the rawimages folder. We can delete the binary file from the rawimages if required as the file is available in the /downloads folder
    $cd/downloads/

    $wget https://www.atlassian.com/software/crowd/downloads/binary/atlassian-crowd-2.9.1.tar.gz

    $cp -p atlassian-crowd-2.9.1.tar.gz /opt/atlassian/rawimages

     

 

  • Extract the binary file and move to the extracted file into /opt/atlassian/tools/ location

    $cd /downloads/

    $tar -xvzf atlassian-crowd-2.9.1.tar.gz

    $cp -p atlassian-crowd-2.9.1 /opt/atlassian/tools/

 

  • Create  crowd_home folder under /var/Atlassian
     $ cd /var/atlassian

    $ mkdir crowd_home

   

  • Creating a symbolic link  for Crowd  installed in "tools" directory to "apps" directory with atlassian user
     $ cd /opt/atlassian/apps/

    $ ln -s /opt/atlassian/tools/atlassian-crowd-2.9.1 crowd

       

  • JDK/JRE Installation 

The Atlassian Crowd Linux installer will automatically configure a bundled JRE. Here we prefer Crowd standalone installation, it requires to manually download the latest version of JDK and configure it on Linux Server.

 

Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Click on Accept License Agreement

Download the binary "jdk-8u91-linux-x64.tar.gz"by using the below CURL command

$cd /opt/atlassian/java/
$curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-x64.tar.gz   

 

  • Extract the Java binary

$cd /opt/atlassian/java/

$tar -xvzf jdk-8u91-linux-x64.tar.gz

 

Configure JAVA: Execute the below listed commands using the "root" user as well as the "atlassian" user.

1. cd ~
2. ls -la
3. vi .bash_profile
4. Comment the existing "PATH" lines.
#PATH=$PATH:$HOME/bin
#export PATH


5. Add the below lines and save the file

JAVA_HOME=/opt/atlassian/java/jdk1.8.0_91
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH:$HOME/bin
export PATH

6. Execute the below command
. .bash_profile
7. Verify whether JAVA has installed or not

 

  • Verify JAVA
7. java -version

java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

 

  • Configuring the necessary files as shown below and start the crowd v 2.9.1

Set the JVM Memory parameters and update the JAVA path in the setenv.sh file with the "atlassian" user.

cd /opt/atlassian/tools/atlassian-crowd-2.9.1/apache-tomcat/bin
vi setenv.sh

JAVA_OPTS="-Xms2048m -Xmx2048m -Dfile.encoding=UTF-8 $JAVA_OPTS"
export JAVA_OPTS

JAVA_HOME=/opt/atlassian/java/jdk1.8.0_91
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH:$HOME/bin
export PATH

 

We need to download the oracle jdbc driver, (v12.1.0.2), from here. Click Accept License Agreement, Right click on ojdbc7.jar  and  click on "Copy Link Address". 

 


Go to downloads location to download the driver:

$cd /downloads/
$wget http://download.oracle.com/otn/utilities_drivers/jdbc/121020_Patched_19030178/ojdbc7.jar

Once it is downloaded, we need to move this file to the respective location.

$cp -p ojdbc7.jar /opt/atlassian/tools/atlassian-crowd-2.9.1/apache-tomcat/lib/

 

We have used the default connector and server port as shown below

<?xml version="1.0" encoding="UTF-8"?>
<Server port="8020" shutdown="SHUTDOWN">
<Service name="Catalina">
<Connector acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
enableLookups="false"
maxHttpHeaderSize="8192"
maxThreads="150"
minSpareThreads="25"
port="8095"
redirectPort="8443"
useBodyEncodingForURI="true"
URIEncoding="UTF-8"
compression="on"
scheme="https" proxyName="*********" proxyPort="443"
compressableMimeType="text/html,text/xml,application/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript" />

 

  • Set the Home directory path in crowd-init.properties
    cd /opt/atlassian/tools/atlassian-crowd-2.9.1/crowd-webapp/WEB-INF/classes/
    vi crowd-init.properties

    crowd.home=/var/atlassian/crowd_home/
     

    Changing the permissions before starting the Crowd application.

     

     
    chown -R atlassian:atlassian /opt/atlassian
    chmod 755 /opt/atlassian

    chown -R atlassian:atlassian /opt/atlassian/{apps,rawimages,java}

    chown -R atlassian:atlassian /var/atlassian/crowd_home
    chmod 755 /var/atlassian/crowd_home

          

      Starting the Crowd Manually Using Native Scripts to              complete the installation

 After changing the permissions, we need to start the crowd instance.

To start the application, go to /opt/atlassian/apps/crowd/apache-tomcat/bin/ folder

./startup.sh

        

Running the Setup Wizard to complete the Crowd Application from a browser.

Once the instance is started, we need to complete the set up by accessing the application URL(https://************/crowd) from the browser.

  • Click on Set up Crowd It will be walked through the initial configuration of crowd deployment.

crowd1.PNG

 

 

  • Apply the Commercial License.

crowd2.PNG

 

 

  • Select the New Installation

 

 crowd3.PNG

  • Select the JDBC connection and Configure your crowd database information

   

 crowd4.PNG

 

  • Enter the appropriate information. You can set the Base URL here while setting up the Crowd instance first time. You can also set the application URL from the crowd.properties file later on. 

 

 crowd5.PNG

  • Select option Later. We can configure the Mail server once we complete the installation

 crowd6.PNG

 

 

  • Configure System Administrator Account for Crowd

 

 crowd7.PNG

  • Login to the Crowd with Admin account.
0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 23, 2018

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events