본문 바로가기

728x90

변군

[VNC] ERROR vnc : no displays configured [ERROR] vnc : no displays configured # service vncserver restart Shutting down VNC server: [ OK ] Starting VNC server: no displays configured [ OK ] [해결] vncserver configure 설정 vi /etc/sysconfig/vncservers vi /etc/sysconfig/vncservers --------------------------------------------------------------------------------------------------------- # cat /etc/sysconfig/vncservers # The VNCSERVERS variable.. 더보기
리눅스 서버의 보안을 강화하는 방법 리눅스 서버의 보안을 강화하는 방법1. 현재 서버 보안상태 및 자원상태 확인pstree : 현재 구동 중인 프로세스를 트리 형태로 확인할 수 있습니다.lsof / ps : 열린 파일 및 프로세스 정보를 상세히 점검합니다.netstat -anlp : 열려 있는 포트를 확인하여 iptables 방화벽 설정에 반영할 준비를 합니다.vmstat/top/iostat/sar : 시스템 자원 상태를 파악하여 부하 상태를 점검합니다.df -Th : 각 파티션의 용량을 확인합니다.uname -a : 현재 실행 중인 커널 버전 정보를 확인합니다.2. 시간 동기화서버의 시간 동기화를 자동으로 설정하려면 크론탭(crontab)을 사용하여 rdate 명령을 이용해 시간을 동기화하도록 설정합니다.cat > /root/time.s.. 더보기
APM과 Cacti 설치 및 설정하는 방법 APM(Apache, PHP, MySQL)과 Cacti 설치 및 설정하는 방법APM 설치1. 패키지 버전 정보MySQL : mysql-5.0.45.tar.gzApache : httpd-2.2.11.tar.bz2PHP : php-5.2.5.tar.gzZend Optimizer : ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz2. 필요한 라이브러리 설치sudo yum install -y gd gd-devel libpng libpng-devel libjpeg libjpeg-devel freetype \freetype-devel fontconfig fontconfig-devel libxml2 libxml2-devel openssl openssl-devel \gmp gmp-de.. 더보기
[리눅스] yum으로 X window 설치 yum X window 설치 yum groupinstall "GNOME Desktop Environment" yum groupinstall "X Window System" Install Desktop Packages # yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" You can also install the following optional GUI packages. # yum -y groupinstall "Graphical Administration Tools" # yum -y groupinstall "Internet Browser" # yum -y groupinstall "General Purpose Desktop.. 더보기
[리눅스] iTop(itsm) 설치하기 iTop(itsm) 설치하기 iTop - IT Service Management & CMDB 테스트 환경 $ lsb_release -a No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 22.04.1 LTS Release:22.04 Codename:jammy APT 인덱스 업데이트 apt update 필수 종속성(required dependencies) 설치 apt install -y lsb-release ca-certificates apt-transport-https software-properties-common apt install -y openssl $ openssl version OpenSSL 3.0.2 15 Mar 2.. 더보기
[switch] Vlan 설정 (정적 포트별 나누기) Vlan 설정 (정적 포트별 나누기) Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 100//vlan 100 생성 Switch(config-vlan)#vlan 200//vlan 200 생성 Switch(config-vlan)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1.. 더보기
[switch] Switch 텔넷 암호 설정 Switch 텔넷 암호 설정 Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#line vty 0 4 //텔넷 Switch(config-line)#password 12345 Switch(config-line)#login Switch(config-line)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show running-config Building configuration... Current configuration : 956 bytes ! version 12.1 no servic.. 더보기
[router] Secret 패스워드 Secret 패스워드 Router>enable Router#config terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#enable secret 123456 Router(config)#end %SYS-5-CONFIG_I: Configured from console by console Router#show running-config Building configuration... Current configuration : 260 bytes ! version 12.2 no service password-encryption ! hostname Router ! ! enable secret 5 $1$yEP2$IT.. 더보기

반응형