Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

OpenJDK 1.8.0 설치


Code Block
## confluence 계정 생성
[root@wiki-sanse-vm ~]# useradd confluence

## confluence 계정을 root그룹츠로 추가
[root@wiki-sanse-vm ~]# usermod -aG confluence root

## confluence 계정 패스워드설정
[root@wiki-sanse-vm ~]# sudo passwd confluence
Changing password for user confluence.
New password:
BAD PASSWORD: The password contains less than 1 non-alphanumeric characters
Retype new password:
passwd: all authentication tokens updated successfully.
[root@wiki-sanse-vm ~]#

## conflence 계정으로 로그인
[root@wiki-sanse-vm ~]# su - confluence
Last login: Sat Apr 20 05:30:55 UTC 2019 on pts/0


## 현재 디렉터리 확인
[confluence@wiki-sanse-vm ~]$ pwd
/home/confluence


## conflence server다운로드
[confluence@wiki-sanse-vm ~]$ wget https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.2-x64.bin
--2019-04-20 05:34:25--  https://www.atlassian.com/software/confluence/downloads/binary/atlassian-confluence-6.15.2-x64.bin
Resolving www.atlassian.com (www.atlassian.com)... 18.234.32.153, 18.234.32.152, 18.234.32.154
Connecting to www.atlassian.com (www.atlassian.com)|18.234.32.153|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.15.2-x64.bin [following]
--2019-04-20 05:34:25--  https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.15.2-x64.bin
Resolving product-downloads.atlassian.com (product-downloads.atlassian.com)... 52.85.231.118, 2600:9000:203d:fe00:1f:ab86:b47:681, 2600:9000:203d:9c00:1f:ab86:b47:681, ...
Connecting to product-downloads.atlassian.com (product-downloads.atlassian.com)|52.85.231.118|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 619432727 (591M) [application/octet-stream]
Saving to: 'atlassian-confluence-6.15.2-x64.bin'

100%[==================================================================================================================>] 619,432,727 79.0MB/s   in 7.3s

2019-04-20 05:34:33 (80.7 MB/s) - 'atlassian-confluence-6.15.2-x64.bin' saved [619432727/619432727]
[confluence@wiki-sanse-vm ~]$ ls -al
total 604932
drwx------. 4 confluence confluence       155 Apr 20 05:34 .
drwxr-xr-x. 4 root       root              37 Apr 20 05:30 ..
-rw-rw-r--. 1 confluence confluence 619432727 Apr  5 00:13 atlassian-confluence-6.15.2-x64.bin
-rw-------. 1 confluence confluence        36 Apr 20 05:31 .bash_history
-rw-r--r--. 1 confluence confluence        18 Apr 11  2018 .bash_logout
-rw-r--r--. 1 confluence confluence       193 Apr 11  2018 .bash_profile
-rw-r--r--. 1 confluence confluence       231 Apr 11  2018 .bashrc
drwxrwxr-x. 3 confluence confluence        18 Apr 20 05:30 .cache
drwxrwxr-x. 3 confluence confluence        18 Apr 20 05:30 .config
[confluence@wiki-sanse-vm ~]$

## 설치파일 권한 추가
[confluence@wiki-sanse-vm ~]$ chmod 775 atlassian-confluence-6.15.2-x64.bin


## confluence server 설치
[confluence@wiki-sanse-vm ~]$ ./atlassian-confluence-6.15.2-x64.bin
Unpacking JRE ...
Starting Installer ...
You do not have administrator rights to this machine and as such, some installation options will not be available. Are you sure you want to continue?
Yes [y, Enter], No [n]


This will install Confluence 6.15.2 on your computer.
OK [o, Enter], Cancel [c]

Click Next to continue, or Cancel to exit Setup.

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2, Enter],
Upgrade an existing Confluence installation [3]
2

Select the folder where you would like Confluence 6.15.2 to be installed,
then click Next.
Where should Confluence 6.15.2 be installed?
[/home/confluence/atlassian/confluence]
/home/confluence/atlassian/confluence/confluence-server

Default location for Confluence data
[/home/confluence/atlassian/application-data/confluence]
/home/confluence/atlassian/confluence/application-data/confluence

Configure which ports Confluence will use.
Confluence requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access
Confluence through your browser. The Control port is used to Startup and
Shutdown Confluence.
Use default ports (HTTP: 8090, Control: 8000) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]


Extracting files ...
  confluence/WEB-INF/classes/mime.types


Please wait a few moments while we configure Confluence.

Installation of Confluence 6.15.2 is complete
Start Confluence now?
Yes [y, Enter], No [n]

Please wait a few moments while Confluence starts up.
Launching Confluence ...

Installation of Confluence 6.15.2 is complete
Your installation of Confluence 6.15.2 is now ready and can be accessed via
your browser.
Confluence 6.15.2 can be accessed at http://localhost:8090
Finishing installation ...
[confluence@wiki-sanse-vm ~]$