2 Install Myd-Data-Server » 이력 » 개정판 10
개정판 9 (이름없음, 2023/07/25 07:41) → 개정판 10/11 (이름없음, 2023/07/25 07:45)
h1. Install Myd-Data-Server h2. Git 설치 Git repository로부터 서버 구성 요소를 다운로드 받기 위해 git을 설치해야 합니다. <pre><code class="shell"> sudo apt install git </code></pre> h2. Git을 통해 Repository 받기 <pre><code class="shell"> $ git clone https://gitlab.com/snplab1/myd-data-server.git $ cd myd-data-server </code></pre> h2. DB password 설정 Database 는 사용자의 자산이므로, password역시 사용자가 설정해야 합니다. 만약 비밀번호를 바꾸고 싶다면, 다시 아래의 명령어를 입력하여 비밀번호를 변경해 주십시오. > *중요* : 한번 설정된 password 는 변경할 때, database 내부의 데이터를 읽지 못하게 될 수 있으므로 신중히 기억하거나, 안전하게 보관해야 합니다 <pre><code class="shell"> $ bash dbpassword.sh Enter DB Password: _여기에 DB 비밀번호를 입력해 주십시오._ Enter DB Password again: _한번 더 입력해 주십시오._ </code></pre> --- h2. Docker container 시작하기 아래의 명령어를 입력하여 컨테이너를 동작합니다. 사용할 도메인과 담당자의 이메일, 서버 IP 를 준비하여 주십시오. <pre><code class="shell"> $ 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 </code></pre> --- **다음 장으로 이동: [[3]]** [[3 Install Myd-Data-Server]]**