1. Trang chủ
  2. » Luận Văn - Báo Cáo

Hướng dẫn cài đặt document server (office online) trên linux

3 3 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 3
Dung lượng 315,05 KB

Nội dung

HƯỚNG DẪN CÀI ĐẶT DOCUMENT SERVER (OFFICE ONLINE) TRÊN LINUX Chú giải: Document server chương trình tiện ích cơng cụ ứng dụng văn phịng chạy công nghệ web (Office online) Nguồn: https://helpcenter.onlyoffice.com/es/server/linux/document/linuxinstallation.aspx INSTALLING DOCUMENT SERVER FOR LINUX ON DEBIAN, UBUNTU AND DERIVATIVES Introduction Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Off ice Open XML formats: docx, xlsx, pptx and enabling collaborative editing in real time Functionality • Document Editor • Spreadsheet Editor • Presentation Editor • Documents application for iOS • Collaborative editing • Hieroglyph support • Support for all the popular formats: DOC, DOCX, TXT, ODT, RTF, ODP, EPUB, ODS, XLS, XLSX, CSV, PPTX, HTML If you want to use Document Server together with Community Server, they must be installed on two different machines This guide will show you how to install Document Server Linux version to your machine System requirements • Procesador procesador de doble núcleo una frecuencia de reloj de GHz o superior • RAM GB or more • HDD at least 40 GB of free space • Requisitos adicionales at least GB of swap • OS 64-bit Debian, Ubuntu or other compatible distribution with kernel version 3.13 or later • Additional Requirements o PostgreSQL: version 9.1 or later o NGINX: version 1.3.13 or later o Node.js: version 6.9.1 or later o libstdc++6: version 4.8.4 or later o Redis o RabbitMQ Installing Document Server Installation with Debian based distributives also requires the presence of later), Node.js (version 6.9.1 or libstdc++6, NGINX and PostgreSQL in the system All the necessary instrutions for these components and their dependencies installation can be found at their official websites There are other dependencies installed together with Document Server: • libcurl3 • libxml2 • supervisor • fonts-dejavu • fonts-liberation • ttf-mscorefonts-installer • fonts-crosextra-carlito • fonts-takao-gothic • fonts-opensymbol These dependencies are installed automatically when you use Ubuntu 14.04 LTS or later Earlier distributives might require their manual installation Installing dependencies Document Server uses Node.js (version 6.9.1 or later), NGINX and PostgreSQL as database Dependencies found in the system repository will be installed automatically at Document Server installation using the apt-get install command Adding the repository containing the up-to-date ttf-mscorefonts-installer package versions: Add repository: echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" | sudo tee -a /etc/apt/sources.list Adding the repository containing the up-to-date Node.js package versions: Add repository: curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - Installing and configuring PostgreSQL: Install the PostgreSQL version included in your version of Ubuntu: sudo apt-get install postgresql If you want to install some other PostgreSQL version from the PostgreSQL Repository, please see the official PostgreSQL documentation for more detail on that After PostgreSQL is installed, create the PostgreSQL database and user: The created database must have onlyoffice both for user and password sudo -i -u postgres psql -c "CREATE DATABASE onlyoffice;" sudo -i -u postgres psql -c "CREATE USER onlyoffice WITH password 'onlyoffice';" sudo -i -u postgres psql -c "GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;" Installing redis: sudo apt-get install redis-server Installing rabbitmq: sudo apt-get install rabbitmq-server Ubuntu distributives prior to 14.04 LTS might require some other dependencies to be installed Changing the default Document Server port By default Document Server listens to the incoming connections using port 80 Starting with version 4.3 you can change the port for Document Server if you plan to use it instead of the default one If you are going to change the default port, make sure that it is open for the incoming/outgoing connections See the complete list of the ports used by Document Server To that you will need to change the default port for the debconf system, running the command: echo onlyoffice-documentserver onlyoffice/ds-port select | sudo debconf-set-selections Please write the port number instead of the in the above command WarningIf you want to change the Document Server protocol to HTTPS, not change the port to 443, but use this instruction instead After that you can continue with Document Server installation Installing Document Server Add GPG key: sudo apt-key adv keyserver hkp://keyserver.ubuntu.com:80 recv-keys CB2DE8E5 Add Document Server repository: sudo echo "deb http://download.onlyoffice.com/repo/debian squeeze main" | sudo tee /etc/apt/sources.list.d/onlyoffice.list While the APT package is built against Debian Squeeze, it is compatible with a number of Debian derivatives (including Ubuntu) which means you can use the same repository across all these distributions Update the package manager cache: sudo apt-get update Install Document Server sudo apt-get install onlyoffice-documentserver During the installation process, you will be asked to provide a password for the onlyoffice PostgreSQL user Please enter the onlyoffice password that you have specified when configuring PostgreSQL After that Document Server will be run as a process The package will be updated just like any other deb package Now you can connect Document Server to Community Server or integrate it into your own document management system using the provided API Running Document Server using HTTPS In most cases accessing the portal via HTTPS protocol is much more secure than via HTTP which is used by default You can easily run Document Server using secure connection Please see the details here to learn more on how this can be done

Ngày đăng: 14/08/2023, 17:19

w