1. No Image

    폴더복사 하기 cp 명령어

    cp -r /home/원본폴더 /home/test1/복사 /home/원본폴더를 , /home/test1/복사 폴더로 복사함
    Date2013.08.01 Views212056
    Read More
  2. No Image

    1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 에러명

    select count(*) as cnt from g4_point where mb_id = 'admin' and po_rel_table = '01_1' and po_rel_id = '1' and po_rel_action = '쓰기' 1267 : Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation ...
    Date2012.02.21 Views93023
    Read More
  3. No Image

    CentOS 버전 확인 lsb_release -a

    CentOS 버전 확인 lsb_release -a 혹은 다음 파일 중 하나를 열어 확인할 수 있다. /etc/issue /etc/redhat-release
    Date2012.05.09 Views77101
    Read More
  4. No Image

    tar 파일 압축하기 압축해제 하기

    압축을 풀려면, tar zxvf [파일이름]새로운 압축파일을 만들려면, tar zcvf [파일이름][압축할 파일 이름들 ...] tar 옵션을 zxvf 그리고 zcvf 로 외우시면 편리합니다. 이유는 키보드 자판을 보시면 zxcv 로 되어 있기 때문에 zxcvf 순서로 외우 두시고 새로 ...
    Date2012.10.15 Views67883
    Read More
  5. No Image

    cband-status 자정 초기화 하기

    vi /home/cband-reset.sh #!/bin/bash wget --http-user=아이디 --http-passwd=패스워드 'http://www.싸이트이름.com/cband-status?reset=all&refresh=15&unit=' 라는 스크립트를 만들어 줍니다. 여기에 사용되는 아이디와 패스워드는 .htpass...
    Date2016.02.20 Views67069
    Read More
  6. No Image

    centos 파일복사,삭제,이동,내용확인, 디렉토리만들기, 디스크공간 확인

    파일복사 (cp) -사용법 : cp 복사할원본파일명 대상파일명 -현재디렉토리의 aaa.txt파일을 bbb.hwp파일로 복사 ->shell> cp aaa.txt bbb.hwp -현재디렉토리의 aaa.txt bbb.hwp ccc.doc 파일을 public_html 디렉토리안으로 복사 ->shell> cp aaa.txt bbb.hwp cc...
    Date2012.07.23 Views64787
    Read More
  7. No Image

    유저 ftp접속시 상위 폴더 안보이게 설정

    vi /etc/vsftpd/vsftpd.conf vsftpd.conf 파일에서 아래처럼 설정해주신후에 chroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list /etc/vsftpd/chroot_list 파일안에 상위로 못가게 만들 계정을 적어주시면 됩니다.
    Date2011.04.16 Views63493
    Read More
  8. No Image

    하드디스크 용량 보기, 계정별 홈용량 확인 방법

    하드디스크 정보 보기 df [-옵션] [--세부옵션] -a : 파일시스테므이 크기가 0인 것도 모두 보연준다. -m : 용량단위를 MB로 보여준다 -h : 용량 단위를 읽기쉽게 보여준다 df –m / df –h 파일 및 디렉토리 사용량 보기 du [-옵션] [--세부옵션] [경로] 디렉토...
    Date2011.04.16 Views56410
    Read More
  9. No Image

    tar.gz 압축 & 풀기

    tar.gz 압축하기 tar -cvzf 파일이름 압축할파일 혹은 /디렉토리 tar -cvzf /home/file1.tar.gz /home/file1 압축풀기 tar -xvzf 파일이름 압축하기 tar 디렉토리 SSS를 homepage.tar로 압축합니다. tar cvf /home/homepage.tar /SSS ////////////////////////...
    Date2011.11.28 Views53074
    Read More
  10. No Image

    CentOS. yum으로 Zend Optimizer, eAccelerator 설치

    1. 준비. 그냥은 yum으로 설치가 안된다. 일단 뭔가를 설치해야 하는데 적당한 곳에 뭔가를 다운받아야 설치해야 한다.. 다운로드 받을 곳은 알아서... /tmp 디렉토리나 usr 디렉토리.. 관리가 쉽고 편한곳에서 작업하면 된다... # wget -q -O - http://www.at...
    Date2012.01.02 Views51296
    Read More
  11. No Image

    특정 폴더에 압축 풀기

    tar xvf /압축파일위치/압축파일.tgz -C /풀위치
    Date2011.06.06 Views50025
    Read More
  12. No Image

    chmod -R 707 권한 명령어

    chmod -R 707 /home/계정
    Date2012.07.18 Views46971
    Read More
  13. No Image

    centos 서버재시작 shoutdown -r now

    (1)shutdown shutdown 명령어는 시스템을 종료하거나 재부팅할 때 사용된다. 사용법 shutdown [옵션] [시간] [메세지] 옵션 -t n: 경고 메시지를 보낸 후 n초 후에 kill 시그널을 보낸다. -h : shutdown시 halt를 실행하게 한다. -n : 디스크 동기화 동작의 수...
    Date2012.01.02 Views46951
    Read More
  14. No Image

    apm 버전 확인 명령어

    rpm -qa | grep httpd rpm -qa | grep mysqld rpm -qa | grep php
    Date2011.04.16 Views46743
    Read More
  15. No Image

    CentOS RPM 버전 확인 명령어

    rpm -qa httpd //버전 확인 rpm -qi httpd //더 상세한 패키지 정보 rpm -qa php rpm -qa mysql
    Date2012.05.09 Views46453
    Read More
  16. No Image

    centos 자동 백업설정

    1. cron 을 이용한 자동 백업 자료 생성 --------------- 웹서버의 자동 실행할 스크립트 작성 ------------- /root아래에 backup.sh 이라는 파일을 만들어 놓고 백업 명령어를 다음과 같이 주었다. #!/bin/bash /usr/local/mysql/bin/mysqldump -uroot -p****...
    Date2011.08.21 Views45694
    Read More
  17. No Image

    apm 설치 yum 이용

    1. APM(Apache + Php + Mysql) 설치 apache, mysql, php순으로 APM을 설치합니다. # yum -y install httpd # yum -y install mysql # yum -y install php 2. APM 관련 라이브러리 설치 # yum -y install gd gd-devel # yum -y install libpng libpng-devel # y...
    Date2011.04.16 Views43681
    Read More
  18. No Image

    centos ZendOptimizer 설치 방법

    적당한 위치에서 압축을 풉니다 # tar zxvf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz 3.3.9 버전부터는 이전버전의 install.sh 이 제공 되지 않습니다 일단 설치된 php버전을 확인합니다 # php -v PHP 5.2.12 (cli) (built: Dec 19 2009 01:51:45) C...
    Date2012.01.04 Views42916
    Read More
  19. No Image

    centos eaccelerator 설치 방법

    설치 소스 압축풀고 디렉토리로 이동해서 phpize ./configure make make install php.ini 설정 추가(eaccelerator.so 파일의 경로가 맞도록) extension="eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerato...
    Date2012.01.04 Views42324
    Read More
  20. No Image

    autoset6 db 복원 import

    시작 > 실행 > cmd 실행 cd autoset6servermysqlbin 이동후 c:autoset6servermysqlbin > 밑에 db 복원문 입력 mysql -u root(계정) -p jaggoowa(DB명) < /home/test/public_html/test.sql jaggoowa 라는 DB에 test.sql 복구됨
    Date2011.07.16 Views42148
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4