메뉴 건너뛰기

조회 수 7827 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
*SSH관련 수정사항

$ vi /etc/ssh/sshd_conf
내용수정

포트 변경 :  Port 22
root 접근 제한 : PermitRootLogin no


접속유지 시간
LoginGraceTime 30m
ClientAliveInterval 600
ClientAliveCountMax 3


변경후
$ /etc/init.d/sshd restart 로 데몬을 다시 올려 준다.

 

*FTP 관련 수정사항

$vi /etc/vsftpd.ftpus
$vi /etc/vsftpd/vsftpd.conf

//anonymous 접속 불가능 하도록
anonymous_enable=NO 수정

//ascii 모드 전성
ascii_upload_enable=YES  주석제거
ascii_download_enable=YES 주석제거

//디렉토리 접근권한
chroot_list_enable=YES     # 주석제거
/etc/vsftpd.chroot_list       # 파일에 홈디렉토리에만 접근허용할 ID 추가
또는 chroot_list_file=/etc/vsftpd/chroot_list

포트 변경시
listen_port=21 추가


※ 솔라리스10 은
$ svcadm restart 서비스 데몬
$ svcadm enable 서비스 데몬
$ svcadm disable 서비스 데몬

로 제어


//EUC-KR 사용할수 있도록 설정
/etc/profile 에 EUC-KR 설정
export LANG=ko_KR.EUC-KR
export LC_ALL=ko_KR.EUC-KR

$ source /etc/profile


iptables 추가
vi /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 포트 -j ACCEPT
/etc/init.d/iptables restart


  1. No Image

    Tomcat 6에 Datasource 설정하기

    Date2017.03.11 Views7624
    Read More
  2. tomcat - server.xml 설정

    Date2017.03.11 Views67354
    Read More
  3. [CentOS 6.5] Virtual Box를 이용한 CentOS 6.5 설치

    Date2017.03.11 Views6600
    Read More
  4. [CentOS 6.5] SSH,TELNET, FTP 설치 및 운용

    Date2017.03.11 Views8558
    Read More
  5. [CentOS 6.5] JDK (JAVA) 설치

    Date2017.03.11 Views8691
    Read More
  6. [CentOS 6.5] Tomcat 설치 및 구동

    Date2017.03.11 Views9483
    Read More
  7. No Image

    TOMCAT/사이트 여러개 운영

    Date2017.03.09 Views8444
    Read More
  8. No Image

    SSH / FTP 등 기본 접속환경 설정(리눅스 / 솔라리스)

    Date2017.02.03 Views7827
    Read More
  9. No Image

    솔라리스 10 (Telnet/FTP/SSH) 설정

    Date2017.02.03 Views7995
    Read More
  10. 아파치 디렉토리 보이는 것 막기

    Date2017.02.02 Views8076
    Read More
  11. No Image

    아파치 로그(Apache Log) 관리법

    Date2017.02.02 Views7873
    Read More
  12. crontab 을 이용한 PHP 스케줄링 작업

    Date2017.02.02 Views8500
    Read More
  13. No Image

    crontab 설정 방법

    Date2017.02.02 Views7215
    Read More
  14. No Image

    apachec rewrite 사용하기 // www 강제 사용 // HTTP to HTTPS // 특정경로만 HTTP

    Date2016.12.30 Views7081
    Read More
  15. No Image

    APACHE, OHS 400 웹로직 연동후 특정 작업에 400 error

    Date2016.12.30 Views8646
    Read More
  16. No Image

    netstat 사용법

    Date2016.12.22 Views8768
    Read More
  17. No Image

    mod_rewrite 예제

    Date2016.12.22 Views7145
    Read More
  18. No Image

    아파치 웹로직 연동(Virtual Host)

    Date2016.11.22 Views8546
    Read More
  19. No Image

    Apache 2.2.17 + WebLogic 10.3.3 연동하기

    Date2016.11.22 Views8795
    Read More
  20. CentOS6.6+httpd2.4.16+Mariadb10.0.20+php5.6.11 Source 설치....

    Date2016.09.25 Views14748
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 12 Next
/ 12

하단 정보를 입력할 수 있습니다

© k2s0o1d4e0s2i1g5n. All Rights Reserved