当前位置: 首页 > news >正文

ubuntu22.04.2安装onlyoffice(不更改默认端口版)

目录

一、配置阿里源

二、postgresql数据库

(一)安装postgresql

(二)创建postgresql数据库和用户

三、安装 rabbitmq

四、安装nginx-extras

五、安装ONLYOFFICE Docs

(一)Add GPG key

(二)Add ONLYOFFICE Docs repository

(三)Install mscorefonts

(四)Install ONLYOFFICE Docs

(五)启动ds-example服务

六、访问网站测试


本文是部署dzzoffice+onlyoffice的onlyoffice部署文档。

一、配置阿里源

在安装时建议使用阿里源,安装会快一点

cd /etc/apt/sudo cp sources.list sources.list_baksudo vim sources.list

sources.list内容改为:

deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse

deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse

deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse

sudo apt update

二、postgresql数据库

(一)安装postgresql

sudo apt-get install postgresql

(二)创建postgresql数据库和用户

sudo -i -u postgres psql -c "CREATE USER onlyoffice WITH PASSWORD 'onlyoffice';" sudo -i -u postgres psql -c "CREATE DATABASE onlyoffice OWNER onlyoffice;"

三、安装 rabbitmq

sudo apt-get install rabbitmq-server

四、安装nginx-extras

sudo apt-get install nginx-extras

五、安装ONLYOFFICE Docs

(一)Add GPG key

mkdir -p -m 700 ~/.gnupgcurl -fsSL https://download.onlyoffice.com/GPG-KEY-ONLYOFFICE | gpg --no-default-keyring --keyring gnupg-ring:/tmp/onlyoffice.gpg --importchmod 644 /tmp/onlyoffice.gpgsudo chown root:root /tmp/onlyoffice.gpgsudo mv /tmp/onlyoffice.gpg /usr/share/keyrings/onlyoffice.gpg

(二)Add ONLYOFFICE Docs repository

echo "deb [signed-by=/usr/share/keyrings/onlyoffice.gpg] https://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.listsudo apt-get update

(三)Install mscorefonts

sudo apt-get install ttf-mscorefonts-installer

(四)Install ONLYOFFICE Docs

sudo apt-get install onlyoffice-documentserver

输入postgresql用户onlyoffice的密码:onlyoffice

(五)启动ds-example服务

sudo systemctl start ds-example

六、访问网站测试

http://192.168.101.105/example/

 

http://www.lryc.cn/news/92735.html

相关文章:

  • 企业如何有效制定企业信息化发展规划?(附信息化模板)
  • 计算机网络填空题
  • 【HashMap】为什么用自定义的类做HashMap的Key时需要重写hashcode方法和equals方法
  • Flutter自定义对话框返回相关问题汇总
  • 002docker 安装
  • 软件工程师,全面思考问题很重要
  • 1.Apollo部署-linux
  • 【HTML】form标签
  • 基于SPAD / SiPM技术的激光雷达方案
  • 使用MATLAB工具模拟单/双频GPS和载波相位差分GPS
  • 当社恐成为技术面试官
  • Jetpack Compose:使用PagerIndicator和Infinity实现滚动的HorizontalPager
  • 2023年杭州/广州/东莞/深圳软考(中/高级)认证,618报名特惠
  • springboot项目外卖管理 day03-公共字段填充与新增删除分类
  • Nginx:Tomcat部署及优化(一)
  • Docker Swarm 集群搭建和使用 —— 筑梦之路
  • 是否需要更换CRM系统如何评估?如何确保更换成功?
  • CSDN竞赛57期题解
  • springboot+vue.js大学生竞赛报名作品评分管理系统
  • Python爱好者的自我修养(1):简单输入与输出
  • java SSM 摄影作品网站myeclipse开发mysql数据库springMVC模式java编程计算机网页设计
  • [Maven高级]->近万字文章带你深入了解Maven
  • 物联网Lora模块从入门到精通(五)光照与温湿度传感器
  • 【网络编程】计算机网络基础知识总结 | 运输层 |TCP协议
  • python关键知识点
  • c# 从零到精通 数组的操作-将两个一维数组合并成一个二维数组
  • Linux目录结构(与window目录结构对比+绝对路径和相对路径)
  • 投票活动小程序开发搭建
  • 代码随想录day18
  • QT+OpenGL高级光照 Blinn-Phong和Gamma校正