installation of atlassian crowd in windows
Asked by boya brahma reddy:

show me howi can install from downloading onwords with screen shots


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@boya brahma reddy](/t5/user/viewprofilepage/user-id/1661156)

<br />

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 atlassian``passwd 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](http://www.oracle.com/technetwork/database/features/jdbc/default-2280470.html). 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. {#toc-hId-1846893974}
  -------------------------------------------------------------------------------------

  ```
  ?
  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 {#toc-hId--705262987}
---------------------------------------------------------------------------------------------------

```
?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. {#toc-hId-1037547348}
------------------------------------------------------------------------------------------------

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](https://community.atlassian.com/t5/image/serverpage/image-id/35725i037DF57D0B572611/image-dimensions/255x224?v=v2 "crowd1.PNG")

* Apply the Commercial License.

![crowd2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35724i658BEFEC58922D7F/image-dimensions/423x187?v=v2 "crowd2.PNG")

* Select the New Installation

![crowd3.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35726iA4EDE0B420D72638/image-dimensions/534x179?v=v2 "crowd3.PNG")

* Select the JDBC connection and Configure your crowd database information

![crowd4.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35728iB059AF679A983AEC/image-dimensions/409x242?v=v2 "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](https://community.atlassian.com/t5/image/serverpage/image-id/35729iF55203780F069CCF/image-dimensions/581x271?v=v2 "crowd5.PNG")

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

![crowd6.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35730iF7D300B5645EDDE3/image-dimensions/676x216?v=v2 "crowd6.PNG")

* Configure System Administrator Account for Crowd

![crowd7.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/35731i004D71D3E19B356E/image-dimensions/420x213?v=v2 "crowd7.PNG")

* Login to the Crowd with Admin account.


author: Nic Brough -Adaptavist-
body: Start at <https://www.atlassian.com/software/crowd/download> and then go to <https://confluence.atlassian.com/crowd/installing-crowd-24248834.html>