# linux Macaddress (mac 주소) 확인 방법 #

dell 장비로 test 진행 dell 장비는 이더넷 포트 네임이 em1 로 부터 시작한다. [root@localhost ~]# ifconfig -a|grep ^em em1       Link encap:Ethernet  HWaddr 18:66:D  em2       Link encap:Ethernet  HWaddr 18:66:D  em3       Link encap:Ethernet  HWaddr 18:66:D   em4       Link encap:Ethernet  HWaddr 18:66:D   hp 장비 일 경우 하기와 같이 em 을 … 더 읽기

# subnet mask(서브넷 마스크) 비트 별 정리 #

bit  netmask Cisco mask   hosts  usable hosts  Class /4 240.0.0.0 15.255.255.255 268435456 268435454    /5 248.0.0.0 7.255.255.255 134217728 134217726    /6 252.0.0.0 3.255.255.255  67108864 67108862    /7 254.0.0.0 1.255.255.255 33554432 33554430    /8 255.0.0.0 0.255.255.255 16777216 16777214  A Class  /9 255.128.0.0 0.127.255.255 8388608 8388606    /10 255.192.0.0 0.63.255.255 4194304 4194302    /11 255.224.0.0 0.31.255.255 2097152 … 더 읽기

# linux mysql , MariaDB 버전확인 방법 #

  [root@woo ~]# mysql –version mysql  Ver 15.1 Distrib 10.0.30-MariaDB, for Linux (x86_64) using readline 5.1     [root@woo ~]# mysql -uroot -p Enter password:  Welcome to the MariaDB monitor.  Commands end with ; or g. Your MariaDB connection id is 41489 Server version: 10.0.30-MariaDB MariaDB Server   Copyright (c) 2000, 2016, Oracle, MariaDB Corporation … 더 읽기

# 도메인 IP 알아내는 방법 / linux whois #

  [root@woo ~]# rpm -qa|grep whois   jwhois-4.0-19.el6.x86_64   설치가 되어 있는지 확인 후  (저는 설치되어 있습니다.)           먼저 whois 를 설치해 주셔야 합니다.   [root@localhost ~]# yum install jwhois Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Loading mirror speeds from cached hostfile  * base: ftp.daumkakao.com  * extras: ftp.daumkakao.com … 더 읽기

# linux , Centos rpm 명령어 관련 #

설치된 모든 패키지 list 보기   rpm -qa       prottpd 패키지에 대한 버전등 자세한 정보   rpm -qi prottpd       prottpd 패키지내에 포함된 파일 list보기   rpm -ql prottpd       xinetd.conf 파일이 속해있는 패키지 보기   rpm -qf /etc/xinetd.conf       prottpd 패키지 처음 설치하기   rpm -ivh … 더 읽기

# 윈도우 에서 리눅스로 파일 옮기기 / winscp 다운로드 및 방법 #

# 윈도우 에서 리눅스로 파일 옮기기 / winscp 다운로드 및 방법 # winscp 라는 프로그램을 이용해 파일을 이동하는 방법입니다. 우선 제일 하단에 있는 winscp 파일을 다운로드 해 주세요.   윈도우 에서 인스톨 진행 ! 아무 설정도 건들이지 않고 있는 그대로 설치 진행 했습니다.     실행 시키면 다음과 같은 화면이 나옵니다. 로컬 IP 및 포트 … 더 읽기

# linux 6 NTP 시간 동기화 / 타임서버와 시간 동기화 #

# linux 6 NTP 시간 동기화 / 타임서버와 시간 동기화 # 우리나라에서 운영되고 있는 NTP 서버 kr.pool.ntp.org time.bora.net time.kornet.net ———————————————– “지금 시간이 맞는지 확인” [root@localhost /]#  [root@localhost /]# date 2017. 12. 01. (금) 13:51:41 KST ———————————————– ” date 및 ntp 가 설치되어 있는지 확인 “ [root@localhost /]# rpm -qa|grep date rdate-1.4-16.el6.x86_64 system-config-date-1.9.60-2.el6.centos.noarch python-dateutil-1.4.1-6.el6.noarch system-config-date-docs-1.0.11-1.el6.noarch ntpdate-4.2.6p5-10.el6.centos.x86_64 … 더 읽기

# 리눅스 linux 부팅시간 확인 #

리눅스 부팅시간 확인 방법 입니다.   1. last reboot [root@localhost /]# last reboot | head -1 -> 마지막으로 부팅된 때는 4월 9일(월) 15:17분 이며 , 현재까지 21시간34분 동안 켜져 있었다.   2. uptime [root@localhost /]# uptime -> 시스템이 켜진지 21시간35분 되었다.