ansible 설정

2024. 11. 4. 16:30·Linux/Start
반응형

1. 계정생성

#useradd -m -d /opt/anagent anagent

#chage -E -1 -M 9999 anagent

#usermod -G wheel anagent

 

2. python 환경설정

#cd /opt/anagent

#tar -xvf python-2.6.5.tar (python 2.6이상필요)

#cd python-2.6.5

#./configure && make && make install

#whereis python

 

3. openssh 환경구성

#vi /etc/ssh/sshd_config

…생략…

Port 22222

AuthorizedKeysFile .ssh/authorized_keys 추가

…생략…

#service sshd restart

반응형

'Linux > Start' 카테고리의 다른 글

motd 및 프롬프트 설정  (1) 2024.11.05
hostname  (0) 2024.11.04
DSR 모드 확인  (0) 2024.11.04
VM Network 설정  (0) 2024.10.29
CentOS 8.X  (1) 2024.10.29
'Linux/Start' 카테고리의 다른 글
  • hostname
  • DSR 모드 확인
  • VM Network 설정
  • CentOS 8.X
Lee seongwoo
Lee seongwoo
1st System Engineer
  • Lee seongwoo
    시스템/클라우드 관리 및 기술 공부하는 블로그입니다.
    Lee seongwoo
  • 전체
    오늘
    어제
    • 분류 전체보기
      • Linux
        • Note
        • Trouble shooting
        • build
        • Work
        • Service
        • Start
        • Shell Script
        • APM
      • Docker
        • Configure
        • Command
        • Container 관리
        • Docker image 생성
        • 다양한 볼륨 활용
        • Network
      • Kubernetes
        • Chapter 1
      • Network
        • 스위치
        • 라우터
      • Windows
        • 인증서
        • 원격 접속
        • 암호 변경
        • 실행 Command
        • 사용자명 변경
        • Windows 점검
        • 방화벽
        • DB 절체(장애조치 클러스터)
      • Security
        • 보안 운영장비
        • 작업
        • 실무
      • Cloud
        • AWS
        • Azure
  • 블로그 메뉴

    • 홈
  • 링크

  • 공지사항

  • 인기 글

  • 태그

  • 최근 댓글

  • 최근 글

  • 반응형
  • hELLO· Designed By정상우.v4.10.0
Lee seongwoo
ansible 설정
상단으로

티스토리툴바