php 컴파일시 에러 - Can't figure out your VCS, not cleaning root@web:/opt/install/php-5.2.13# ./buildconf --force Forcing buildconf buildconf: checking installation... buildconf: autoconf version 2.59 (ok) buildconf: Your version of autoconf likely contains buggy cache code. Running vcsclean for you. To avoid this, install autoconf-2.13. Can't figure out your VCS, not cleaning. 해결방법 yum install autoconf213 export PHP_AUTOCONF="/usr/bin/autoconf-2.13" export PHP_AUTOHEADER=/usr/bin/autoheader-2.13 끝~~
rsync를 이용하여 특정 디렉토리 제외하고 동기화 할 때 rsyncd.conf 설정법 # 설정 예 [home] path = /home comment = /home exclude = /user/www.user.com/data/userdata/ <= 이 부분을 추가하면 된다. uid = root gid = root use chroot = yes read only = yes hosts allow = 192.168.0.34 timeout = 600 exclude를 추가시 디렉토리 경로는 path 경로를 제외하고 넣어준다.
Korean ProFTPd Reference 버젼 : v0.6 생성 : 2000.09.01 번역 : ProFTPd korea user group 변환 : reference_to_html.php3 v0.1 by 김정균 <admin@oops.org> 이 문서는 Korea User Group의 Project의 한 일편으로 작성 되어 졌다. ProFTPd Reference는 ProFTPd의 설정 파일에 사용이 되는 지시자들의 간략한 소개를 담고 있다. 이 문서에 대한 저작권은 CopyLeft에 따른다. 단 번역에 참가한 사람들에게 조금은 감사하는 마음을 가져 줬으면 하며, 조금의 도움이 될수 있게끔 행동을 해 주셨으면 한다. 길은 열려있다. ProFTPd에 대한 모든 한글 문서는 ProFTPd Korea user group 에서 볼수가 있다. <anonymous> <Directory> <Global> <Limit> <VirtualHost> AccessGrantMsg Allow AllowAll AllowChmod AllowFilter AllowForeignAddress AllowGroup AllowOve
grub 설정을 잘못하여 정상적으로 부팅되지 않고 grub 콘솔 상태로 부팅되는 경우 해결방법 즉, grub 부트로더가 정상적으로 뜨지 않는 상태입니다. # 장애 상황 - 부팅시 grub 부트로더가 보이지 않고 grub 콘솔 상태가 바로 보임 # 해결방법 - grub 명령어를 통해 부팅하고, grub.conf를 수정하여 grub를 MBR에 재설치 한다. # grub 명령어 - cat : 파일 내용을 보여줌 - root : 부팅 이미지가 있는 파일 시스템을 마운트 - kernel : 커널 이미지를 로딩 - initrd : 커널을 램디스크에 로딩 - boot : 부팅 시작 # 복구예 부팅 이미지가 있는 파일 시스템 마운트 root (hd0,0) 커널 이미지 로딩 kernel /vmlinuz-2.6.18-194.26.1.el5 ro root=/dev/sda2 커널을 램디스크에 로딩 initrd /initrd-2.6.18-194.26.1.el5.img 부팅 boot # 파일 시스템 마운트 설명 root (hd0,0) : 이 명령어는 첫번째 하드의 /dev/sda1 을 마운트 함 리눅스 파일 시스템에서는 장치명이 1번부터 시작하지만 grub에서는 0부터 시작함 따라서
php session 관련 설정값 php에서 세션 시간을 정의할때 php.ini 값을 설정한다. 세션의 쓰레기 처리(garbage collection) 설정하기 session.gc_maxlifetime = 세션을 지울 시간의 설정 session.gc_probability = 세션을 지울 확률을 설정 세션 타임아웃 값 설정하기 session.cache_expire = 초 gc_maxlifetime의 값을 변경하면 된다. 단위 (초), 기본값 1440 특정 페이지에서 세션지속시간을 늘리고 싶은 경우 해당 페이지에 아래 코드를 추가한다. ini_set("session.cache_expire", 3600); ini_set("session.gc_maxlifetime", 3600); // 단위 : 초
Linux에서 error: "package name" specifies multiple packages 발생시 rpm 삭제방법 rpm이 중복되어 있는 경우 rpm -e 로는 삭제되지 않는다. 다음과 같은 메세지가 출력된다. [root@localhost]# rpm -e gcc-gnat-4.1.2-48.el5.i386 error: "gcc-gnat-4.1.2-48.el5" specifies multiple packages 중복되는 rpm 삭제하기 rpm --erase --allmatches gcc-gnat-4.1.2
# xen 레퍼런스 모음 http://www.howtoforge.com/centos_5.0_xen [##_1C|1043856286.docx|style="width: 90px; height: 30px; border: 2px outset #796; background-color: #efd; background-repeat: no-repeat; background-position: center center; background-image: url('/image/extension/unknown.gif')"|_##][##_1C|1317063161.docx|style="width: 90px; height: 30px; border: 2px outset #796; background-color: #efd; background-repeat: no-repeat; background-position: center center; background-image: url('/image/extension/unknown.gif')"|_##]
출처 : http://www.ioncannon.net/system-administration/80/how-to-transfer-linux-from-virtualbox-to-xen/ There have been times recently when I wanted to pull a VirtualBox Linux instance I had into Xen. I kept thinking it had to be fairly easy but I kept putting off trying it until recently when I ran into something I wanted to install from a CD image into an Amazon EC2 AMI. It turns out the main hurdle in transferring an image is lack of documentation. I'm using VirtualBox 2.1.0 so some of the following commands may not work with older versions. I learned the hard way that they have changed a numb
yum으로 update 안될 경우 # 에러 ---> Package python-libs.x86_64 0:2.4.3-43.el5 set to be updated addons/filelists | 197 B 00:00 base/filelists_db | 4.0 MB 00:00 extras/filelists_db | 225 kB 00:00 updates/filelists_db | 1.2 MB 00:00 --> Finished Dependency Resolution gcc-gnat-4.1.2-48.el5.i386 from installed has depsolving problems --> Missing Dependency: libgnat = 4.1.2-48.el5 is needed by package gcc-gnat-4.1.2-48.el5.i386 (installed) gcc-gnat-4.
시스템 하드웨어 정보 보기 파일 업로두 후 make만 수행하면 된다. 컴파일 후 실행파일은 lshw-B.02.15/src 안에 있다. ./lshw : 서버정보 전체보기 ./lshw -short : 서버정보 간략하게 보기 ./lshw –businfo : bus에 대한 자세한 정보 확인 ./lshw -html > system.html : html 페이지로 만들기 ./lshw -help : 옵션 보기 [##_1C|8517759422.gz|style="width: 90px; height: 30px; border: 2px outset #796; background-color: #efd; background-repeat: no-repeat; background-position: center center; background-image: url('/image/extension/unknown.gif')"|_##]
INFO: task mysqld:24715 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. mysqld D ffffffff80150939 0 24715 2442 24718 24712 (NOTLB) ffff81000fd03e18 0000000000000086 0000000000000074 ffffffff80225c04 00000000ffffffda 000000000000000a ffff810073667820 ffff810037e57860 00054ecb31e59901 000000000001991f ffff810073667a08 0000000700000000 Call Trace: [<ffffffff80225c04>] sock_aio_read+0x4f/0x5e [<ffffffff800646ac>] __down_read+0x7a/0x92 [<ffffffff80066ad0>] do_page_fault+0x446/0x874 [<ffffffff800a0b5f>]
# yum으로 i?86 패키지 전체 삭제하기yum remove *.i?86 # i386 패키지 전체 삭제하기yum remove *.i386 /etc/yum.conf 파일에 ?86 패키지를 업데이트나 설치시 사용하지 않도록한다.exclude = *.i?86