Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÔ¶³ÌͼÐνçÃæ·ÃÎÊ

СµÜ×î½üÔÚѧlinux£¬ÔÚVMÉÏ×°µÄrhel 4 £¬Ô¶³ÌͼÐηÃÎÊÅäºÃÁË£¬ÓõÄxming.

/etc/inittabÅäÖÃÈçÏÂ
id:5:initdefault:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
rhel4»ù±¾²»ÓøÄÕâÀï¾Í¿ÉÒÔÔ¶³ÌÁ¬½ÓÉÏ¡£
ÓÃÔ¶³ÌͼÐηÃÎʱØÐërunlevelΪ5 Âð£¿

ÏëÇë½ÌÄܲ»Äܳõʼ»¯Ä¬ÈÏʹÓÃÎı¾½çÃæÆô¶¯£¬È»ºóÒ²ÄÜÓÃxming½øÐÐÔ¶³ÌͼÐνçÃæ·ÃÎÊ£¬¾ÍÏñaixϵͳÄÇÑù£¿
Ô¶³ÌÎı¾µÇ¼¿ÉÒÔʹÓà telnet ssh µÈ¹¤¾ß£¬

ÒýÓÃ
СµÜ×î½üÔÚѧlinux£¬ÔÚVMÉÏ×°µÄrhel 4 £¬Ô¶³ÌͼÐηÃÎÊÅäºÃÁË£¬ÓõÄxming.

/etc/inittabÅäÖÃÈçÏÂ
id:5:initdefault:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
rhel4»ù±¾²»ÓøÄÕâÀï¾Í¿ÉÒÔÔ¶³ÌÁ¬½ÓÉÏ¡£
ÓÃÔ¶³ÌͼÐηÃÎʱØÐërunlevelΪ5 Âð£¿

ÏëÇë½ÌÄܲ»Äܳõʼ»¯Ä¬ÈÏʹÓÃÎı¾½çÃæÆô¶¯£¬È»ºóÒ²ÄÜÓÃxming½øÐÐÔ¶³ÌͼÐνçÃæ·ÃÎÊ£¬¾ÍÏñaixϵͳÄÇÑù£¿


1. Îı¾½çÃæÓÃputty·ÃÎÊ¡£
2. Ô¶³ÌͼÐνçÃæÓÃVNC.

²»ÊÇÁ¬½ÓµÄÎÊÌâ
runlevelΪ5ʱ£¬Æô¶¯ºóĬÈÏÊÇͼÐνçÃæµÄ¡£
ÎÒÏëÈÃlinuxÆô¶¯ÊÇÎı¾½çÃ棬Ҳ¾ÍÊÇrunlevelΪ3,ÕâÑùÅäÖõĻ°£¬²»ÄÜʹÓÃÓÃÔ¶³ÌͼÐνçÃæ·ÃÎÊ¡£
ÎÒÏëÖªµÀÔõôÅäÖÿÉÒÔÈÃlinux±¾»úÆô¶¯ÔËÐÐÊÇÎı¾µÄ½çÃ棬¶øÎÒÓÖ¿ÉÒÔÔÚÔ¶³ÌʹÓÃͼÐνçÃæÀ´·ÃÎÊ

ÒýÓÃ
1. Îı¾½çÃæÓÃputty·ÃÎÊ¡£
2. Ô¶³ÌͼÐνçÃæÓÃVNC.


ʹÓÃVNCʱ£¬Ö÷»ú¿ÉÒÔÊÇ×Ö·û½çÃæµÄÂð£¿
xdmcp²»ÐУ¿

debianϵÁУ¬¶¼ÓÐ×Ô´øÔ¶³ÌµÄ¹¤¾ß£¬µ«ÊDz


Ïà¹ØÎÊ´ð£º

javaÈçºÎ¿ØÖÆÔ¶³ÌLinuxÖØÆô

ÎÒÄ¿Ç°ÔÚ±¾µØµÄlinuxÉÏдÁËÒ»¸öswingµÄ½çÃ棬Ïëͨ¹ýÕâ¸ö½çÃæÀ´¿ØÖÆÆäËüµçÄÔµÄlinuxÖØÆô¡£
ÎÒÖªµÀÓÃRuntime.getRuntime().exec("shutdown -r");¿ÉÒÔ¿ØÖƱ¾»úLinuxÖØÆô£¬µ«ÊÇÔõô¿ØÖÆÔ¶³ÌµÄlinuxÖØÆôÄØ£¿ ......

Linux Socket HTTPÇëÇóµÄÎÊÌ⣬¸ßÊÖ½ø£¡

СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£Ô­Òò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:

char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......

±±¾©¼±ÕÐlinux¡¢PHPÍøÂçÓ¦Óÿª·¢

ÎÒÃÇÁ¥ÊôÖпÆÔº¼ÆËãËùÍøÂçÖصãʵÑéÊÒ(http://www.ict.ac.cn/survey/channel/detail443.asp)»ù´¡ÉèÊ©¿ÎÌâ×é.
ÏÖÒòÏîÄ¿ºÍÒµÎñÍØÕ¹µÄÐèÒª,ÌØÐèÒªÕÐƸÓëÏîÄ¿Ïà¹ØµÄÍøÂçÓ¦Óù¤³Ìʦ1-2Ãû¡£

¾ßÌåÒªÇóÈçÏ¡£ÓÐÒâÕß ......

linuxÒ»¸ösleepµÄÆæ¹ÖÎÊÌ⣬¸ßÊÖÀ´¸ø½â´ðÏÂÁË

while(1)
{
    time_t now;
    time(&now);
    struct tm* pt=localtime(&now);
    cout < < "µ±Ç°Ê±¼ä" < < pt->t ......

¸ü¸ÄlinuxĿ¼

Ó¦ÓÃϵͳÊÇ°²×°ÔÚ /opt Ŀ¼Ï£¬/opt Ŀ¼ÊÇÊôÓÚ¸ùĿ¼ / ϵġ£ÁíÍâÒ»¸öÎļþϵͳµÄ¹ÒÔصãÊÇÔÚ/aaaĿ¼Ï£¬¿É·ñ½«/optĿ¼ÏµÄËùÓÐÎļþcopyµ½/aaaĿ¼Ï£¬umount ÔÚ/aaaĿ¼ÏµĹÒÔص㣬½«/aaa¸ÄÃû/optĿ¼£¬ÔÙ½«Ô­À ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ