feat: update dgiot_n176

This commit is contained in:
dawnwinterLiu 2022-06-02 13:34:21 +08:00
parent 44fe71bb2b
commit eea834eaad

View File

@ -901,35 +901,6 @@ function install_dgiot() {
# 修改dgiot.conf
${csudo} bash -c "sed -ri 's!/etc/ssl/certs/domain_name!/etc/ssl/certs/${domain_name}!g' ${install_dir}/go_fastdfs/files/package/dgiot/etc/emqx.conf"
cat > ${install_dir}/go_fastdfs/files/package/dgiot/data/loaded_plugins << "EOF"
{emqx_management, true}.
{emqx_dashboard, true}.
{emqx_modules, false}.
{emqx_recon, true}.
{emqx_retainer, true}.
{emqx_telemetry, true}.
{emqx_rule_engine, true}.
{emqx_bridge_mqtt, false}.
{dgiot, true}.
{dgiot_parse, true}.
{dgiot_api, true}.
{dgiot_bridge, true}.
{dgiot_device, true}.
{dgiot_tdengine, true}.
{dgiot_task, true}.
{dgiot_http, true}.
{dgiot_ffmpeg, true}.
{dgiot_license, true}.
{dgiot_topo, true}.
{dgiot_opc, true}.
{dgiot_meter, true}.
{dgiot_matlab, true}.
{dgiot_niisten, true}.
{dgiot_modbus, true}.
{dgiot_group, true}.
{dgiot_ffmpeg, true}.
EOF
if [ -d ${install_dir}/dgiot/ ]; then
clean_service dgiot
mv ${install_dir}/dgiot ${backup_dir}/dgiot/
@ -1515,9 +1486,9 @@ dgiot_shell
# set parameters by default value
deployType=single # [single | cluster | devops | ci]
domain_name="prod.iotn2n.com" # [prod.iotn2n.com | your_domain_name]
software="dgiot_n165" # [dgiot_n165| dgiot_n]
software="dgiot_n176" # [dgiot_n176| dgiot_n]
plugin="dgiot" # [dgiot | dgiot_your_plugin]
dgiotmd5="da072c15a460fb8ef7095d142b3fcc10" # [dgiotmd5]
dgiotmd5="6ad83cd8b1e00c0551f0f911e55273e9" # [dgiotmd5]
pg_eip="changeyourip" # [datanode_eip]
pg_auth='changeyourpassword' # [pg_auth]