7 Star 37 Fork 8

Gitee 极速下载/emqx-neuron

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/emqx/neuron
克隆/下载
sdk-install.sh 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
set -e
neuron_bin="/usr/local/bin/neuron"
neuron_include="/usr/local/include/neuron"
neuron_lib="/usr/local/lib/neuron"
cp neuron.conf /etc/ld.so.conf.d/
mkdir -p /usr/local/lib/cmake/neuron/
cp neuron-config.cmake /usr/local/lib/cmake/neuron/
mkdir -p ${neuron_include}
cp -r include/neuron/* ${neuron_include}/
mkdir -p ${neuron_lib}
cp lib/* ${neuron_lib}/
mkdir -p ${neuron_bin}
mkdir -p ${neuron_bin}/config
mkdir -p ${neuron_bin}/persistence
mkdir -p ${neuron_bin}/plugins
cp ./neuron ${neuron_bin}/
cp config/sdk-zlog.conf ${neuron_bin}/config/zlog.conf
cp config/dev.conf ${neuron_bin}/config/
cp config/neuron.key ${neuron_bin}/config/
cp config/neuron.pem ${neuron_bin}/config/
cp config/default_plugins.json ${neuron_bin}/config/
cp config/*.sql ${neuron_bin}/config/
cp -r plugins/* ${neuron_bin}/plugins/
cp -r dist ${neuron_bin}/
ldconfig
echo "Install neuron header to ${neuron_include}, include_directories ${neuron_include} in CMakeLists.txt."
echo "Install neuron library to ${neuron_lib}, link_directories ${neuron_lib} in CMakeLists.txt."
echo "Install neuron to ${neuron_bin}, the custom plugin is placed in the ${neuron_bin}/plugins directory and the ${neuron_bin}/persistence/plugins.json is modified."
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/emqx-neuron.git
git@gitee.com:mirrors/emqx-neuron.git
mirrors
emqx-neuron
emqx-neuron
main

搜索帮助