Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
openxg-5gcs-release
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhaoJingguo
openxg-5gcs-release
Commits
3695f3c9
Commit
3695f3c9
authored
Feb 18, 2022
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.md
parent
777288f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
73 additions
and
73 deletions
+73
-73
readme.md
readme.md
+73
-73
No files found.
readme.md
View file @
3695f3c9
# OpenXG Core Network Installation Instructions
> ## docker 部署
1.
下载源码
```
shell
git clone http://git.opensource5g.org/openxg/openxg-5gcs-release.git
```
2.
安装docker、docker-compose
```
shell
cd
openxg-5gcs-release/scripts
./install.sh
-I
```
3.
创建docker网桥
```
shell
docker network create docker-openxg
--subnet
=
172.11.200.0/24
-o
com.docker.network.bridge.name
=
docker-openxg
```
4.
添加静态路由
在基站所在主机中执行以下命令:
```
shell
route add
-net
172.11.200.0 netmask 255.255.255.0 gw <核心网所在主机的IP>
```
5.
启动数据库
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-mysql.yml up
-d
```
> ## 运行
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-3-network-element.yml up
-d
#构建并启动容器
```
> ## 关闭
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-3-network-element.yml down
#关闭并删除容器
```
> ## 日志
```
shell
cd
openxg-5gcs-release/docker
docker-compose
-f
docker-3-network-element.yml logs
-f
amf
#查看amf日志
docker-compose
-f
docker-3-network-element.yml logs
-f
smf
#查看smf日志
docker-compose
-f
docker-3-network-element.yml logs
-f
spgwu
#查看spgwu日志
```
> ## 网元配置文件
# OpenXG Core Network Installation Instructions
> ## docker 部署
1.
下载源码
```
shell
git clone http://git.opensource5g.org/openxg/openxg-5gcs-release.git
```
2.
安装docker、docker-compose
```
shell
cd
openxg-5gcs-release/scripts
./install.sh
-I
```
3.
创建docker网桥
```
shell
docker network create docker-openxg
--subnet
=
172.11.200.0/24
-o
com.docker.network.bridge.name
=
docker-openxg
```
4.
添加静态路由
在基站所在主机中执行以下命令:
```
shell
route add
-net
172.11.200.0 netmask 255.255.255.0 gw <核心网所在主机的IP>
```
5.
启动数据库
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-mysql.yml up
-d
```
> ## 运行
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-3-network-element.yml up
-d
#构建并启动容器
```
> ## 关闭
```
shell
cd
openxg-5gcs-release/docker-compose
docker-compose
-f
docker-3-network-element.yml down
#关闭并删除容器
```
> ## 日志
```
shell
cd
openxg-5gcs-release/docker
-compose
docker-compose
-f
docker-3-network-element.yml logs
-f
amf
#查看amf日志
docker-compose
-f
docker-3-network-element.yml logs
-f
smf
#查看smf日志
docker-compose
-f
docker-3-network-element.yml logs
-f
spgwu
#查看spgwu日志
```
> ## 网元配置文件
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment