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 系統

相關文章
相關標籤/搜索