宝塔 一键部署增加EduSoho程序
json列表增加edusoho
/www/server/panel/plugin/deployment/list.json
{
"username": "",
"ps": "EduSoho v8.3.20<font style='color: #fff;padding: 1px 4px;position: relative;margin-left: 6px;border-radius: 3px;background-color: #fc6d26;'>推荐</font>",
"password": "",
"run": "/web",
"name": "edusoho",
"title": "<a href='http://www.edusoho.com/' class='btlink' target='_blank'>EduSoho</a>",
"config": "",
"chmod": "",
"ext": "",
"version": "8.3.20",
"install": "/",
"download": "{Download}/edusoho-8.3.20.tar.gz",
"php": "56,70,71,72",
"type": 1,
"md5": "7b1940470fa1d0f52daecd10b0e6878d"
}
上传压缩包至文件
/www/server/panel/plugin/deploymentpackage/edusoho.zip
修改默认站点目录
可以搜索 name="path"
字段
/www/server/panel/plugin/deployment/index.html
<div class="line"><span class="tname">根目录</span>\
<div class="info-r c4"><input id="inputPath" class="bt-input-text mr5" name="path" value="/wwwroot/" placeholder="网站根目录" style="width:398px" type="text"><span class="glyphicon glyphicon-folder-open cursor" onclick="ChangePath(\'inputPath\')"></span> </div>\
</div>