nextcloud16 centos7.6 自动 yum snap 安装
epelyum install epel-releasedockeryum -y install dockersystemctl enable dockersystemctl start dockerdocument server onlyofficemkdir -p /var/log/onlyofficemkdir -p /var/www/onlyoffice/Datamk...
·
nextcloud + onlyoffice document server 快速搭建
nextcloud 使用snap (国内没镜像,真慢,如果想快点,就手动安装吧)
epel
yum install epel-release
docker
yum -y install docker
systemctl enable docker
systemctl start docker
document server onlyoffice
mkdir -p /var/log/onlyoffice
mkdir -p /var/www/onlyoffice/Data
mkdir -p /var/lib/onlyoffice
mkdir -p /var/lib/postgresql
sudo docker run -i -t -d -p 9300:80 --restart=always \
-v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice \
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data \
-v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
-v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql onlyoffice/documentserver
snap
yum install snapd
systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap
nextcloud
snap install nextcloud
后继
- 浏览器访问 IP
- 初始化nextcloud
- 右上角新增app 搜索onlyoffice
- 设置onlyoffic 输入IP:9300
snap命令参考
#切换至扩展库
snap refresh hugo --channel=extended
#切换至稳定库默认()
snap refresh hugo --channel=stable.
### 更新一个snap包,
sudo snap refresh <snap name>
### 列出已经安装的snap包
sudo snap list
### 搜索snap包
sudo snap find <text to search>
### 安装snap包
sudo snap install <snap name>
### 把一个包回退到以前安装的版本
snap revert <snap name>
### 删除snap包
sudo snap remove <snap name
参考
- https://hub.docker.com/_/nextcloud/
- https://github.com/nextcloud/docker
- https://docs.nextcloud.com/server/16/admin_manual/installation/source_installation.html#installing-via-snap-packages
- https://helpcenter.onlyoffice.com/de/server/docker/document/docker-installation.aspx
- https://helpcenter.onlyoffice.com/de/server/docker/document/install-integrated.aspx
更多推荐
已为社区贡献1条内容
所有评论(0)