본문 바로가기

반응형

scbyun

[리눅스] Local Repository Local Repository [Server] yum install createrepo mkdir /DATA/repo mount -t iso9660 -o loop /DATA/CentOS-6.5-x86_64-bin-DVD2.iso /mnt cp -ar /mnt/Packages/*.* /DATA/repo/centos/6/os/x86_64/ # vi /etc/yum.repos.d/scbyunrepo.repo [scbyun repo] name=scbyun Repository baseurl=file:///DATA/repo gpgcheck=0 enabled=1 createrepo -v /DATA/repo yum clean all yum update 1. yum repository 구성 1) yum 설치 및 업데이트.. 더보기
[리눅스] YUM SCL Repository 사용하기 SCL Repository 사용하기 SCL Repository http://wiki.centos.org/AdditionalResources/Repositories/SCL [사용 할 수 있는 패키지] # CentOS-SCL.repo # # The Software Collections ( SCL ) repository contains rpms for newer # software that can be installed alongside default versions # # Look at http://wiki.centos.org/AdditionalResources/Repositories/SCL # for more details about how this repository works [scl] name=Cen.. 더보기
[리눅스] KSAR 툴의 사용방법 KSAR 툴의 사용방법 Ksar Download Site : http://sourceforge.net/projects/ksar/files/ sar 로그 디렉토리 /var/log/sa/ sar 파일 형식 # file /var/log/sa/sa25 /var/log/sa/sa25: data sar 파일를 text파일로 변환 # LC_ALL=C sar -A -f /var/log/sa/sa25 > /home/scbyun/ksar_20131227.txt 변환된 sar로그 파일 # file ksar_20131227.txt fsar_odlwas6_20131225.txt: ASCII text 참조 URL : http://blog.naver.com/deepblue28?Redirect=Log&logNo=140156375655 더보기
[리눅스] ls 명령어 ls 명령어 ls -l 출력 시 날짜 변경( Jul 1 2009 -> 2009-07-01 08:35) [root@sangchul ~]# ls -l -rw-r--r-- 1 root root 1722 Jul 1 2009 anaconda-ks.cfg -rw-r--r-- 1 root root 56879 Jul 1 2009 install.log -rw-r--r-- 1 root root 149035 Jul 1 2009 install.log.syslog [root@sangchul ~]# alias ls='ls --color=auto --time-style=long-iso' [root@sangchul ~]# ls -l -rw-r--r-- 1 root root 1722 2009-07-01 08:35 anaconda-ks.. 더보기
[mysql] 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 원격서버(clinet)에 설치되어 있는 MySQL Server로 접속하기 [Client 192.168.0.100] [root@kingdom bin]# ./mysql -u scbyun -p first -h 192.168.0.50 -P 3306 Enter password: ERROR 1130 (HY000): Host '192.168.0.100' is not allowed to connect to this MySQL server [root@kingdom bin]# [MySQL Server 192.168.0.50] - 특정 IP(192.168.0.100)만 OPEN mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP ON first.* TO 'scbyun'@1.. 더보기
[원도우] PuTTY Host 백업 PuTTY Host 백업 1. cmd -> regedit 2. HKEY_CURRENT_USER\Software\SimonTatham\PuTTY 백업 3. putty_host.reg 더블 클릭 더보기
[리눅스] ifcfg-eth0 DHCP 설정 ifcfg-eth0 DHCP 설정 [root@sangchul ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 # Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth0 BOOTPROTO=dhcp HWADDR=00:0C:29:FD:65:B2 -NBOOT=yes DHCP_HOSTNAME=sangchul 더보기
[리눅스] ifconfig 항목 설명 ifconfig 항목 설명 [root@sangchul script]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0E:0C:4D:6B:A0 inet addr:162.157.11.6 Bcast:162.157.11.255 Mask:255.255.255.0 inet6 addr: fe80::20e:cff:fe4d:6ba0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2193099470 errors:7800567 dropped:0 overruns:0 frame:7800567 TX packets:2465047765 errors:0 dropped:0 overruns:0 carrier:0 coll.. 더보기

728x90
반응형