2019/01 5

[Linux] 기존 구성된 CentOS7 서버 내 Swap 추가하기

[Linux] 기존 구성된 CentOS7 서버 내 Swap 추가하기[Linux] 기존 구성된 CentOS7 서버 내 Swap 추가하기1. 기존 2. Swap 추가 방법1) dd 로 swap용 공간 할당2) mkswap 으로 swap file 생성3) /etc/fstab 에 swap 추가 4) swapon -s 로 추가 확인1. 기존 기존에는 swap 영역이 8G로 설정되어 있다. [root@SERVER /]# free -h total used free shared buff/cache available Mem: 30G 1.9G 25G 84M 3.8G 28G Swap: 8.0G 0B 8.0G ​ ​2. Swap 추가 방법1) dd 로 swap용 공간 할당명령어 : dd if=/dev/zero of=/app/..

Linux 2019.01.14

[Linux] CentOS7 에서 LLDP 설정 및 동작 확인

[Linux] CentOS7 에서 LLDP 설정 및 동작 확인 [Linux] CentOS7 에서 LLDP 설정 및 동작 확인 1. LLDP 설치 및 실행 2. Link 에 LLDP 설정 및 설정 값 확인 3. LLDP 확인4. LLDP 설정 해제연동 스위치의 포트에서 LLDP Enable 설정 필요 1. LLDP 설치 및 실행 lldpad package 설치yum install -y lldpadlldpad daemon 실행systemctl start lldpad 2. Link 에 LLDP 설정 및 설정 값 확인 lldptool 명령어로 설정 lldptool set-lldp -i ens1f0 adminStatus=rxtx ;lldptool -T -i ens1f0 -V sysName enableTx=yes;..

Linux 2019.01.13

[vue.js] vue-router 설치 및 구성

[vue.js] vue-router 설치vue-router 는 url 주소에 대한 navigator 역할을 하는 중요 라이브러리이다.참고 사이트 : https://router.vuejs.org/kr/installation.html1. npm 을 사용한 vue-router 설치명령어 npm install vue-router --save2. router 관련 vue 파일 생성src 폴더 내 router 폴더를 생성router 폴더 내 index.js 파일을 생성아래 코드를 통해 router 를 추가한다. import Vue from 'vue' import VueRouter from 'vue-router' ​ Vue.use(VueRouter) ​ const router = new VueRouter({ mode..

Vue.js 2019.01.05

[Linux] Linux에서 PCI 슬롯에 실장된 HBA 카드 확인

[Linux] Linux에서 PCI 슬롯에 실장된 HBA 카드 확인HBA 실장 확인 명령어 : lspci | grep -i fibre[root@server app]# lspci | grep -i fibre 12:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01) 12:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01) d8:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (..

Linux 2019.01.02