[Linux]yum CentOS 지난 버전 사용하기
·
Linux
대략 지난 버전이 꼭 필요하다면 http://vault.centos.org를 이용하라는 소리다. http://vault.centos.org에 가보면 지난 디렉토리들이 보이고, 디렉토리에 들어가면 다른 미러와 다르게 여러 디렉토리들이 보인다. ------------------------------------------------------------------------- 버전확인 ------>grep . /etc/*-release cat /etc/*-release | uniq ------------------------------------------------------------------------- 경로 : /etc/yum.repos.d # CentOS-Base.repo # # The mirror..
secure 로그 설정
·
Linux
[root@hostname etc]# vi /etc/logrotate.conf # see "man logrotate" for details # rotate log files weekly weekly# keep 4 weeks worth of backlogs rotate 4# create new (empty) log files after rotating old ones create# uncomment this if you want your log files compressed #compress# RPM packages drop log rotation information into this directory include /etc/logrotate.d# no packages own wtmp -- we'll r..