DDoS공격 방지 iptables
참조: http://cafe.naver.com/asterisker/1497 DDoS공격으로 의외로 피해를 많이보고있는 현실입니다. 그렇다고 무조건 공격당할수는 없겠죠..그래서 웹민에 디도스공격방어를 할수있는 설정화면을 넣었습니다. 완전한 방어법은 아니지만 어느정도 효과는 있더라구요 리눅스에서도 해주면 되겠지만 […]
참조: http://cafe.naver.com/asterisker/1497 DDoS공격으로 의외로 피해를 많이보고있는 현실입니다. 그렇다고 무조건 공격당할수는 없겠죠..그래서 웹민에 디도스공격방어를 할수있는 설정화면을 넣었습니다. 완전한 방어법은 아니지만 어느정도 효과는 있더라구요 리눅스에서도 해주면 되겠지만 […]
[root@~]# vi /etc/sysconfig/iptables-config # Save current firewall rules on restart. # Value: yes|no, default: no # Saves all firewall rules to /etc/sysconfig/iptables if firewall gets […]
|
1 2 3 |
Stopping sshd: [FAILED] |
debug 참조 :http://www.thegeekstuff.com/2011/06/iptables-rules-examples/ Ubuntu // ssh 없을시 1. 설치 $ sudo apt-get install ssh 2. 포트 변경 $ sudo vi /etc/ssh/sshd_config # port 22 […]
> ntsysv 부팅시 자동 시작 : chkconfig vsftpd on
cat /etc/shells —- shells 보기 /bin/sh – 본쉘 /bin/bash – Bourne Again shell /bin/tcsh – TC쉘 /bin/csh – C쉘 /bin/ksh – 콘쉘 1. […]
iptables -L command not found => su 사용하지 말고 su – 로 root 계정로그인 su 는 root 권한에 포함되어 있는 환경변수는 하나도 가져오지 않습니다. 엄청난 […]
The configuration file now needs a secret passphrase (blowfish_secret). vi /usr/share/phpmyadmin/config.inc.php $i++; /* Authentication type */ $cfg[‘blowfish_secret’]=’cookie’; $cfg[‘Servers’][$i][‘auth_type’] = ‘cookie’; /* Server parameters */ $cfg[‘Servers’][$i][‘host’] […]
# yum -y install php* php-* 참조 블로그 http://packages.sw.be/rpmforge-release/ 각 운영체제에 맞는 rpmforge-release 파일이 있습니다.. CentOS 가 아니라면 확인해보시고.. 운영체제에 맞는 걸로 받으시면 됩니다.. 우선 […]
centOS 5 [root@localhost]# lsb_release -a LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 5.8 (Final) Release: 5.8 Codename: Final [root@localhost]# 32/64bit 확인 [root@localhost]# getconf […]
Installing Tomcat 7 on CentOS 6 참조 : http://blog.naver.com/PostView.nhn?blogId=cjw8349&logNo=20160687770 참조 : http://www.server-world.info/en/note?os=CentOS_6&p=tomcat7 CentOS is a stable Linux distribution suited for running web application servers such as […]
Remark : FTP 포트로 54021 을 사용하고, FTP-Data 포트로 60019~20 을사용하도록 설정해 보자. 서버 방화벽에서 54021, 60019:60023, port가 열려 있어야 한다.Data 포트 60019 하나로도 사용가능 […]
vsftpd 설치 vsftp 현황 확인
|
1 2 3 4 |
yum list | grep vsftpd #--- 설치 가능한 package 확인 yum list installed | grep vsftpd #--- 설치된 package 확인 |
vsftpd 설치
|
1 2 3 4 |
yum -y install vsftpd rpm -qa | grep vsftpd #--- vsftpd 설치 확인 |
아래 설치 정보에 정리된 블랙 리스트에서 ftp를 사용할 사용자를 빼준다. vi /etc/vsftpd/ftpusers vi /etc/vsftpd/user_list 방화벽에서 20, […]
일단 설치는 알아서들 잘했다고 간주하고 인터넷이 되는지 확인 해보자 그래야 yum이던 뭐든 할것이다. 구글사마께 핑을 드려보자. # ping -c3 google.com 언노운이거나 하면 아래와 같이 파일을 열어서 […]
<보안관련 및 기본명령> 1.chmod 700변경하기 본 권한변경 목적은 계정을 통하지 않은 불법적인 접근을 막기 위한 방법으로 가능한 필요하지 않은 파일들의 권한을 변경해 주시기 바랍니다. 특히 […]
vsftpd 환경 설정 <– 미설치시 # yum install vsftpd php 설치 yum -y install php-gd php-imap php-mbstring php-mysql vi /etc/httpd/conf/httpd.conf DirectoryIndex index.html index.htm index.php /etc/vsftpd/vsftpd.conf 파일을 […]
# rm -rf httpd-2.0.48/* # rmdir httpd-2.0.48
Copyright © 2025 | WordPress Theme by MH Themes