php onlyoffice,为 CentOS 安装ONLYOFFICE Document Server Centos|onlyoffice|office onlie|Document Server ...

为 CentOS 安装ONLYOFFICE Document Server

原创

Centos onlyoffice office onlie Document Server 04月23日发布

为 CentOS 安装ONLYOFFICE Document Server

===

## 硬件配置要求

CPU: 双核 2 GHz +

RAM: 2 GB+

HDD: 至少有2GB的剩余空间

Swap: 至少2 GB

操作系统: RedHat 64bit,CentOS类、Debian类的内核版本3.10以上;Mac OS X 版本 10.8+

环境依赖:

Mono: 4.2+

MySQL: 5.7+

Node.js: 6.10.3+

NGINX: 0.8.21+

## 安装

以 CentOS 7.4.* 为例进行安装

#### 1、安装 openresty

本项目中使用openresty代替nginx

```shell

yum install openresty

```

#### 2、安装 nodejs

```shell

yum -y install nodejs

```

#### 3、安装 Mono

```shell

rpm --import "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"

su -c 'curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo'

yum install mono-devel

```

#### 4、安装 Onlyoffice

Add GPG key:

```shell

sudo rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8320CA65CB2DE8E5"

```

Add the yum Community Server repository by creating the /etc/yum.repos.d/onlyoffice.repo file with the following contents:

```shell

[onlyoffice]

name=onlyoffice repo

baseurl=http://download.onlyoffice.com/repo/centos/main/noarch/

gpgcheck=1

enabled=1

```

Install Community Server:

```shell

yum install onlyoffice-communityserver

```

参考资料

[Installing Community Server for Red Hat, CentOS and derivatives](https://helpcenter.onlyoffice.com/server/linux/community/linux-installation-centos.aspx?_ga=2.258581901.648762986.1524449442-1400549834.1523243352 "Installing Community Server for Red Hat, CentOS and derivatives")

[Download And Install Mono](https://www.mono-project.com/download/stable/#download-lin-centos "Download And Install Mono")

[Installing Node.js via package manager](https://nodejs.org/en/download/package-manager/ "Installing Node.js via package manager")

[OpenResty - Installation](http://openresty.org/en/installation.html "OpenResty - Installation")

04月23日发布

分享到:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值