1. Install X Windown and KDE Destop on our Centos 6.4

yum -y groupinstall “X Window System” “KDE (K Desktop Environment)”

  1. Install Tiger VNC Server on our Centos 6.4

yum -y install vnc-server

yum -y install tigervnc-server

  1. Create username and password for VNC Server

cd ~

mkdir .vnc

cd .vnc/

vncpasswd

Password :

Verify :

  1. Configure VNC configuration for new user

cat /etc/sysconfig/vncservers

VNCSERVERS="1:root"    #--- User Port 1~5901 port

VNCSERVERARGS[1]="-geometry 1152x864"   #--- Additional Options : -nolisten -nohttpd -localhost

  1. Start VNC Server and configure VNC Server run when server start up

chkconfig vncserver on

/etc/init.d/vncserver start

  1. Disable iptables on Centos 6.4

/etc/init.d/iptables stop

chkconfig iptables off

  1. VNCViewer Download & Use

http://www.realvnc.com/download/viewer/

받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/572

Linux 방화벽 상태 확인

Articles 2013/07/31 01:28 용비
* 현재 Listen 중인 포트 확인
netstat -an | grep LISTEN
* 숨겨진 포트까지 확인
netstat -nap
* 전체 방화벽 설정 확인
service iptables status
* nmap으로 확인
nmap -sS ip_address
* 없으면 nmap 설치
yum -y install nmap*
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/571

CentOS 6.4에 NginX 설치

Articles 2013/07/24 11:09 용비
NginX Version : 1.4.2

<의존 패키지 설치>
yum -y install gcc g++ cpp gcc-c++
yum -y install pcre-devel
yum -y install openssl openssl-devel
yum -y install gd gd-devel

<NginX 설치>
다운로드 : wget http://nginx.org/download/nginx-1.4.2.tar.gz
압축 해제 : tar -zxvf nginx-1.4.2.tar.gz

압축 풀린 nginx-1.4.2 폴더로 이동 후, configure

./configure --prefix=$HOME/nginx \
--conf-path=$HOME/nginx/conf/nginx.conf \
--sbin-path=$HOME/nginx/sbin/nginx \
--lock-path=$HOME/nginx/lock/nginx.lock \
--pid-path=$HOME/nginx/run/nginx.pid \
--http-client-body-temp-path=$HOME/nginx/lib/nginx/body \
--http-proxy-temp-path=$HOME/nginx/lib/nginx/proxy \
--http-fastcgi-temp-path=$HOME/nginx/lib/nginx/fastcgi \
--http-uwsgi-temp-path=$HOME/nginx/lib/nginx/uwsgi \
--http-scgi-temp-path=$HOME/nginx/lib/nginx/scgi \
--http-log-path=$HOME/nginx/log/access.log \
--error-log-path=$HOME/nginx/log/error.log \
--with-http_addition_module \
--with-http_degradation_module \
--with-http_flv_module \
--with-http_gzip_static_module \
--with-http_image_filter_module \
--with-http_mp4_module \
--with-http_random_index_module \
--with-http_realip_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-http_sub_module \
--with-http_realip_module \
--user=nobody \
--group=nobody

설치 : make && make install
받은 트랙백이 없고, 댓글이 없습니다.

댓글+트랙백 RSS :: http://www.yongbi.net/rss/response/570