Spire.Cloud 私有化部署教程(一) - CentOS 7 系统

Spire.Cloud支持的Linux服务器系统包括CentOS和Ubuntu(推荐使用CentOS 7和Ubuntu 18版本),本教程主要介绍如何在CentOS 7系统上实现Spire.Cloud私有化部署。centos

详细步骤以下:浏览器

1、安装CentOS 7系统

首先,须要在服务器上安装CentOS 7系统,若是已安装,可跳过该步骤。服务器

一、安装CentOS 7,进入如下界面,点击continue。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
二、选择最小安装。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
三、设置分区,选择默认设置便可。网络

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
四、开启网络。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
五、配置完毕开始安装。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
六、设置root帐户密码。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
七、安装完毕后重启系统。ide

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统

2、系统配置

一、关闭防火墙。
1)首先查看防火墙的状态:工具

firewall-cmd –-state

2)关闭防火墙:测试

systemctl stop firewalld.service

3)再次查看状态,检查防火墙是否已经关闭:centos7

firewall-cmd –-state

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
二、配置静态IP地址。3d

1)使用命令:vi /etc/sysconfig/network-scripts/ifcfg-ens32(须要查看后才能确认这个信息),打开配置文件。rest

按Insert键开始编辑,将bootproto的值改成static,并在末尾加上IP地址,子网掩码,网关和DNS服务器。编辑完以后按ESC键退出编辑,而后再按冒号(:)键,输入指令wq保存退出。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
2)而后输入命令:systemctl restart network重启网络服务。

3)输入命令ip addr查看当前ip地址,确认是否修改为功。

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统

3、部署Spire.Cloud

一、请联系获取Spire.Cloud产品部署包。邮箱:sales@e-iceblue.com;电话:028-81705109。

二、将产品部署文件拷贝到CentOS 7系统中,能够借助winscp工具进行拷贝。具体步骤以下。

1)首先登录。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
2)将文件直接拷贝进去,这里是拷贝到了/root/目录下。

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
三、安装产品

在root帐户权限下执行脚本install_centos7.sh。

执行命令: sh install_centos7.sh;也能够选择打包日志:sh install_centos7.sh >1.log

这里部署耗时较长(2h+),请耐心等待。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
四、应用license

1)将license文件拷贝到spire.cloud/service/ConverterService/bin/license目录下。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
2)切换到binding_license.sh所在目录(针对本次部署/root/),执行脚本binding_license.sh、sh binding_license.sh。
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
注:私有化部署须要应用有效的license文件,不然在线编辑服务和WEB API服务将不能正常运行。
若是你须要临时license文件,请联系邮箱:sales@e-iceblue.com;电话:028-81705109。


至此,Spire.Cloud已部署完成。如今你能够在本地服务器上使用Spire.Cloud在线编辑服务在线建立、编辑、保存和打印Office(Word/Excel/PowerPoint)文档;或使用WEB API,在应用程序中操做Office(Word/Excel/PowerPoint)及PDF文档,而后使用在线编辑查看结果文档。

如今测试在线编辑。在浏览器地址栏输入“[服务器ip]:3000”(针对本次部署输入192.168.0.108:3000),出现如下界面:
Spire.Cloud 私有化部署教程(一) - CentOS 7 系统
点击Create Document,建立一个空白Word文档并编辑内容:

Spire.Cloud 私有化部署教程(一) - CentOS 7 系统

相关文章
相关标签/搜索