Docker를 사용하여 Axxon One Server를 시작하려면 다음을 수행하세요.
- Docker 설치
To launch the Axxon One Server using Docker, do the following:
- Install Docker:
Expand |
---|
|
- Prepare the environment:
Install the packages to use the repository via HTTPS. Code Block |
---|
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common |
Add official Docker GPG key. Code Block |
---|
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - |
Code Block |
---|
sudo apt-key fingerprint 0EBFCD88 |
- Configure the repository:
for the x86_64 / amd64 architecture:
Debian: Code Block |
---|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" |
Ubuntu:
Code Block |
---|
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
for the armhf architecture: Debian: Code Block |
---|
sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian $(lsb_release -cs) stable" |
Ubuntu:
Code Block |
---|
sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |
Update the lists of packages: Code Block |
---|
sudo apt-get update |
Install and configure the Docker: Install docker-ce. Code Block |
---|
sudo apt-get install docker-ce docker-compose |
Add a user to the Docker. Code Block |
---|
sudo adduser docker |
Install git and the envsubst utility using the command: Code Block |
---|
sudo apt-get install git gettext binutils |
|
Info |
---|
|
Minimum requirements to launch Axxon One using Docker on UbuntuUbuntu에서 Docker를 사용하여 Axxon One을 시작하기 위한 최소 요구 사항: - Dual core processor;
- 4 GB RAM;
- 200 GB HDD.
|
Expand |
---|
|
- Prepare the environment:
Install the packages and set up the repository:
Code Block |
---|
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo |
Refresh metadata cache:
- Install and configure the Docker:
Install Docker with additional packages:
Code Block |
---|
dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose |
Install git and the envsubst utility using the command:
Code Block |
---|
dnf install git gettext binutils |
|
- other distribution packages다른 배포 패키지: https://docs.docker.com/engine/install/.
- Connect the Axxon One repository. To do this, do the following: 저장소를 연결합니다. 이를 위해 다음을 수행합니다.
컨테이너가 위치할 디렉토리로 이동합니다
Go to the directory where the container will be located.
Code Block |
---|
cd /home/%username |
where %username is a username under which the container will be located.
여기서 %username은 컨테이너가 위치할 사용자 이름입니다.
axxonnext.docker 저장소를 복제합니다Clone the axxonnext.docker repository.
Code Block |
---|
git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonnext.docker.git |
Note |
---|
|
If the "server certificate verification failed" error occurs, execute the following command in the terminal:" 서버 인증서 검증에 실패했습니다" 오류가 발생하는 경우, 터미널에서 다음 명령을 실행하세요. Code Block |
---|
export GIT_SSL_NO_VERIFY=1 |
|
- 복제된 저장소 파일을 업데이트합니다.
axxonnext.docker 폴더로 이동합니다.
Update the cloned repository files:Go to the axxonnext.docker folder:
Code Block |
---|
cd /home/%username/axxonnext.docker/ |
where %username is a username under which the container will be created.
여기서 %username은 컨테이너가 생성될 사용자 이름입니다.
git 저장소의 내용을 다운로드하세요.Download the contents of the git repository:
- Create the Axxon Onecontainer. To create the Axxon One container, do the following: 컨테이너를 만듭니다. Axxon One 컨테이너를 만들려면 다음을 수행합니다.
Axxon One의 deb 패키지, Detector Pack 및 Driver Pack을
Copy the deb packages of Axxon One, Detector Pack and Driver pack to the /home/%username/axxonnext.docker/server/build/ folder폴더로 복사합니다.
Code Block |
---|
mv /home/user/Downloads/axxon-* /home/axxonnext.docker/server/build/ |
Go to the axxonnext.docker/server folderserver 폴더로 이동합니다.
Code Block |
---|
cd /home/%username/axxonnext.docker/server |
Execute the command:다음 명령을 실행합니다.
Code Block |
---|
./axxon-one.sh build |
The assembly of the Axxon One container will begin.To view the list of the assembled containers after the operation is complete, execute the command: 컨테이너 어셈블리가 시작됩니다.
작업이 완료된 후 어셈블리 컨테이너 목록을 보려면 다음 명령을 실행하세요.
Code Block |
---|
./axxon-one.sh list |
The Docker를 사용한 Axxon One Server launch using Docker is complete Server 출시가 완료되었습니다.
Tip |
---|
Working with the Axxon One container컨테이너 작업 |