1.我有一个主机是 CentOS7.6,先前安装了宝塔 Linux 面板并自动安装了 nginx。 [root@VM_0_15_centos ~]# yum list installed | grep nginx Repository epel is listed more than once in the configuration bt-nginx117.x86_64 1.17.8-1.el7 installed
2.然后我安装 onlyoffice 的 doucmentserver,对于 nginx 的版本报错如下: [root@VM_0_15_centos ~]# yum install onlyoffice-documentserver Loaded plugins: fastestmirror, langpacks ... --> Finished Dependency Resolution Error: Package: onlyoffice-documentserver-5.5.0-165.x86_64 (onlyoffice) Requires: nginx >= 1.3.13 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
3.我试着加上--skip-broken 再次进行安装: [root@VM_0_15_centos ~]# yum install onlyoffice-documentserver --skip-broken Loaded plugins: fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile Resolving Dependencies ... Packages skipped because of dependency problems: GConf2-3.2.6-8.el7.x86_64 from base adwaita-cursor-theme-3.28.0-1.el7.noarch from base ... onlyoffice-documentserver-5.5.0-165.x86_64 from onlyoffice ... 依然是不能成功。
4.比较奇怪的是,我试过卸载掉 bt-nginx,然后使用 nginx-mainline 的官方源( http://nginx.org/en/linux_packages.html#stable )安装 nginx 官方包,却找不到 nginx 的包: [root@VM_0_15_centos ~]# yum --disablerepo="*" --enablerepo=nginx-mainline search nginx Loaded plugins: fastestmirror, langpacks Repository epel is listed more than once in the configuration Loading mirror speeds from cached hostfile =========================================================================== N/S matched: nginx ============================================================================ bt-nginx117.x86_64 : bt-panel nginx rpm nginx-debug.x86_64 : debug version of nginx nginx-debuginfo.x86_64 : Debug information for package nginx nginx-module-geoip.x86_64 : nginx GeoIP dynamic modules nginx-module-geoip-debuginfo.x86_64 : Debug information for package nginx-module-geoip nginx-module-image-filter.x86_64 : nginx image filter dynamic module nginx-module-image-filter-debuginfo.x86_64 : Debug information for package nginx-module-image-filter nginx-module-njs.x86_64 : nginx njs dynamic modules nginx-module-njs-debuginfo.x86_64 : Debug information for package nginx-module-njs nginx-module-perl.x86_64 : nginx Perl dynamic module nginx-module-perl-debuginfo.x86_64 : Debug information for package nginx-module-perl nginx-module-xslt.x86_64 : nginx xslt dynamic module nginx-module-xslt-debuginfo.x86_64 : Debug information for package nginx-module-xslt nginx-nr-agent.noarch : New Relic agent for NGINX and NGINX Plus unit.x86_64 : NGINX Unit unit-devel.x86_64 : NGINX Unit (development tools)
我的问题是: 1.有没办法能跳过 nginx 的检测安装 onlyoffice-documentserver 成功? 2.为何 nginx-mainline 里面 yum search 不到 nginx 的软件包? 谢谢各位大佬抽空帮我诊断。
1
care 2020-03-07 12:44:09 +08:00 via iPhone
装个 stable 版本试下或者用 docker
|
2
defunct9 2020-03-07 14:40:18 +08:00
这个东西神烦,onlyoffice 的保存的东西有时候是非标准的 xlsx。这是个大坑。然后一般跟 nextcloud 之类的整合。
用 snap 和 docker 是正解 |
3
care 2020-03-07 15:00:50 +08:00 via iPhone
@defunct9 我也打算弄一个来集成到 nextcloud 做在线预览,但是不爽 onlyoffice 用的 postgresql🤣
|
4
flowercoder 2020-03-07 15:29:03 +08:00
网盘+在线预览可以考虑夏 OneDrive+vps/或是直接上免费 scf 也可以,推荐可以测下速度搞,网上有 5t 教育空间那种。
最近我在搞天翼云盘+vps 的方案,最近搞活动,这个是下载上传的速度真爽。 |
5
aniua 2020-03-07 21:10:15 +08:00
downloadonly 之后 rpm 强制安装试试
|
8
kitinone OP @flowercoder 主要我们是内网使用,没法使用公网服务
|
9
defunct9 2020-03-10 15:02:42 +08:00 via iPhone
提个需求。本来 google sheet 是满足需求的。国内有啥好的团队 excel,内网,带历史版本,支持多人同时编辑,支持 api。only office 已经搭了,不满意的地方在于它保持的文件不标准,不支持 python 库直接打开。
|