1. No Image

    php.ini 환경설정에서 원격지의 파일을 열지 못하도록 되어 있습니다 해결법

    1. php.ini 파일에서 allow_url_fopen 설정을 확인해보세요. off이면 원격파일을 열수 없습니다.
    Date2011.11.19 Views40484
    Read More
  2. No Image

    mysql import (복구)

    mysql -u root(계정) -p jaggoowa(DB명) < /home/test/public_html/test.sql jaggoowa 라는 DB에 test.sql 복구됨
    Date2011.04.16 Views38917
    Read More
  3. No Image

    [Linux] find 명령어 and TIP

    # find [시작점] [옵션] [형식] -print 시작점 : 해당 디렉토리를 기준으로 해당 디렉토리 하위의 모든 파일음 검색 -print 는 default로 적용 되어 있어 안써줘도 무방함. find / -name app* -print => /(루트) 하위. 즉, 전체 디렉토리에서 파일명이 app로 ...
    Date2012.07.23 Views37306
    Read More
  4. No Image

    서버 재시작시 자동으로 데몬 실행

    chkconfig --level 2345 mysqld on chkconfig --level 2345 httpd on chkconfig --level 2345 vsftpd on 확인 chkconfig --list | grep mysqld chkconfig --list | grep httpd chkconfig --list | grep vsftpd
    Date2011.04.16 Views37189
    Read More
  5. No Image

    #1040 - Too many connections // XE cannot connect to DB. 이런 에러 나올때

    #1040 - Too many connections XE cannot connect to DB. 이런 에러 나올때 mysql 에서 max_connection 제한때문에 일어나는 에러 현재 msyql max_connetion 확인 #mysqladmin -u root -p variables | grep max_connection mysql 설정파일에서 max_connetion ...
    Date2013.11.20 Views36207
    Read More
  6. No Image

    용량 확인 방법

    디렉토리 용량 확인du -sh 디렉토리명 home 디렉토리 계정별 용량 확인du -h --max-depth=1 /home/ (-depth=1 숫자에 따라서 하위 디렉토리로 몇번까지 진입해서 용량을 보여줄것인지) 파티션별로 용량 확인df -h계정별 DB용량 확인du -h --max-depth=1 /var/l...
    Date2011.11.28 Views35587
    Read More
  7. No Image

    계정별 php 업로드 제한하기

    가상호스트 파일을 연다 httpd.conf 아니면 httpd-vhosts.conf vim /usr/local/apache2/conf/extra/httpd-vhosts.conf <VirtualHost *:80> DocumentRoot "/home/도메인연결폴더" ServerName 도메인.com ServerAlias www.도메인.com CBandLimit 10Gi CBandPerio...
    Date2013.07.04 Views35357
    Read More
  8. No Image

    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

    Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. 이런 에러 나올때 php.ini 파일을 연다 파일을 못찾을 경우 centos 에서 명령어 find / -name php.in...
    Date2011.07.24 Views34026
    Read More
  9. No Image

    ssh 접속자 계정 제한하기

    vi /etc/ssh/sshd_config 열어서 AllowUsers 계정 계정2 계정3 수정 저장 service sshd restart 재시작 적어준계정만 접속됩니다. 계정, 계정2 계정3 팁 AllowUsers 가 없으면 맨 마지막에 적어준다~
    Date2013.07.04 Views33650
    Read More
  10. No Image

    로그 보는 방법

    cat , vi 명령어로 /var/log/maillog 멩리과 관련된 로그를 기록 /var/log/messages 메일, 뉴스등을 제외한 전체적인 로그를 기록하는 파일 /var/log/secure 유저에 대한 접속을 기록 /var/log/lastlog 계정사용자들이 마지막으로 로그인한 정보를 기록. lastl...
    Date2011.05.04 Views33414
    Read More
  11. No Image

    계정생성시 자동으로 public_html 폴더 만들어 주기

    mkdir /etc/skel/public_html /etc/skel 에 public_html 폴더를 만들어 주면 useradd -d /home/계정폴더 계정아이디 //해주면 계정폴더/public_html 된다 useradd 환경을 설정하는 파일들 /etc/default/useradd /etc/login.defs /etc/skel/ /etc/default/usera...
    Date2013.07.04 Views32700
    Read More
  12. No Image

    ajaxplorer 서버세팅

    http://jekyung.com/139
    Date2011.06.05 Views32238
    Read More
  13. No Image

    계정생성시 자동으로 권한 755 주기

    vi /etc/login.defs 파일을 vi 로 연다 useradd 가 새로운 계정을 생성할때 반드시 참조하는 파일이다. # cat /etc/login.defs MAIL_DIR /var/spool/mail // 메일 디렉토리 위치지정 /var/spool/mail/사용자명 PASS_MAX_DAYS 99999 // 패스워드 만료일 PASS_MI...
    Date2013.07.04 Views32192
    Read More
  14. No Image

    centos 한글 깨질때 수정

    centos 한글 깨질 때 vi /etc/sysconfig/i18n LANG="ko_KR.eucKR" SUPPORTED="en_US.iso885915:en_US:en:ko_KR.eucKR:ko_KR:ko" SYSFONT="lat0-sun16" SYSFONTACM="iso15"
    Date2011.04.16 Views31893
    Read More
  15. No Image

    쉘스크립트 업로드후 실행 안될때는 권한 설정

    쉘스크립트 업로드후 실행 안될때는 권한 설정 chmod 707 /backup/쉘파일.sh sh /backup/쉘파일.sh 으로 쉘파일을 실행 가능하게끔 해줌
    Date2012.01.02 Views31491
    Read More
  16. No Image

    Centos 설치방법

    http://kch1183.blog.me/50099487610 추가, 파티션 나눌때 swap (가상메모리) 램 용량의 x 2 예) ram 2g , swap 4g
    Date2011.04.16 Views31114
    Read More
  17. No Image

    쉘스크립트 실행 방법

    ../backup/backup.sh ../쉘파일위치/셀파일.sh
    Date2011.12.20 Views31106
    Read More
  18. No Image

    압축하기 압축풀기 tar

    디렉토리 SSS를 homepage.tar로 압축합니다. tar cvf homepage.tar /SSS 압축풀기 tar xvf 파일이름.tar
    Date2011.04.16 Views31045
    Read More
  19. No Image

    도메인 연결 방법

    vi /usr/local/apache/conf/httpd.conf // 모듈에서 httpd-vhosts 모듈 주석제거 vi /usr/local/apache/conf/extra/httpd-vhosts.conf 수정
    Date2011.04.18 Views31016
    Read More
  20. db 사용자 추가시 권한설정

    http://cafe.naver.com/autoset/3283
    Date2011.07.16 Views30908
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4