在办公的时候,我们经常会用到协同编辑,今天我们使用开源的seafile和微软的Office Online Server 来安装一个属于自己的协同编辑。
一.设备信息
名称 | 系统版本 | 配置 | ip地址 |
---|---|---|---|
seafile_server | CentOS 7.6(core) | 4c 4g 50g | 192.168.2.129 |
office_online | winserver_2012_R2 | 4c 4g 60g | 192.168.2.131 |
客户机 | Windows7 | 2c 2g 50g | 192.168.2.1 |
2.此处应有环境初始化脚本,在之前的文章内可以找到。
二.安装系统
1. seafile_server:
1.1 下载安装包核安装脚本
安装脚本下载
wget https://raw.githubusercontent.com/haiwen/seafile-server-installer-cn/master/seafile-server-centos-7-amd64-http
安装包去官网下载,然后放到/opt
目录下
[root@seafile (21:45:25)~]# ls
anaconda-ks.cfg init.sh seafile-server-centos-7-amd64-http
[root@seafile (21:45:33)~]# ll /opt/
total 109028
-rw-r--r--. 1 root root 111643624 Dec 9 15:52 seafile-pro-server_6.3.6_x86-64.tar.gz
[root@seafile (21:45:38)~]#
1.2 使用一键脚本安装seafile专业版(安装前记得拍快照)
[root@seafile (21:45:38)~]# bash seafile-server-centos-7-amd64-http 6.3.6
This script installs the community edition of the Seafile Server on a Centos 7 64bit
- Newest Seafile server version, MariaDB, Memcached, NGINX -
-----------------------------------------------------------------
This installer is meant to run on a freshly installed machine
only. If you run it on a production server things can and
probably will go terrible wrong and you will loose valuable
data!
For questions or suggestions please contact us at
support@seafile.com
-----------------------------------------------------------------
Possible options:
1 = Seafile Community (Free) Edition (CE)
2 = Seafile Professional Edition (PRO)
1) CE
2) PRO
3) ABORT
Which Seafile version would you like to install? 2 ##选择PRO
...
中间下载软件部分省略,如果出现报错,恢复快照重装,或者重装系统。
(安装时间与网速有关,时间稍长的话可以借此时间看个电视剧,话说最近的庆余年挺好看的哈)
电视剧都看完了,居然还没下载完成,旅店的网速真是太慢了,如果是云服务器的话,速度应该会很快。如果你的下载速度和我一样,那我们就边下载边把Winserver的环境部署一下吧。
...
安装成功后屏幕会弹出如下信息,这个就是seafile的默认管理员的账户和密码,其他没用的我略掉了。
Server Address: http://127.0.0.1
Seafile Admin: admin@seafile.local
Admin Password: rahth7Eb
Seafile Data Dir: /opt/seafile/seafile-data
Seafile DB Credentials: Check /opt/seafile.my.cnf
Root DB Credentials: Check /root/.my.cnf
This report is also saved to /opt/seafile/aio_seafile-server.log
...
1.3 seafile主要程序的开启和关闭
seafile的开启和关闭
systemctl start seafile
systemctl status seafile
systemctl stop seafile
seahub的开启和关闭
systemctl start seahub
systemctl status seahub
systemctl stop seahub
安装完默认是开启的