1. cron 을 이용한 자동 백업 자료 생성 --------------- 웹서버의 자동 실행할 스크립트 작성 ------------- /root아래에 backup.sh 이라는 파일을 만들어 놓고 백업 명령어를 다음과 같이 주었다. #!/bin/bash /usr/local/mysql/bin/mysqldump -uroot -p****...
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 복구됨
cat , vi 명령어로 /var/log/maillog 멩리과 관련된 로그를 기록 /var/log/messages 메일, 뉴스등을 제외한 전체적인 로그를 기록하는 파일 /var/log/secure 유저에 대한 접속을 기록 /var/log/lastlog 계정사용자들이 마지막으로 로그인한 정보를 기록. lastl...
소스 위치 /usr/local/src 소스 설치위치 /usr/local Apache 설정 파일 /usr/local/apache/conf/httpd.conf PHP 설정파일 위치 /usr/local/apache/conf/php.ini Apache 시작/종료 /etc/rc.d/init.d/apachectl start | stop | restart MySQL 시작/종료 /etc/rc....
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"
참고: 리눅스의 방화벽 기본정책은 모든 포트를 막습니다. 그럼으로, SQL포트 3306번, apache포트 80번을 아래의 설정값을 이용하여 열어주어야 합니다. # vi /etc/sysconfig/iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT //...