01. 단계별 epc 설치 절차 - netipark/t_lte GitHub Wiki


[서버반 초기 설치 시]

설치 환경 조건
  • 인터넷 접속 가능한 게이트웨이 주소: 192.168.137.1
  • 외부 DNS 서버 주소: 8.8.8.8
  • 사내 형상관리 GIT 서버 주소: 10.168.30.110:8081
1. 서버반에 console 케이블 연결
2. 서버반 eth0(함체에 장착 시 함체 내부 쪽 포트)에 다음과 같이 IP 설정(DNS도 추가)
ip addr add 192.168.137.222/24 dev eth0
ip addr add 10.168.30.222/24 dev eth0
route add default gw 192.168.137.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
3. git 패키지 설치 및 사내 GIT 서버로부터 git clone 수행
apt-get update
apt-get install git

git clone -b testing http://10.168.30.110:8081/epc/DMC_EPC /opt
4. make_udev.sh 수행

/opt/OpenEPC/install/make_udev.sh

※ MAC 주소를 확인하여 eth0(함체에 장착 시 함체 내부 쪽 포트)를 www, eth1를 net_db로 명칭 변경

5. 리부팅
6. 인터페이스 활성화 및 IP/DNS 재설정
ifconfig www up
ifconfig net_db up
ip addr add 192.168.137.222/24 dev www
route add default gw 192.168.137.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
7. install 스크립트 수행

/opt/OpenEPC/install/install_system.sh -s allinone

8. 서비스 확인

아래와 같이 총 7개의 서비스가 로딩되어 있는 지 확인

root@ubuntu64:/opt/OpenEPC/install# screen -ls
There are screens on:
        12448.scscf     (12/06/2017 09:27:48 AM)        (Detached)
        12319.pcscf     (12/06/2017 09:27:47 AM)        (Detached)
        12219.icscf     (12/06/2017 09:27:46 AM)        (Detached)
        12114.pcrf      (12/06/2017 09:27:45 AM)        (Detached)
        12009.hss       (12/06/2017 09:27:44 AM)        (Detached)
        11898.mme       (12/06/2017 09:27:43 AM)        (Detached)
        11772.spgw      (12/06/2017 09:27:42 AM)        (Detached)
⚠️ **GitHub.com Fallback** ⚠️