Linux foundation _Day2

Yum install the software using the source to achieve

  A. Yum tool to achieve

    1.yum sources include?
            · yum yum command yum source definition file
           relationships between similar waiter, the menu, the kitchen, indispensable. Yum command to decide where you want to install the package. yum definition file to download files from the decision which yum.

        2.yum source configuration
        1) storage path: cd /etc/yum.repos.d/
        2) Create a file name suffix .repo in the directory. Note: The extension must be .repo
        . 3) define the contents of the file
               [name]: yum source identification names
               full name name = yum source
               address of the source baseurl = yum

             enabled = whether to disable or enable the definition file 0 | 1
               gpgcheck check whether the digital signature 0 | 1           

             Wherein the local (stored in the unit): file: // network (other computers): http: // or ftp: //

                                              
    Second vi editor (follow-up will be added)
        Command mode: vi
        input mode: i key
        line mode: esc exit edit mode,: wq to save and exit q Force Quit!
      Yum: determines what software packages three .yum source use      1. The disc-XXX.iso RHEL6.7      2. insert drive: virtual machine / set / cd DVD confirm the connection status      3. mount point: / Media      4. mount the CD        syntax: mount device mount point name        #mount / dev / cdrom / media mount        yum install man -y install        man mkdir to see the man page  four to install the software.      to install tree, man package, for example      yum install man -y      yum -y install Tree      absolute path: starting with the root / root / ambow / a                      relative path: current position as a starting point, / ambow / a
   













Guess you like

Origin www.cnblogs.com/Mr-lmxs/p/11785840.html
Recommended