Author's posts

cisco 스위치 PoE 관련 명령어.

시스코 스위치(ios-xe) PoE 관련 명령어 1. poe 상태 확인 show power inline 명령으로 확인 할 수 있다. Switch#show power inline Module Available Used Remaining (Watts) (Watts) (Watts) —— ——— ——– ——— 1 740.0 30.8 709.2 Interface Admin Oper Power Device Class Max (Watts) ——— —— ———- ——- ——————- —– —- Gi1/0/1 auto off 0.0 n/a …

Continue reading

vCSA 6.0 cli 명령어로 설치하기.

vCSA 6.0 cli에서 명령어로 설치하기. 사용중이던 vCSA6.0이 아래처럼 인벤토리 서비스를 실행하지 못하는 현상이 발생하였다. localhost:~ # service-control –all –status …. applmgmt (VMware Appliance Management Service) vmafdd (VMware Authentication Framework) vmcad (VMware Certificate Service) vmdird (VMware Directory Service) vmware-cis-license (VMware License Service) vmware-cm (VMware Component Manager) vmware-rhttpproxy (VMware HTTP Reverse Proxy) vmware-sca (VMware Service Control Agent) …

Continue reading

시스코 ios-xe 업그레이드 (스택 구성에서)

시스코 스위치 C9200L-48-TX의 os 업그레이드 하기.

PostgreSQL 기초 사용법.

postgresql 기초 사용법 – 처음 사용해봄. *작업환경 OS: ubuntu 22.04 PostgreSQL: 14.12 1. 데이터베이스 접속. 데이터베이스에 접속하기위해서는 postgres 계정을 이용한다. 리눅스 패키지로 설치한 경우에는 postgres 계정이 만들어져 있다. su 명령으로 계정을 전환한다. $ sudo su – postgres 데이터베이스에 접속하기 위해 psql 명령을 사용한다. $ psql psql (14.12 (Ubuntu 14.12-0ubuntu0.22.04.1)) Type “help” for help. postgres=#

Continue reading

[eve-ng labs.] Juniper 스위치 OSPF 설정

주니퍼 vEX 스위치 OSPF(open shortest path first) 설정하기. * 시험환경: eve-ng. 사용 스위치: Juniper vEX 스위치, cisco vIOS 스위치 R1, R2, R3 : 주니퍼 vEX 스위치 Switch-1, Switch-2: 시스코 vIOS 스위치 구성은 아래 처럼. 1. R1 설정(Designated Router) 각 라우터와 연결된 인터페이스 설정 [edit] root@R1# set interfaces ge-0/0/0 unit 0 family inet address 10.10.1.1/30 [edit] …

Continue reading

[eve-ng labs.] Juniper 스위치 VRRP 설정.

주니퍼 스위치 VRRP(Virtual Router Redundancy Protocol) 설정하기. * 작업환경: eve-ng 커뮤니티 버전, 주니퍼 vEX 스위치. * 구성 : 아래 그림과 같이 시험환경 구성. 1. 스위치1, 스위치2의 vrrp 설정. 1.1. R1 스위치 설정 L2 스위치와 연결된 인터페이스에 IP 주소와 VRRP설정을한다. [edit] root# set interfaces ge-0/0/0 unit 10 family inet address 10.10.1.5/29 vrrp-group 10 virtual-address 10.10.1.1 priority …

Continue reading

[eve-ng labs.] Junos static routing

주니퍼 스위치 static 라우팅 설정. 작업환경: eve-ng, vEX 스위치 구성은 아래 그림과 같음. 1. Router 설정. 하단 스위치와 연결된 인터페이스에 IP 주소를 설정한다. [edit] root# set system host-name vEX-Router [edit] root@vEX-Router# set interfaces ge-0/0/0 unit 0 family inet address 10.10.1.1/30 [edit] root@vEX-Router# set interfaces ge-0/0/1 unit 0 family inet address 10.10.2.1/30 [edit] root@vEX-Router# commit commit …

Continue reading

[eve-ng labs.] Junos 기초.

[eve-ng labs.]주니퍼 junos 기초. * 시험 환경: eve-ng 커뮤니티 버전, 주니퍼 vEX 스위치. 구성은 아래그림처럼. junos에서, 설정 및 설정 확인은 set, delete, commit, show 명령어를 이용한다. set : 설정, 설정 변경 delete : 설정 제거 commit : 변경사항 적용, 저장 show : 설정 확인. 1. 로그인, root 비밀번호 설정 그리고 설정 저장. 부팅후 로그인 ID: …

Continue reading

Ubuntu, python3+Django+Oracle19c(grid) 사용하기.

우분투 리눅스에서 python3, django, oracle 19c 사용하기. * 작업 환경 OS: ubuntu 22.04 ip address : 172.30.124.211 (오라클 설치된 서버 아님) python: python3.10.12 oracle client: 설치됨. django: 5.0.4 Oracle 데이터베이스 : SCAN IP 172.30.124.241, 172.30.124.242,172.30.124.243 * 주의사항 cx_Oracle 패키지를 설치하면 오라클 클라이언트없이 파이썬 스크립트를 작성하고 실행할 수 있다. 하지만 Django 프로그램에서 오라클 데이터베이스를 사용하려면, 오라클 …

Continue reading

우분투 리눅스에 오라클 클라이언트 설치(rpm 패키지)

Ubuntu 리눅스에 Oracle Client 설치하기 – rpm 패키지로 작업 환경 * 클라이언트: os: ubuntu 22.04 IP 주소: 172.30.124.211 오라클 데이터베이스 서버: OS: Oracle Linux 8 오라클 데이터베이스: oracle 19c 그리드환경 서비스 이름: orcl SCAN-IP 주소: fox-scan (172.20.124.241, 172.20.124.242, 172.30.124.243) 오라클 클라이언트는 데비안 패키지 배포는 지원하지 않으므로, rpm 패키지나 tar 파일을 받아서 설치해야한다. 여기서는 rpm 패키지를 …

Continue reading