四、啟動ODF文件Web應用元件主程式並確認狀態

# systemctl enable modaodfweb
# systemctl restart modaodfweb

使用以下指令就可以確認初始化服務是否已正常啟動,指令如下:

# netstat -tlnp

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 748/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 902/master
tcp6 0 0 :::80 :::* LISTEN 744/httpd
tcp6 0 0 :::22 :::* LISTEN 748/sshd
tcp6 0 0 ::1:25 :::* LISTEN 902/master
tcp6 0 0 :::9980 :::* LISTEN 26766/modaodfweb

如果出現9980那行,代表「ODF文件Web應用元件」服務已啟動,您可以重新啟動系統,再測試服務是否可正常啟動。


Revision #1
Created 29 December 2023 07:08:01 by Jeff Huang
Updated 29 December 2023 07:08:29 by Jeff Huang