보관함

SELinux 사용 예

※ 참고 (2026년 기준) dovecot_disable_trans, openvpn_disable_trans 같은 *_disable_trans 옵션은 RHEL 5 시절 것으로 이후 버전에는 없다. allow_execheap 은 selinuxuser_execheap 으로 이름이 바뀌었다.

httpd 안에서 다른 서버의 Database를 사용하고 싶을때

Apache Log를 NFS 사용하고 싶을때

dovecot (imap)을 사용하고 싶을때

svn 서버를 쓰려고 할때

Zend optimizer 를 설치 할때

http […]

iptables 목록들

Basic IP Block

Allow incoming SSH

Allow incoming SSH from a Specific Network

Combine Multiple Ports rules

Load Balance Incoming Web Traffic

Prevent Dos Attack

Port Forwarding 422-> 22

history 조회시 날짜 시간 표시하기

출처] http://faq.hostway.co.kr/?mid=Linux_ETC&page=8&document_srl=1424

[ history 조회시 ‘날짜,시간’ 표시하기 ] history로 사용자가 입력했던 명령어를 조회할때 “언제” 실행 했는지를 알아야 할 때가 있습니다. /etc/profile에 HISTTIMEFORMAT 변수를 추가해 주면 history 조회시 해당 명령어를 입력한 날짜, 시간이 표시 됩니다.

1. /etc/profile에 아래 내용 추가

2. 적용

3. 확인

424 2012-03-15 18:48:16 — vi /etc/profile 425 2012-03-15 18:48:22 — […]