본문 바로가기

반응형

리눅스

CentOS 7에서 RabbitMQ를 설치하는 방법 CentOS 7에서 RabbitMQ를 설치하는 방법 RabbitMQ는 메시지 큐 브로커 서버로, 메시지를 안정적으로 전달하는 데 사용됩니다. 1. EPEL 저장소 설치 sudo yum install -y epel-release 2. erlang 설치 RabbitMQ는 Erlang 프로그래밍 언어를 사용하므로 먼저 Erlang을 설치해야 합니다. sudo yum install -y erlang 3. RabbitMQ 설치 sudo yum install -y rabbitmq-server 4. Web Console 활성화 sudo rabbitmq-plugins enable rabbitmq_management 5. RabbitMQ 서비스 등록 $ sudo systemctl list-unit-files | grep.. 더보기
[리눅스] centos7 svn 설치 및 설정 centos7 svn 설치 및 설정 [svn 설치] 1. subversion 패키지 설치 yum install -y subversion 2. 저장소(repository) 생성 mkdir -p /svn/repos 3. svn 프로젝트 생성 svnadmin create --fs-type fsfs /svn/repos 4. 설정파일위치: /svn/repos/conf/ vi /svn/repos/conf/svnserve.conf [general] anon-access = none //익명 접근의 권한은 none 없음 auth-access = write //인증 접근의 권한은 write 읽기/쓰기 realm = My_First_Repository //프로젝트 명칭 authz-db = authz //인증 접근의 권한 .. 더보기
KVM Virsh Console Access On CentOS 7 KVM Virsh Console Access On CentOS 7 Enable Serial Console on the Virtual Machine 1. console=ttyS0 추가 GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 crashkernel=auto rhgb quiet console=ttyS0 vi /etc/default/grub $ vi /etc/default/grub GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_.. 더보기
리눅스 공인IP 확인 리눅스 공인IP(NAT) 확인 curl ifconfig.me $ curl ifconfig.me 192.70.96.260 curl bot.whatismyipaddress.com curl http://ipecho.net/plain curl icanhazip.com curl ipv4.icanhazip.com curl ipv4.ipogre.com 참고URL - https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EA%B3%B5%EC%9D%B8_IP_%ED%99%95%EC%9D%B8 - http://ifconfig.me/ 더보기
[리눅스] tcpdump 명령어 tcpdump 명령어 tcpdump는 네트워크 패킷을 캡처하는 명령어 기반의 유틸리티입니다. tcpdump를 사용하면 네트워크 상에서 전송되는 데이터를 실시간으로 모니터링하고, 패킷을 캡처하여 분석할 수 있습니다. tcpdump 기본 문법 tcpdump [options] [expression] options는 tcpdump의 옵션을 지정하는 부분이며, expression은 필터링 식을 입력하는 부분입니다. host : 지정한 호스트의 IP 주소에 대한 패킷만 캡처합니다. port : 지정한 포트 번호로 전송되는 패킷만 캡처합니다. tcp : TCP 패킷만 캡처합니다. udp : UDP 패킷만 캡처합니다. 1. 기본 사용 방법 tcpdump를 실행하면 기본적으로 시스템의 첫 번째 네트워크 인터페이스(eth.. 더보기
[리눅스] Proxy 서버 구축(squid) Proxy 서버 구축(squid) 1. 설치 yum install squid 설정 파일 구성 /etc/squid/squid.conf /var/log/squid/cache.log /var/log/squid/access.log 2. 설정 파일(squid.conf) vi /etc/squid/squid.conf ### Access Control List acl localnet src 10.0.0.0/8 # RFC1918 possible internal network acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network acl .. 더보기
리눅스에서 HTTP Proxy Server 설정하기 리눅스에서 HTTP Proxy Server 설정하기 1. 로그인 세션 동안만 유지되는 방법 export http_proxy=[proxy서버]:[proxy포트] export https_proxy=[proxy서버]:[proxy포트] unset http_proxy unset https_proxy 2. 로그인 세션이 종료된 후에도 프록시를 유지시키는 방법 *** .bashrc, .bash_profile, /etc/profile vim ~/.bashrc export http_proxy=[proxy서버]:[proxy포트] export https_proxy=[proxy서버]:[proxy포트] source ~/.bashrc 3. Proxy 설정 적용 확인 env | grep -i proxy http_proxy 및 ht.. 더보기
[리눅스] mongoDB 소스 설치 mongoDB 소스 설치 mongoDB 다운로드 사이트 https://www.mongodb.com/download-center#community 1. mongoDB 다운로드 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel62-3.4.4.tgz 2. mongoDB 압축 해제 tar xvfz mongodb-linux-x86_64-rhel62-3.4.4.tgz 3. mongoDB 서브디렉토리 생성 mv mongodb-linux-x86_64-rhel62-3.4.4 /appdata/ ln -s /appdata/mongodb-linux-x86_64-rhel62-3.4.4 /appdata/mongodb mkdir -p /appdata/mongodb/{.. 더보기

반응형