CentOS环境下Dolphin更新与升级指南
在CentOS系统中,“Dolphin”主要有两种常见指向:一是Apache DolphinScheduler(分布式工作流调度系统),二是KDE Plasma桌面环境的默认文件管理器。以下指南将分别针对这两种情况进行详细说明。
conf/
目录下的所有配置文件、resources/
目录下的自定义脚本及JAR包等资源,避免升级过程中数据丢失。sh ./script/stop-all.sh
命令停止全部服务。./bin/env/dolphinscheduler_env.sh
中的数据库配置,手动下载所需JDBC驱动jar包并放入./tools/libs
目录;执行sh ./tools/bin/upgrade-schema.sh
脚本完成数据库结构升级。bin/env/install_config.conf
配置文件(根据伪集群或集群部署调整相关参数),运行sh ./bin/start-all.sh
重启所有服务。curl http://localhost:12345/dolphinscheduler/actuator/health
命令检查API健康状态,使用tail -n 100 logs/api-server.log
查看日志确认无异常。sudo yum update -y
sudo dnf update -y
(若未安装DNF,可通过sudo yum install dnf
安装)。sudo yum update @kde-plasma-desktop -y
(更新整个KDE Plasma桌面环境,包含Dolphin)sudo dnf upgrade @kde-plasma-desktop -y
。dolphin
命令重启文件管理器,或在图形界面中重新打开。sudo yum groupinstall "Development Tools" -y # 安装开发工具链
sudo yum install qt5-qtbase-devel qt5-qtdeclarative-devel kdelibs-devel -y # 安装Dolphin依赖的Qt及KDE库
```。
https://download.kde.org/stable/dolphin/
)下载最新稳定版源码(如dolphin-5.x.x.tar.xz
);tar -xf dolphin-5.x.x.tar.xz && cd dolphin-5.x.x
;mkdir build && cd build
cmake .. # 配置编译选项
make -j$(nproc) # 编译(使用多核加速)
sudo make install # 安装到系统目录
```。
dolphin
命令启动最新版本。logs/api-server.log
、KDE的~/.xsession-errors
)定位问题。