1.安装Ubuntu 20.04 LTS server 64位的测试机,安装时要确保镜像地址可访问,我这里填的是:http://mirrors.aliyun.com/ubuntu/
2.sudo apt install -y dialog
3.sudo apt install -y libpoco-dev python3-polib libcap-dev npm \
libpam-dev wget git build-essential libtool \
libcap2-bin python3-lxml libpng-dev libcppunit-dev \
pkg-config fontconfig
4.wget https://github.com/CollaboraOnline/online/releases/download/for-code-assets/core-cp-6.4-assets.tar.gz获取core-cp-6.4-assets.tar.gz文件,
获取失败,可以自己手动下载然后拷贝到Ubuntu里
5.tar xvf core-cp-6.4-assets.tar.gz解压文件
6.export LOCOREPATH=$(pwd)
7.git clone https://github.com/YOURUSERNAME/online.git collabora-online获取CollaboraOnline源码,获取失败,可以自己手动下载
8.cd collabora-online
9../autogen.sh
10../configure --enable-silent-rules --with-lokit-path=${LOCOREPATH}/include \
--with-lo-path=${LOCOREPATH}/instdir \
--enable-debug
11.make -j $(nproc)
12.make run