반응형

linux 11

[Linux] Parallel-ssh(PSSH)

내부 서비스를 동작하는 VM서버가 너무 많아,명령어를 for문으로 처리 하던 중, pssh 라는 명령어가 있어 이걸로 처리하게 되었습니다. pssh 는 아래와 같이 설치를 진행할 수 있습니다.redhat(CentOS)>yum updateyum -y install psshUbuntu>apt install pssh /usr/bin/pssh 실행하고 참고 파일은 /etc/pssh.d/pssh_nodes.conf 를 참고하고, alias psh='/usr/bin/pssh -h /etc/pssh.d/pssh_nodes.conf --inline-stdout --extra-arg -q --timeout 0' 명령 설명은 아래와 같습니다. -h : etc/pssh.d/pssh-allnodes.conf 내에 있는 호스트..

Linux 2024.12.03

[Linux] SAMBA

SAMBA 는 SMB(Server Message Block)프로토콜로 작동하여 리눅스, 유닉스에서 Windows 와 파일 전송 프린터 공유 등의 서비스를 제공하는 패키지입니다. #Redhat(centOS) release yum update yum -y install samba #Debian(ubuntu) release apt update apt install samba ------------------------------------------------------------------------------------ samba.x86_64 0:4.10.16-25.el7_9 Dependency Installed: avahi-libs.x86_64 0:0.6.31-20.el7 cups-libs.x86_64 ..

Linux 2024.03.19

[Linux] tree

tree 명령어는 폴더 하위 구조를 파악할 때 유용하게 사용할 수 있습니다. 기본적으로는 설치되어 있지 않아, 설치를 진행해야합니다. 1. 설치 [root@localhost ~]# tree -bash: tree: command not found [root@localhost ~]# yum -y install tree ======================================================================================================================================================================================================== Package Arch Version..

Linux 2024.03.19

[Linux] Apache Install

설치 환경 CentOS 8 64bit 먼저 설치하고자 하는 Server에 yum update 진행 update 완료 후, yum -y install httpd 를 설치한다. 전 이미 설치가 되어있기 때문에, Already Installed로 뜹니다. 설치 후, 시작해줍니다. ps -ef | grep httpd 로 실행 중인 프로세스 확인이 가능합니다. port 설정을 해줍니다. inet 위치의 ip 확인 후, 웹에서 접속해 보면 정상적으로 설치 된 것을 확인 할 수 있습니다. ifconfig 명령어가 듣지 않으시면, yum -y install net-tools 하시고 해당 명령어 사용하시면 됩니다. 또, ip -a 를 사용하셔도 됩니다.

Linux 2022.02.14

[VMware] CentOS 8 Installation

1. iso 파일 Download Download (centos.org) Download As you download and use CentOS Linux or CentOS Stream (What's the difference?), the CentOS Project invites you to be a part of the community as a contributor. There are many ways to contribute to the project, from documentation, QA, and testing to coding c www.centos.org *VMDK 파일이란? VMDK 파일 포맷은 vdi(Virtual Box) 등 타 가상머신 디스크 이미지 파일을 말합니다. 표시한 3개를 ..

반응형