Versions Compared

Key

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

Table of Contents


01. SSL 인증서 갱신하기

Code Block
[root@centos7 confluence-docker-compose]# certbot-auto renew --force-renewal --cert-name confluence.iisanse.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Processing /etc/letsencrypt/renewal/confluence.iisanse.com.conf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Plugins selected: Authenticator standalone, Installer None
Renewing an existing certificate

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
new certificate deployed without reload, fullchain is
/etc/letsencrypt/live/confluence.iisanse.com/fullchain.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Congratulations, all renewals succeeded. The following certs have been renewed:
  /etc/letsencrypt/live/confluence.iisanse.com/fullchain.pem (success)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[root@centos7 confluence-docker-compose]#
[root@centos7 confluence-docker-compose]#
[root@centos7 confluence-docker-compose]# cp /etc/letsencrypt/live/confluence.iisanse.com/fullchain.pem ssl
cp: overwrite ‘ssl/fullchain.pem’? y
[root@centos7 confluence-docker-compose]# cp /etc/letsencrypt/live/confluence.iisanse.com/privkey.pem ssl
cp: overwrite ‘ssl/privkey.pem’? y
[root@centos7 confluence-docker-compose]# docker-compose down
Stopping nginx-1.19.3     ... done
Stopping confluence-7.4.5 ... done
Stopping mysql-5.7        ... done
Stopping adminer          ... done
Removing nginx-1.19.3     ... done
Removing confluence-7.4.5 ... done
Removing mysql-5.7        ... done
Removing adminer          ... done
Removing network confluence-docker-compose_default
[root@centos7 confluence-docker-compose]# docker-compose up -d
Creating network "confluence-docker-compose_default" with the default driver
Creating adminer          ... done
Creating mysql-5.7 ... done
Creating confluence-7.4.5 ... done
Creating nginx-1.19.3     ... done
[root@centos7 confluence-docker-compose]#

02. Atlassian Confluence 버전 업그레이드 하기

Info

공식 업그레이드 가이드

Code Block
[root@centos7 confluence-docker-compose]# docker-compose down
Stopping nginx-1.19.3     ... done
Stopping confluence-7.4.5 ... done
Stopping mysql-5.7        ... done
Stopping adminer          ... done
Removing nginx-1.19.3     ... done
Removing confluence-7.4.5 ... done
Removing mysql-5.7        ... done
Removing adminer          ... done
Removing network confluence-docker-compose_default
[root@centos7 confluence-docker-compose]# vi docker-compose.yml

~~~~~~~~~~~~~~~~~~~~~~~~~~
    confluence:
        image: atlassian/confluence-server:7.8.3  #서버로 사용할 버전 명시 가장 최신은 latest로 하면 됩니다.
        restart: always
        container_name: confluence-7.8.3
~~~~~~~~~~~~~~~~~~~~~~~~~~

[root@centos7 confluence-docker-compose]# docker-compose up -d
Creating network "confluence-docker-compose_default" with the default driver
Pulling confluence (atlassian/confluence-server:7.8.3)...
7.8.3: Pulling from atlassian/confluence-server
6a5697faee43: Already exists
ba13d3bc422b: Already exists
a254829d9e55: Already exists
03adaffd7e57: Already exists
5a421c0fca60: Already exists
50052973ee28: Already exists
4524e7e6044d: Already exists
ba16bb74e948: Pull complete
e91ed02965cf: Pull complete
2ff697a6ca3d: Pull complete
7485c1b0ef52: Pull complete
Digest: sha256:3d780d4c65f3d5ca8362da7c03c01398d7d3e446f7ff09271063c9c5d09c835f
Status: Downloaded newer image for atlassian/confluence-server:7.8.3
Creating mysql-5.7 ... done
Creating adminer   ... done
Creating confluence-7.8.3 ... done
Creating nginx-1.19.3     ... done
[root@centos7 confluence-docker-compose]#