시스코 라우터 설정 및 컨피그 설정

이미지
! ! ! ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption no service dhcp ! hostname ESW1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$EXc/$di1Le1wv9mcLDTQI6tvDr0 enable password 7 144603591B ! no aaa new-model memory-size iomem 5 no ip routing no ip icmp rate-limit unreachable no ip cef ! ! ! ! no ip domain lookup ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! vtp file nvram:vlan.dat username buster password 7 025715091C ! ! ip tcp synwait-time 5 ! ! ! interface FastEthernet0/0  description *** Unused for Layer2 EtherSwitch ***  no ip address  no ip route-cache  duplex auto  speed auto ! interface Serial0/0  no ip address  no ip route-cache  shutdown  clock rate 2000000 ! interface FastEthernet0/1  description *** Unused for Layer2 EtherSwitch ***  no ip address  no ip route-cache  shut...

xterm 및 uxterm 의 백그라운드 색 변경

xterm 및 uxterm 의 백그라운드 색 변경 우선 사용자 홈 에서 다음 파일에 아래 코드삽입  .Xresources XTerm*foreground: rgb:b2/b2/b2 XTerm*background: rgb:08/08/08 XTerm*color0: rgb:28/28/28 ! ...Lines omitted... XTerm*color15: rgb:e4/e4/e4 UXTerm*foreground: rgb:b2/b2/b2 UXTerm*background: rgb:08/08/08 UXTerm*color0: rgb:28/28/28 ! ...Lines omitted... UXTerm*color15: rgb:e4/e4/e4

mariadb 외부 접속 방법 mysql 외부 접속 방법

1. mysql 접속 후 mysql database 선택  mysql> use mysql; 2. user 테이블 살펴보기  mysql> select host, user, password from user; root 의 host 값들은 localhost, 127.0.0.1 등으로 기본 등록되어 있지만, 외부접속을 나타내는 값이 없다. 특정 아이피로 지정할 수도 있지만 여기선 % 기호로 어디서든 접속 가능하게 만든다.  3. 권한 설정  mysql> grant all privileges on *.* to 'root'@'%'  identified by 'root의 패스워드'; Query OK, 0 rows affected (0.03 sec) 4. 등록확인하기 mysql> select host, user, password from user; root 계정의 host 필드에 % 가 등록되었는지 확인한다.  5. refrash mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) 위 단계는 my.cnf 파일 수정후 서버를 재시작할 것이기 때문에 굳이 안해도 된다.  6. my.cnf 에서 외부접속 관련사항 변경하기  user@home:~$ sudo vim /etc/mysql/my.cnf  파일 내용중  bind-address = 127.0.0.1  부분 주석처리후 저장하기  7. mysql 재시작  user@home:~$ sudo /etc/init.d/mysql restart  8. 완료.  이제 외부 클라이언트 프로그램에서 접속이 가능하다 ^^