show me howi can install from downloading onwords with screen shots
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
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
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
$ cd /opt/atlassian/apps/
$ ln -s /opt/atlassian/tools/atlassian-crowd-2.9.1 crowd
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
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)
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" />
cd /opt/atlassian/tools/atlassian-crowd-2.9.1/crowd-webapp/WEB-INF/classes/
vi crowd-init.properties
crowd.home=/var/atlassian/crowd_home/
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
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
Once the instance is started, we need to complete the set up by accessing the application URL(https://************/crowd) from the browser.
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.