본문 바로가기

반응형

변군이글루

[VPN] SoftEther VPN 설치 및 설정-2 SoftEther VPN 라우팅 테이블 설정 VPN Default Gateway(optional) VPN static routing table 설정 더보기
[VPN] SoftEther VPN 설치 및 설정-1 SoftEther VPN 설치 패키지 다운로드 : http://softether-download.com/en.aspx # cd /usr/local/src/ # wget https://www.softether-download.com/files/softether/v4.34-9745-rtm-2020.04.05-tree/Linux/SoftEther_VPN_Server/64bit_-_Intel_x64_or_AMD64/softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz # tar xvfz softether-vpnserver-v4.34-9745-rtm-2020.04.05-linux-x64-64bit.tar.gz -C /usr/local/ # cd.. 더보기
nginx-module-vts 모듈 추가 Nginx 가상호스트 트래픽 상태 모듈 설치하기 nginx-module-vts는 서버 상태 및 성능 통계를 제공하는 Nginx 모듈입니다. APT 저장소 설정 sudo sed -Ei 's/(archive|security)\.ubuntu\.com/mirror.kakao.com/g' /etc/apt/sources.list apt-get update APT 패키지툴을 이용하여 nginx 설치 apt-get install -y curl gnupg2 ca-certificates lsb-release echo "deb http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" | sudo tee /etc/apt/sources.list.d/nginx.list curl -f.. 더보기
자빅스(Zabbix) 알람을 Mattermost와 연동하는 방법 자빅스(Zabbix) 알람을 Mattermost와 연동하는 방법 자빅스(Zabbix) 알람을 Mattermost와 연동하려면 Zabbix에서 Mattermost 웹훅(Webhook)을 설정해야 합니다. 이를 통해 Zabbix 알람 이벤트가 발생할 때 Mattermost로 메시지를 보낼 수 있습니다. zabbix_server.conf 설정 확인 zabbix_server.conf 설정에 AlertScriptsPath 설정되어 있는지 확인합니다. vim /etc/zabbix/zabbix_server.conf ListenPort=10051 LogFile=/var/log/zabbix/zabbix_server.log LogFileSize=0 PidFile=/var/run/zabbix/zabbix_server.pid.. 더보기
리눅스에서 .ppk 파일을 .pem 파일로 변환 리눅스에서 .ppk 파일을 .pem 파일로 변환putty 설치redhat 계열(CentOS)sudo yum install -y puttydebian 계열(ubuntu)sudo apt-get install -y putty-tools.pem 파일을 .ppk 파일로 변환sudo puttygen pemKey.pem -o ppkKey.ppk -O private.ppk 파일을 .pem 파일로 변환sudo puttygen ppkkey.ppk -O private-openssh -o pemkey.pem 참고: PuTTY 프로그램은 Windows 운영체제에서 사용되며 Linux나 macOS에서는 .pem 형식의 키 파일을 주로 사용합니다. PuTTY에서 생성된 .ppk 파일을 .pem으로 변환하면 이후 SSH 연결과 같은.. 더보기
[docker] docker login fails while docker-compose is installed on Ubuntu 18.04 docker login fails while docker-compose is installed on Ubuntu 18.04 docker login fail docker login gitla.sangchul.kr:4567 $ docker login gitla.sangchul.kr:4567 Username: admin Password: Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY` config.json 파일 생성 vim ~/.docker/config.json $ vim ~/.docker/config.json { "auths": { .. 더보기
킥스타트 기반 PXE 자동 설치 환경 구축하는 방법 PXE + Kickstart 기반 CentOS 자동 설치 환경 구축하는 방법SELinux 비활성화perl -pi -e 's/^SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/configreboot기본 패키지 설치PXE, DHCP, TFTP, NGINX를 위한 패키지를 설치합니다.yum install -y tftp tftp-server syslinux-tftpboot xinetd dhcp dhcp-devel syslinuxyum install -y epel-releaseyum install -y nginxTFTP 설정sed -i '/disable/ s/yes/no/' /etc/xinetd.d/tftpDHCP 서버 설정cat /usr/share/doc/dhcp*/d.. 더보기
[리눅스] KVM Virsh Console Access On CentOS 6 KVM Virsh Console Access On CentOS 6 Step #1 vi /boot/grub/menu.lst # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashi.. 더보기

반응형