INSTALL PLUGIN
description
To install a plugin
Syntax
INSTALL PLUGIN FROM [source]
source supports 3 kinds:
1. Point to a zip file with absolute path.
2. Point to a plugin dir with absolute path.
3. Point to a http/https download link of zip file.
PROPERTIES supports setting some configurations of the plugin, such as setting the md5sum value of the zip file.
example
1. Intall a plugin with a local zip file:
INSTALL PLUGIN FROM "/home/users/doris/auditdemo.zip";
2. Intall a plugin with a local dir:
INSTALL PLUGIN FROM "/home/users/doris/auditdemo/";
3. Download and install a plugin:
INSTALL PLUGIN FROM "http://mywebsite.com/plugin.zip";
4. Download and install a plugin, and set the md5sum value of the zip file:
INSTALL PLUGIN FROM "http://mywebsite.com/plugin.zip" PROPERTIES("md5sum" = "73877f6029216f4314d712086a146570");
keyword
INSTALL,PLUGIN