Actions
Install Myd-Data-Server¶
Git 설치¶
Git repository로부터 서버 구성 요소를 다운로드 받기 위해 git을 설치해야 합니다.
sudo apt install git
Git을 통해 Repository 받기¶
$ git clone https://gitlab.com/snplab1/myd-data-server.git
$ cd myd-data-server
DB password 설정¶
Database 는 사용자의 자산이므로, password역시 사용자가 설정해야 합니다.
만약 비밀번호를 바꾸고 싶다면, 다시 아래의 명령어를 입력하여 비밀번호를 변경해 주십시오.
중요 : 한번 설정된 password 는 변경할 때, database 내부의 데이터를 읽지 못하게 될 수 있으므로 신중히 기억하거나, 안전하게 보관해야 합니다
$ bash dbpassword.sh
Enter DB Password: _여기에 DB 비밀번호를 입력해 주십시오._
Enter DB Password again: _한번 더 입력해 주십시오._
Docker container 시작하기¶
아래의 명령어를 입력하여 컨테이너를 동작합니다.
사용할 도메인과 담당자의 이메일, 서버 IP 를 준비하여 주십시오.
$ bash dockerconf.sh
docker container start...
b2b.on-premise start
b2b.on-premise.db start
data-analysis start
Enter domain: 여기에 사용할 도메인을 입력해 주십시오.
docker container start...
b2b.on-premies.web start
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): 여기에 관련 정보를 받을 이메일을 입력해 주십시오.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf. You must
agree in order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: Y
# 약관 동의에 Yes 를 해야 진행이 가능합니다.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: N
# 이메일을 통해 Let's Encrypt 프로젝트 정보를 안받도록 설정합니다.
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/도메인/fullchain.pem
Key is saved at: /etc/letsencrypt/live/도메인/privkey.pem
This sertificate expires on 2023-08-29
These files will be updated when the certificate renews.
...
Enter server ip: 여기에 서버 IP 주소를 입력해 주십시오.
docker container down...
b2b.on-premise.web
docker container start...
b2b.on-premise.web start
다음 장으로 이동: 3 Myd-Data-Server Verify
이름없음이(가) 약 2년 전에 변경 · 11 revisions