1. 준비. 그냥은 yum으로 설치가 안된다. 일단 뭔가를 설치해야 하는데 적당한 곳에 뭔가를 다운받아야 설치해야 한다.. 다운로드 받을 곳은 알아서... /tmp 디렉토리나 usr 디렉토리.. 관리가 쉽고 편한곳에서 작업하면 된다... # wget -q -O - http://www.at...
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"
1. cron 을 이용한 자동 백업 자료 생성 --------------- 웹서버의 자동 실행할 스크립트 작성 ------------- /root아래에 backup.sh 이라는 파일을 만들어 놓고 백업 명령어를 다음과 같이 주었다. #!/bin/bash /usr/local/mysql/bin/mysqldump -uroot -p****...
(1)shutdown shutdown 명령어는 시스템을 종료하거나 재부팅할 때 사용된다. 사용법 shutdown [옵션] [시간] [메세지] 옵션 -t n: 경고 메시지를 보낸 후 n초 후에 kill 시그널을 보낸다. -h : shutdown시 halt를 실행하게 한다. -n : 디스크 동기화 동작의 수...
적당한 위치에서 압축을 풉니다 # 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...
명령어를 통해 mysql-bin.000001 와 같은 파일이 있는 곳으로 이동 합니다. cd /var/lib/mysql 이동을 하고 다음 명령어 입력 ls mysql-bin.* 그럼 bin 파일들이 나옵니다. 파일이 많으면 그만큼 용량이 차지 하기에 30일 이후에 쌓인 것들을 삭제 하여 줍니다...
설치 소스 압축풀고 디렉토리로 이동해서 phpize ./configure make make install php.ini 설정 추가(eaccelerator.so 파일의 경로가 맞도록) extension="eaccelerator.so" eaccelerator.shm_size="16" eaccelerator.cache_dir="/tmp/eaccelerator" eaccelerato...
쉘(shell) 스크립트 다운로드 주소 : http://wooriagi.pe.hu/install.sh 웹기본 폴더는 /var/www/html 입니다. 그리고 /etc/httpd/conf/httpd.conf 에서 AllowOverride None 이 부분을 찾아 AllowOverride ALL로 바꿔주셔야 합니다.
yum 으로 httpd 설치한 환경 입니다. vi /etc/httpd/conf/httpd.conf 에서 다음과 같이 수정해 줍니다. <IfModule mod_cband.c> <Location /cband-status> SetHandler cband-status AuthType Basic AuthName User AuthUserFile /home/cyber87/xe/.htpasswd Aut...
vi /home/cband-reset.sh #!/bin/bash wget --http-user=아이디 --http-passwd=패스워드 'http://www.싸이트이름.com/cband-status?reset=all&refresh=15&unit=' 라는 스크립트를 만들어 줍니다. 여기에 사용되는 아이디와 패스워드는 .htpass...
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...
시작 > 실행 > cmd 실행 cd autoset6servermysqlbin 이동후 c:autoset6servermysqlbin > 밑에 db 복원문 입력 mysql -u root(계정) -p jaggoowa(DB명) < /home/test/public_html/test.sql jaggoowa 라는 DB에 test.sql 복구됨