<nav id="gb9pn"></nav>

  1. <form id="gb9pn"><legend id="gb9pn"></legend></form>

    <form id="gb9pn"><legend id="gb9pn"><video id="gb9pn"></video></legend></form>
  2. µ±Ç°Î»ÖÃ:Ê×Ò³ > ǶÈëʽÅàѵ > ǶÈëʽѧϰ > ½²Ê¦²©ÎÄ >
    UbuntuϵͳÆô¶¯¹ý³ÌÏê½â
    ʱ¼ä£º2018-08-09×÷Õߣº»ªÇåÔ¶¼û

    Ò»£® UbuntuµÄÆô¶¯Á÷³Ì

    ubuntuµÄÆô¶¯Á÷³ÌºÍÎÒÃÇÊìÖªµÄRedHatµÄÆô¶¯·½Ê½ÓÐËùÇø±ð¡£

    RedHatµÄÆô¶¯¹ý³ÌÈçÏÂͼ£º

    ÕâÊÇÎÒÃÇÊìÖªµÄlinuxÆô¶¯Á÷³Ì£¬µ«ÊÇubuntuµÄÆô¶¯Á÷³ÌºÍÕâ¸öÓÐÐ©Çø±ð£¬ÎÒÔÚubuntuµÄ/etc/Ŀ¼ÏÂÃæÕÒ²»µ½inittabÕâ¸öÎļþ£¬Ò»¿ªÊ¼ºÜÄÉÃÆubuntuÊÇÔõôÆô¶¯µÄ£¿Ò»²é×ÊÁÏ·¢ÏÖubuntu²¢Ã»ÓвÉÓÃinitµÄ·½·¨£¬ËùÒÔÔÚ/etc/Ŀ¼ÏÂÃæÕÒ²»µ½inittab£¬ÕâÖ÷ÒªÊÇÒòΪinit²ÉÓô®Ðеķ½Ê½£¬Òýµ¼ºÜ·Ñʱ£¬RedHat9Æô¶¯Ê±´®ÐÐÖ´ÐдóÁ¿½Å±¾ÒÔ¼°Æô¶¯¸÷ÖÖÐèÒªµÄ·þÎñ£¬Òò´Ë´Óubuntu6.10¿ªÊ¼Öð²½²ÉÓÃupstartÀ´´úÌæinit£¬½øÐзþÎñ½ø³ÌµÄ¹ÜÀí¡£ÎªÁ˶ÔÔ­ÓеÄinitʵÏÖÏòºó¼æÈÝ£¬upstart¿ÉÒÔ˵ÊÇÔÚ±íÏóÉϱ£ÁôÁ˴󲿷ÖÔ­À´initµÄÌØÐÔ£¬Òò´ËĿǰubuntu³õʼ»¯½ø³ÌÃûÈÔÈ»½Ðinit£¬¶ø¸Ä±äµÄºËÐÄ£¬ÔòÊÇEvent»úÖÆ¡£

    Event»úÖÆ¾ÍÊǽ«½ø³ÌµÄ´¥·¢¡¢Í£Ö¹¶¼¿´³ÉÊÇEvent¡£UbuntuµÄ/etc/ÏÂÓÐÒ»¸öevent.d£¬Õâ¸öĿ¼ÊÇupstartµÄºËÐÄ¡£/etc/event.d/ÏÂÃæ´æ·ÅÁËĿǰupstartÐèҪʶ±ðµÄ¸÷ÖÖevent¡£ÕâÆäÖÐÖ÷ÒªÓÐÈýÖÖ£ºrc-default£¬rcX(X = 0,1,2,3,4,5,6,S)£¬ttyX(X = 0,1,2,3,4,5,6,S)¡£

    ÆäÖÐrc-default¾ÍÀàËÆÓëinittabÎļþ£¬ÓÃÀ´ÉèÖÃĬÈÏÔËÐм¶±ðµÄ¡£cat rc-default£¬ÎÒÃÇ¿ÉÒÔ¿´µ½£º

    # rc - runlevel compatibility
            #
            # This task guesses what the "default runlevel" should be and starts the
            # appropriate script.
            start on stopped rcS
            script
                    runlevel --reboot || true
                    if grep -q -w -- "-s\|single\|S" /proc/cmdline; then
                            telinit S
                    elif [ -r /etc/inittab ]; then
                            RL="$(sed -n -e "/^id:[0-9]*:initdefault:/{s/^id://;s/:.*//;p}" /etc/inittab || true)"
                            if [ -n "$RL" ]; then
                            telinit $RL
                            else
                            telinit 2
                            fi
                    else
                            telinit 2
                    fi
            end script
            Ä¬ÈϵÄÔËÐм¶±ðÊÇ2¡£

    rcXÊÇ·¢ÉúÏàÓ¦ÔËÐм¶±ðʼþʱÐèÒªÔËÐгÌÐòµÄ½Å±¾£¬ÎÒÃÇÔÙcatÒ»ÏÂrc2£º

    # rc2 - runlevel 2 compatibility
            #
            # This task runs the old sysv-rc runlevel 2 ("multi-user") scripts. It
            # is usually started by the telinit compatibility wrapper.
            start on runlevel 2
            stop on runlevel [!2]
            console output
            script
                    set $(runlevel --set 2 || true)
                    if [ "$1" != "unknown" ]; then
                            PREVLEVEL=$1
                            RUNLEVEL=$2
                            export PREVLEVEL RUNLEVEL
                    fi
                    exec /etc/init.d/rc 2
            end script

    ²»È¥¿¼ÂÇϸ½Ú£¬Ö»Òª×¢Ò⵽ǰÁ½Ðк͵¹ÊýµÚ¶þÐоͿÉÒÔÁË¡£¿ÉÒÔ¿´µ½£¬rc2ÎļþÊǶ¨ÒåÔÚ·¢ÉúÔËÐм¶±ð2µÄʱºòËùÒªÖ´ÐеĶ«Î÷£¬ºËÐľÍÊÇÕâ¾ä£ºexec /etc/init.d/rc 2¡£ÕâÑù£¬ÎÒÃǾͿÉÒÔ×ÔÈ»µØ¹ý¶Éµ½ÏÂÒ»¸öÖØÒªµÄĿ¼£¬/etc/init.d/ÁË¡£

    /etc/init.d/Öдæ·ÅµÄ¶¼ÊÇ·þÎñ»òÕßÈÎÎñµÄÖ´Ðнű¾¡£¿ÉÒÔÕâô˵£¬Ö»ÒªÄã°²×°ÁËÒ»¸ö³ÌÐò(ÌØ±ðÊÇ·þÎñ³ÌÐòdaemon)£¬Ëü¿ÉÒÔÔÚϵͳÆô¶¯µÄʱºòÔËÐУ¬ÄÇôËü±Ø¶¨»áÔÚ/etc/init.d/ÖÐÓÐÒ»¸ö½Å±¾Îļþ¡£»Øµ½ÉÏÃæµÄrc2£¬ËüÖ´ÐÐÁËexec /etc/init.d/rc 2£¬Ò²¾ÍÊǸø/etc/init.d/rc´«µÝÁËÒ»¸ö²ÎÊý”2”£¬ÈÃËüÖ´ÐС£Rc½Å±¾ÀïÃæÓÐÕâÑùÒ»¶Î£º

    # Now run the START scripts for this runlevel.
            # Run all scripts with the same level in parallel
            .......
            for s in /etc/rc$runlevel.d/S*
            .......

    Õâ˵Ã÷£¬µ±¸ørc½Å±¾´«µÝÒ»¸öÊý×Ö²ÎÊý"X"µÄʱºò£¬ËüÔÚ¾­¹ýһϵÁеÄÉèÖú󣬽«»á¿ªÊ¼Ö´ÐÐ/etc/rcX.d/ÏÂS¿ªÍ·µÄ½Å±¾¡£Õâ¾Í¹ý¶Éµ½ÏÂÒ»¸öĿ¼/etc/rcX.d/ÁË¡£

    lsÒ»ÏÂ/etc/rcX.d/£¬·¢ÏÖÀïÃæÈ«ÊÇÒ»¶Ñµ½/etc/init.d/ÖеĽű¾·ûºÅÁ´½Ó£¬²»Í¬µÄÊÇËüÃǵĿªÍ·¼ÓÉÏÁËSºÍÒ»¸öÊý×Ö¡£ÊìϤԭ±¾initµÄÈËÓ¦¸ÃÖªµÀ£¬S±íʾÔÚÆô¶¯Ê±ÔËÐУ¬Êý×ÖÔò±íʾִÐеÄÏȺó˳Ðò¡£ÆäÖÐÓÐÒ»¸öÁ´½Ó½Ð×öS30gdm£¬gdmµÄÒâ˼ÊÇgnome display management£¬Ò²¾ÍÊÇÓÃÀ´Æô¶¯gnome×ÀÃæµÄ¡£

    ×ÛÉÏËùÊö£¬upstart¹ÜÀíµÄubuntuÆô¶¯¹ý³ÌÈçÏÂͼËùʾ£º

    ¶þ£® x-windowÆô¶¯¹ý³Ì½âÎö

    ´Ó¿ØÖÆÌ¨½øÈëXÒ»°ãÓÃstartxÃüÁ¹ÊÆô¶¯XÓ¦¸Ã´ÓstartxÕâ¸ö½Å±¾¿ªÊ¼·ÖÎö¡£ÒÔÏÂÊÇstartx½Å±¾µÄÒ»²¿·Ö£º

    #!/bin/sh 
            userclientrc=$HOME/.xinitrc #Óû§µÄclient¶¨ÒåÎļþ 
            userserverrc=$HOME/.xserverrc #Óû§µÄserver¶¨ÒåÎļþ 
            sysclientrc=/usr/X11R6/lib/X11/xinit/xinitrc #ϵͳµÄclient 
            sysserverrc=/usr/X11R6/lib/X11/xinit/xserverrc #ϵͳµÄserver 
            defaultclient=/usr/X11R6/bin/xterm #ĬÈϵÄclient³ÌÐò 
            defaultserver=/usr/X11R6/bin/X #ĬÈϵÄserver³ÌÐò 
            defaultclientargs="" #ÏÂÃæ¶¨ÒåÁËclientºÍserverµÄ²ÎÊý±äÁ¿ 
            defaultserverargs="" 
            clientargs="" 
            serverargs=""
            ……

    ¿ÉÒÔ¿´µ½£¬startxÖ÷ÒªÊÇÖÃX clientºÍX serverËùÔÚµÄλÖ㬲¢´¦ÀíÏà¹Ø²ÎÊý£¬ºó½»¸øxinit´¦Àí¡£¿ÉÒÔ¿´³östartx ÉèÖÃX clientµÄλÖÃÊÇÏÈËÑѰ$HOME/.xinitrc£¬È»ºóÊÇ/etc/X11/xinit/xinitrc£»ÉèÖÃX serverµÄλÖÃÊÇÏÈËÑѰ$HOME/.xserverrc£¬È»ºóÊÇ/etc/X11/xinit/xserverrc¡£ÔÚubuntu8.10µÄ$HOMEÏÂÃæÃ»ÓÐ.xinitrcºÍ.xerverrc£¬ËùÒÔstartxÖ±½ÓÈ¥/etc/ÏÂÃæÕÒx-clientºÍx-server£¬Íê³ÉÆô¶¯xµÄ¹¤×÷¡£

    ×ܽáÒ»ÏÂx-windowµÄÆô¶¯Á÷³Ìͼ£º


    ·¢±íÆÀÂÛ

    È«¹ú×Éѯµç»°£º400-611-6270£¬Ë«ÐÝÈÕ¼°½Ú¼ÙÈÕÇëÖµçÖµ°àÊÖ»ú£º15010390966

    ÔÚÏß×Éѯ£º ²ÜÀÏʦQQ£¨3337544669£©£¬ ÐìÀÏʦQQ£¨1462495461£©£¬ ÁõÀÏʦ QQ£¨3108687497£©

    ÆóÒµÅàѵǢ̸רÏߣº010-82600901£¬ÔºÐ£ºÏ×÷Ǣ̸רÏߣº010-82600350£¬ÔÚÏß×Éѯ£ºQQ£¨248856300£©

    Copyright 2004-2018 »ªÇåÔ¶¼û½ÌÓý¼¯ÍÅ °æÈ¨ËùÓÐ £¬¾©ICP±¸16055225ºÅ£¬¾©¹«º£Íø°²±¸11010802025203ºÅ

    welcome¹º²ÊÖÐÐÄ