Æí¸®ÇÑ È£½ºÆà ¹Ì¼ÒIDC

   
 
 
 

      1Â÷ ³×ÀÓ¼­¹ö :
      ns1.misoidc.com
      101.79.73.101

      2Â÷ ³×ÀÓ¼­¹ö :
      ns2.misoidc.com
      101.79.73.105

      ¾îÁ¦ : 235 ,¿À´Ã : 349
      Àüü : 1,156,099


     

 

 
ÀÛ¼ºÀÏ : 12-03-28 14:43
CentOS 5.5 VNC ¼³Á¤ ¹× »ç¿ë¹æ¹ý
 ±Û¾´ÀÌ : ½ÑÀ¥È£½ºÆÃ
Á¶È¸ : 131,296  
CentOS 5.5 ¿¡´Â ±âº»ÀûÀ¸·Î VNC Server°¡ ¼³Ä¡µÇ¾î ÀÖ¾î ȯ°æ¼³Á¤°ú ¼­ºñ½º µî·Ï¸¸À¸·Î VNC¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù.


1. ȯ°æ

- CentOS 5.5 : ¼³Ä¡µÊ
- VNC Viewer : http://www.uvnc.com/download/ ¿¡¼­ ´Ù¿î·Îµå



2. ¼³Á¤

# vi /etc/sysconfig/vncservers



3. vncservers ³»¿ë ¼öÁ¤

# The VNCSERVERS variable is a list of display:user pairs.

#

# Uncomment the lines below to start a VNC server on display :2

# as my 'myusername' (adjust this to your own). You will also

# need to set a VNC password; run 'man vncpasswd' to see how

# to do that.

#

# DO NOT RUN THIS SERVICE if your local area network is

# untrusted! For a secure way of using VNC, see

# <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>.


# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.


# Use "-nohttpd" to prevent web-based VNC clients connecting.


# Use "-localhost" to prevent remote VNC clients connecting except when

# doing so through a secure tunnel. See the "-via" option in the

# `man vncviewer' manual page.


# VNCSERVERS="2:myusername"

# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -nohttpd -localhost"


VNCSERVERS="1:root"

VNCSERVERARGS[1]="-geometry 12800x800"



4. VNC ¾ÏÈ£ ¼³Á¤

# vncpasswd
Password:
Verify:



5. Port È®ÀÎ ¹× ¹æÈ­º® ¿ÀÇÂ

# netstat -antp

Active Internet connections (servers and established)

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN 25974/Xvnc

tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 25974/Xvnc

tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2629/portmap

tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 25974/Xvnc



# vi /etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5901 -j ACCEPT
(Ãß°¡)


5-1. iptable restart
# /etc/rc.d/init.d/iptables restart


6. VNC Server ½ÃÀÛ

# service vncserver start



7. ¼­¹ö ºÎÆýà ÀÚµ¿ ½ÇÇà service·Î µî·Ï

# chkconfig vncserver on



8. À©µµ¿ì¿¡¼­ ±×·¡Çȸðµå·Î º¸±â À§ÇÑ ¼³Á¤

# vi /root/.vnc/xstartup



#!/bin/sh


wing two lines for normal desktop:

# unset SESSION_MANAGER (# Á¦°Å)

# exec /etc/X11/xinit/xinitrc (# Á¦°Å)


[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey

vncconfig -iconic &

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

twm &


# Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc


[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey

vncconfig -iconic &

xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

twm &





9. VNC Viewer·Î Á¢¼Ó È®ÀÎ



10. Á¢¼ÓÈ­¸é





11. Âü°í

http://jonnychoe.egloos.com/5472045


½ÑÀ¥È£½ºÆà 12-03-28 14:43
 
++ xhost ¹®Á¦°¡ ³ª¿Â´Ù¸é
[root@CJDP_DB jdk1.6.0_13]# DISPLAY=localhost:2.0
[root@CJDP_DB jdk1.6.0_13]# export DISPLAY
[root@CJDP_DB jdk1.6.0_13]# xhost +
 
 

Total 78
¹øÈ£ Á¦   ¸ñ ±Û¾´ÀÌ ³¯Â¥ Á¶È¸
63 memcached Cacti Template ½ÑÀ¥È£½ºÆà 05-17 79227
62 ORA-00020: maximum number of processes (%s) exceeded ½ÑÀ¥È£½ºÆà 05-14 22517
61 ¸®´ª½º¿¡¼­ ¼Ò½ºÄÄÆÄÀÏÀ» ÀÌ¿ëÇÑ Trac, Subversion ¼³Ä¡ ¿Ïº® °¡¡¦ (1) ½ÑÀ¥È£½ºÆà 05-10 63472
60 Trac ¼³Ä¡ ¹× ¼³Á¤ ¸Þ´º¾ó ½ÑÀ¥È£½ºÆà 05-07 108898
59 ¸®´ª½º ƯÁ¤ ³¯Â¥ ÀÌÈÄ º¯°æ ÆÄÀÏ Ã£±â ½ÑÀ¥È£½ºÆà 03-31 18911
58 CentOS 5.5 VNC ¼³Á¤ ¹× »ç¿ë¹æ¹ý (1) ½ÑÀ¥È£½ºÆà 03-28 131297
57 29Trac & Subversion ¹é¾÷ ¹× º¹±¸ ½ÑÀ¥È£½ºÆà 02-24 17983
56 HP ProLiant ¼­¹ö¿¡ RAID 1À¸·Î Ubuntu 10.4 LTS , HP Sotware ¡¦ ½ÑÀ¥È£½ºÆà 02-22 51135
55 HP¼­¹ö Çϵåµð½ºÅ©ÀÇ »óź¸±â ½ÑÀ¥È£½ºÆà 02-20 70984
54 CentOS - Apache + SVN + Trac ¿¬µ¿ ½ÑÀ¥È£½ºÆà 02-16 196501
53 [¸®´ª½º/NGINX] CentOs 5.7 64bit ¿¡¼­ NGINX + PHP + MYSQL + m¡¦ ½ÑÀ¥È£½ºÆà 01-13 83926
52 php ÄÄÆÄÀϽà Cannot find libmysqlclient_r ¿À·ù ¹ß»ý.. ½ÑÀ¥È£½ºÆà 01-03 18836
51 MySQL ·Î±×ÆÄÀÏ Á¤¸®Çϱ⠽ÑÀ¥È£½ºÆà 12-26 20716
50 SQL Server 2005¿¡¼­ DBCC SHRINKFILE ¹®À» »ç¿ëÇÏ¿© Æ®·£Àè¼Ç ¡¦ ½ÑÀ¥È£½ºÆà 12-07 22175
49 Subversion/Trac ¹é¾÷ ¹× º¹±¸ ½ÑÀ¥È£½ºÆà 11-30 29604
 1  2  3  4  5  6