본문 바로가기

Developement/Server

Apache Log Delete

해당 디렉토리로 이동 후 /usr/local/apachel/logs 아파치 로그파일이 존재하는지 확인한뒤 로그파일이 존재하면 linux 커맨드 상에서 아래와 같이 입력합니다.

[root@localhost~]# cp -f /dve/null /usr/local/apache/logs/access_log
cp: overwrite '/usr/local/apache/logs/access_log'?
y 입력 후 엔터

'Developement > Server' 카테고리의 다른 글

SSL 설치 과정  (0) 2013.06.05
한글 Putty Backup  (0) 2013.04.01
IPTables 설정 방법  (0) 2012.10.20
Apache Log Delete  (0) 2012.09.17
SFTP 사용 안하기  (0) 2012.08.24