์์ ์ฌ์ฉ ์์ ๋ฒ์ด๋ Home Edge์ฉ ๊ณต์ EdgeX v2.0์ ๊ฐ๋ฅ์ฑ์ ํ์ธํด์ผ ํฉ๋๋ค.
edgex v2.0์ผ๋ก DataStorage๋ฅผ ํ
์คํธํ๊ธฐ ์ํด ds_ireland
๋ถ๊ธฐ๋ฅผ ๋ง๋ค์์ต๋๋ค.
$ cd deployments/datastorage
$ docker-compose up -d
/var/edge-orchestration/datastorage/
์ ์ ์ฅํฉ๋๋ค.$ sudo apt-get install -y libzmq3-dev
$ ./build.sh container x86_64
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
edgex v2.0์ผ๋ก DataStorage๋ฅผ ํ ์คํธํ๊ธฐ ์ํด
ds_ireland
๋ถ๊ธฐ๋ฅผ ๋ง๋ค์์ต๋๋ค.
- ๋ณด์ ์์ด EdgeX ์ปจํ ์ด๋ ์คํ
$ cd deployments/datastorage $ docker-compose up -d
- configs/datastorage ํด๋ ์ ๊ตฌ์ฑ ํด๋ ๋ฐ ํ์ผ์
/var/edge-orchestration/datastorage/
์ ์ ์ฅํฉ๋๋ค.- ์ปจํ ์ด๋ ์ด๋ฏธ์ง ์์ฑ
$ ./build.sh container x86_64
- ์ฃ์ง ์ค์ผ์คํธ๋ ์ด์ ์คํ
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
@t25kim ์ ๋ง ์ข์ ์ ๊ทผ์ ๋๋ค.
@sun-sharma PTAL. (#326 ํฌํจ) PR์ ๋ํ ํ ์คํธ ์ธก๋ฉด์์.
EdgeX v2.0 ์ ๊ทธ๋ ์ด๋์ ์ํฅ์์ ๋น๋ ๋ฐฉ๋ฒ๋ก ์ธก๋ฉด์์ @tdrozdovsky PTAL.
EdgeX v2.0 ์ ๊ทธ๋ ์ด๋์ ์ํฅ์์ ๋น๋ ๋ฐฉ๋ฒ๋ก ์ธก๋ฉด์์ @tdrozdovsky PTAL.
์ ๋น๋ ์์คํ ์ด ์น์ธ๋๋ฉด ๋ชจ๋ ์ต์ ์ ์ฝ๊ฒ ์ถ๊ฐํ ์ ์์ต๋๋ค.
์๋ ํ์ธ์ @t25kim ,
๋ฅผ ์ฌ์ฉํ์ฌ ๋น๋ํ๋ ๋์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
$ ./build.sh container x86_64
์ด์ ์ ZMQ์ ๊ด๋ จ๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
# pkg-config --cflags -- libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1
make: *** [Makefile:67: build-binary] Error 1
ํ์ํ ์ค์น๋ฅผ ์๋ํ์ต๋๋ค
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -xvzf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/
sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev
sudo apt-get install checkinstall
./configure
make
sudo checkinstall
sudo ldconfig
์ด์ ๋น๋ํ๋ ๋์ ๋ฐํ์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
๊ทธ๋ฌํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๊น?
์๋ ํ์ธ์ @t25kim ,
๋ฅผ ์ฌ์ฉํ์ฌ ๋น๋ํ๋ ๋์ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
$ ./build.sh container x86_64
์ด์ ์ ZMQ์ ๊ด๋ จ๋ ์ค๋ฅ๊ฐ ๋ฐ์ํ์ต๋๋ค.
# pkg-config --cflags -- libzmq Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing `libzmq.pc' to the PKG_CONFIG_PATH environment variable No package 'libzmq' found pkg-config: exit status 1 make: *** [Makefile:67: build-binary] Error 1
ํ์ํ ์ค์น๋ฅผ ์๋ํ์ต๋๋ค
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz tar -xvzf zeromq-4.2.1.tar.gz cd zeromq-4.2.1/ sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev sudo apt-get install checkinstall ./configure make sudo checkinstall sudo ldconfig
์ด์ ๋น๋ํ๋ ๋์ ๋ฐํ์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0 stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
๊ทธ๋ฌํ ๋ฌธ์ ๊ฐ ๋ฐ์ํ์ต๋๊น?
์๋์ ๊ฐ์ด apt-get์ผ๋ก 0mq๋ฅผ ์ค์นํด์ฃผ์ธ์.
$ sudo apt-get install -y libzmq3-dev
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
@sun-sharma PTAL. (#326 ํฌํจ) PR์ ๋ํ ํ ์คํธ ์ธก๋ฉด์์.