环境说明
CentOS7.9系统升级软件补丁,关闭SELinux和防火墙。
安装ETXServer端
1、解压Server安装包至指定安装目录
[root@etxserver1 ~]# tar -xzf ETXServer-12.5.2.8800-linux-x64.tar.gz -C /opt/ [root@etxserver1 ~]# ll /opt/ total 0 drwxr-xr-x 7 root root 63 Oct 5 2023 etxsvr-12.0
2、进入安装目录执行配置命令查验预安装配置信息
[root@etxserver1 ~]# cd /opt/etxsvr-12.0/ [root@etxserver1 etxsvr-12.0]# bin/etxsvr config dashboardHttpEnable=1 dashboardHttpsEnable=1 adminHttpEnable=1 adminHttpsEnable=1 dashboardHttpPort=8080 dashboardHttpsPort=8443 adminHttpPort=8080 adminHttpsPort=8443 dashboardHttpBindAddr= dashboardHttpsBindAddr= adminHttpBindAddr= adminHttpsBindAddr= httpToHttpsRedirection=0 httpsCipherSuites= logLevel=INFO logFilter= accessLogEnable=0 accessLogCompress=0 accessLogRetainDays=7 accessLogFormat= eulaAccepted=0 maintenanceMode=0 maintenanceModeMessage=Server is in maintenance mode. Please try again later. disableHelpIconInDashboard=0 maxJavaHeapSize=50% etxdbShmSize=128 etxdbMaxWorkerProcess=10 etxdbWorkMemory=4
3、修改ETX Server默认的Web访问端口(可选)
[root@etxserver1 etxsvr-12.0]# bin/etxsvr config dashboardHttpPort=80 Server setting 'dashboardHttpPort' has updated to '80' successfully. Please restart ETX Server to apply the change. [root@etxserver1 etxsvr-12.0]# bin/etxsvr config adminHttpPort=80 Server setting 'adminHttpPort' has updated to '80' successfully. Please restart ETX Server to apply the change. [root@etxserver1 etxsvr-12.0]# bin/etxsvr config dashboardHttpsPort=443 Server setting 'dashboardHttpsPort' has updated to '443' successfully. Please restart ETX Server to apply the change. [root@etxserver1 etxsvr-12.0]# bin/etxsvr config adminHttpsPort=8443=443 Server setting 'adminHttpsPort=8443' has updated to '443' successfully. Please restart ETX Server to apply the change.
4、设置开机启动:bin/etxsvr bootstart enable
[root@etxserver1 etxsvr-12.0]# bin/etxsvr bootstart enable Enabling Exceed TurboX Server otetxsvr boot service. Created symlink from /etc/systemd/system/multi-user.target.wants/otetxsvr.service to /etc/systemd/system/otetxsvr.service. Bootstart status: on Service name : otetxsvr User account : root
5、启动服务:bin/etxsvr start
[root@etxserver1 etxsvr-12.0]# bin/etxsvr start Starting Exceed TurboX Server... Waiting Exceed TurboX Server with PID 8736 to become ready... Generating self-signed certificates for https... ETX Server Manager URL: http://etxserver1.sz.cgd.li:8080/etx/admin https://etxserver1.sz.cgd.li:8443/etx/admin Exceed TurboX Server started with PID 8736.
6、访问Web页面设置超管用户密码:https://ip:port/etx/admin
7、设置 etxadmin 用户的密码 (etxadmin 是内置的管理员帐户, 允许执行初始服务器配置。)