2014. 8. 22. 17:41
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
service httpd start
/etc/sysconfig/iptables 80 open
웹서버는 처음엔 전부 닫혀있는 상태
iptables 에서 ACCEPT를 먼저 올리고 DROP을 밑으로 (white list기반)
---------------
ftp 서버 설치
방화벽 21 열기
service iptables restart
yum install -y vsftpd
/etc/vsftpd/vsftpd.conf 에서 설정
service vsftpd restart
계정 생성
useradd -d /var/ftp/ aaa
- trouble shooting
vsftpd 사용시 간혹 디렉토리 목록들이 보이지 않는 경우가 발생합니다.
이 경우 passive mode로 인한 문제로 서버내 설정파일에서 disable 해주면 문제가 해결 됩니다.
vi /etc/vsftpd/vsftpd.conf
pasv_enable=NO
vsftpd 재시작
/etc/init.d/vsftpd restart
'Linux' 카테고리의 다른 글
vim hex mode (0) | 2015.06.15 |
---|---|
memory setting using malloc() and practicing coding (0) | 2014.08.29 |
firewall and regulations for control net condition (0) | 2014.08.21 |
obtaining root position using telnet service system (0) | 2014.08.21 |
link options / xinetd (0) | 2014.08.18 |