1
0
This commit is contained in:
2023-09-12 11:52:03 +08:00
parent f8d1c8751f
commit 7f8108ae77
5 changed files with 78 additions and 160 deletions

View File

@@ -19,7 +19,7 @@ WEB服务: nginx 1.14.0 (ubuntu)
操作系统环境:银河麒麟 kylin server v10
数据库环境mariadb-10.3.35-1.p01.ky10.aarch64
WEB服务: nginx 1.16.1-11.p01.ky10.aarch64
安装包名称格式OMC 5GC16.1.1.arm64.rpm (其中,'5GC16.1.1'为版本号, 'arm64'为硬件平台名称)
安装包名称格式OMC-5GC16.1.1.arm64.rpm (其中,'5GC16.1.1'为版本号, 'arm64'为硬件平台名称)
```
注意事项:
@@ -37,6 +37,8 @@ mariadb版本mariadb-server-3:10.3.35-1.p01.ky10.aarch64
软件安装
银河麒麟OS(CentOS)
```bash
# yum clean all
# yum makecache
@@ -117,10 +119,12 @@ MariaDB [(none)]>
```
### 1.2 安装WEB服务
### 1.2 安装WEB服务(可选)
注意:非第一次安装或者全新安装请跳过此步骤
OMC Web服务可通过nginx代理进行访问也可不需要代理进行访问
WEB服务: nginx-1.16.1-11.p01.ky10.aarch64
* 软件安装
@@ -155,24 +159,7 @@ WEB服务: nginx-1.16.1-11.p01.ky10.aarch64
### 2.1 安装OMC软件包
* 导入签名证书
OMC软件包使用了RPM的GPG数字签名第一次安装时需要导入签名证书, OMC的签名证书为RPM-GPG-KEY-OMCUSER
```bash
# rpm --import RPM-GPG-KEY-OMCUSER
```
* 验证软件包完整性
显示"digests signatures OK"表示软件包是合法签名
```bash
# rpm -K OMC\ 5GC16.1.1.arm64.rpm
OMC-5GC16.1.1-20230628.ky10.aarch64.rpm: digests signatures OK
```
* 安装OMC软件包
安装OMC软件包
```bash
# rpm -ivh OMC\ 5GC16.1.1.arm64.rpm
@@ -189,8 +176,7 @@ omc
│   ├── cpsshkey.sh
│   ├── crontask
│   ├── importdb.sh
│   ├── nbi_alarm
│   ├── ne-hosts
│   ├── nehosts
│   ├── omcsvc.sh
│   ├── restagent
│   └── tables.txt
@@ -200,7 +186,6 @@ omc
│   ├── crontask.yaml
│   ├── db
│   ├── default
│   ├── nbi_alarm.json
│   ├── restconf.yaml
│   ├── schema
│   └── tasks.yaml
@@ -220,7 +205,7 @@ omc
#
```
### 2.2 修改nginx服务的OMC配置
### 2.2 修改nginx服务的OMC配置(可选)
安装软件包成功后可以根据实际环境对nginx的OMC配置进行修改前端Web的默认侦听端口是8888除了侦听端口其它不用修改
@@ -292,7 +277,8 @@ server {
# firewall-cmd --add-port=6060/tcp --permanent
# firewall-cmd --add-port=31232-31271/tcp --permanent
# firewall-cmd --add-port=2222/tcp --permanent
# firewall-cmd --add-port=2152/udp --permanent
# firewall-cmd --add-port=6379/tcp --permanent
# firewall-cmd --add-port=2152/udp --permanent
# firewall-cmd --reload
```