Repository navigation
Conversation
新增基于 Bash 的全流程部署脚本,支持 Ubuntu/Debian/CentOS 等系统,自动完成环境安装、数据库初始化、前后端编译、运行目录组装、Nginx 配置及服务自检启动。
Owner
|
好的,感谢,我来用个空服务器先验证下
神话
***@***.***
原始邮件
发件人:LCK ***@***.***>
发件时间:2026年9月3日 23:22
收件人:jishenghua/jshERP ***@***.***>
抄送:Subscribed ***@***.***>
主题:[jishenghua/jshERP] feat(deploy): 添加 jshERP 一键部署脚本 (PR #164)
本人部署此项目时发现部署操作较为繁琐,故新增此一键部署脚本,已实机测试,可完美部署。
新增基于 Bash 的全流程部署脚本,支持 Ubuntu/Debian/CentOS 等系统,自动完成环境安装、数据库初始化、前后端编译、运行目录组装、Nginx 配置及服务自检启动。
You can view, comment on, or merge this pull request online at:
#164
Commit Summary
4095296 feat(deploy): 添加 jshERP 一键部署脚本
File Changes
(1 file)
A deploy.sh (650)
Patch Links:
https://github.com/jishenghua/jshERP/pull/164.patch
https://github.com/jishenghua/jshERP/pull/164.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.
|
Owner
|
验证完有问题,我的是centos7.5版本的
开始直接安装不了,找了教程之后,换了可以用的源,然后可以执行了。
后来提示这个:
[jshERP] jshERP(管伊佳ERP) 一键部署开始 @ 2026-09-03 19:04:04
[jshERP] 系统: centos | 安装目录: /opt/jshERP | Web端口: 3000
-------------------------------------------------------------------------
[jshERP] [环境] 检测 JDK ...
[ OK ] Java 就绪: openjdk version "1.8.0_412"
[jshERP] [环境] 检测 Maven ...
[ OK ] Maven 就绪: Apache Maven 3.0.5 (Red Hat 3.0.5-17)
[jshERP] [环境] 检测 Node.js ...
[jshERP] 安装缺失依赖: nodejs npm
没有可用软件包 nodejs。
没有可用软件包 npm。
错误:无须任何处理
[FAIL] 安装 nodejs npm 失败,请检查网络/软件源后重试
神话
***@***.***
原始邮件
发件人:LCK ***@***.***>
发件时间:2026年9月3日 23:22
收件人:jishenghua/jshERP ***@***.***>
抄送:Subscribed ***@***.***>
主题:[jishenghua/jshERP] feat(deploy): 添加 jshERP 一键部署脚本 (PR #164)
本人部署此项目时发现部署操作较为繁琐,故新增此一键部署脚本,已实机测试,可完美部署。
新增基于 Bash 的全流程部署脚本,支持 Ubuntu/Debian/CentOS 等系统,自动完成环境安装、数据库初始化、前后端编译、运行目录组装、Nginx 配置及服务自检启动。
You can view, comment on, or merge this pull request online at:
#164
Commit Summary
4095296 feat(deploy): 添加 jshERP 一键部署脚本
File Changes
(1 file)
A deploy.sh (650)
Patch Links:
https://github.com/jishenghua/jshERP/pull/164.patch
https://github.com/jishenghua/jshERP/pull/164.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.
|
支持通过 JDK8_URL 指定直链 官方源下载失败后自动切换清华 TUNA 镜像 完善下载失败时的排查
Author
|
我又修改了一下,并以CentOS 7.5、CentOS 7.9、CentOS 8.5、Debian 12.7、Debian 13.4、Ubuntu 24.04、Ubuntu 24.10、Ubuntu 25.04 共八个发行版进行实机测试,测试结果均未发现异常,烦请再测试下 |
Owner
|
Cannot find a valid baseurl for repo: base/7/x86_64
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error"
[WARN] 安装 mariadb-server 失败(已容错, 由调用方决定回退)
[WARN] 当前已安装的数据库相关软件包:
mariadb-libs-5.5.56-2.el7.x86_64
[WARN] 守护进程文件(mysqld/mariadbd)实际所在位置:
[WARN] 若软件源受限(如 Ubuntu 仅启用 main / 内网镜像未同步 universe / 索引过期), 请先:
[WARN] 1) 检查软件源配置并执行: apt-get update(或 yum makecache)
[WARN] 2) 安装数据库: yum install -y mariadb-server(或 mysql-server)
[WARN] 修复后使用 --skip-deps 重新执行本脚本
[FAIL] 安装后仍未定位到 mysqld/mariadbd, 请按上方信息检查软件源与网络
安装提示这个,我依旧是CentOS7.5。要不重新搞一个docker安装程序吧,这个兼容很难的,就算我能安装,换下一个人也不一定能安装上,很难普及,因为用的系统版本太多了。
神话
***@***.***
原始邮件
发件人:LCK ***@***.***>
发件时间:2026年9月4日 23:37
收件人:jishenghua/jshERP ***@***.***>
抄送:季圣华 ***@***.***>, Comment ***@***.***>
主题:Re: [jishenghua/jshERP] feat(deploy): 添加 jshERP 一键部署脚本 (PR #164)
lck68 left a comment (jishenghua/jshERP#164)
我又修改了一下,并以CentOS 7.5、CentOS 7.9、CentOS 8.5、Debian 12.7、Debian 13.4、Ubuntu 24.04、Ubuntu 24.10、Ubuntu 25.04 共八个发行版进行实机测试,测试结果均未发现异常,烦请再测试下
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you commented.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本人部署此项目时发现部署操作较为繁琐,故新增此一键部署脚本,已实机测试,可完美部署。
新增基于 Bash 的全流程部署脚本,支持 Ubuntu/Debian/CentOS 等系统,自动完成环境安装、数据库初始化、前后端编译、运行目录组装、Nginx 配置及服务自检启动。