yast yet another setup tool suse yast suse linuxlinux.vbird.org/somepaper/20051007-suse-yast.pdf ·...

Click here to load reader

Post on 12-Aug-2020

0 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • 3

  • 3-2

    YaST Yet another Setup Tool SUSE

    YaST YaST

    cluster ...

    YaST SuSE Novell SuSE

    2004 Novell YaST Open Source GPL

    YaST SUSE LINUX

    YaST YaST Control Center Linux

    YaST

    root 3-1

    3-1

  • 3-3

    3

    root YaST

    YaST

    SP1 SLES 9 YaST

    3-2 SP1 SP1

    3-3

  • 3-2 YaST

    SLES 9 SP1 YaST

    SLES 9 SP1 3-2

    Software Patch CD Update

    3-4

  • 3-5

    3

    3-4

    YaST root

    YaST

  • 3-6

    YaST root

    YaST 3-5

    root

    [email protected]:~> su -

    Password:

    linux:~ # yast

    YaST TAB

    H Q

    Enter

  • YaST 3-2

    3-7

    3

  • YaST

    yast < >

    yast2 < >

    YaST

    # yast -l

    Available modules:

    answering_machine

    autoyast

    backup

    bootfloppy

    bootloader

    ca_mgm CA

    cd-creator

    cdrom

    common_cert Import Common ServerCertificate

    controller

    dhcp-server DHCP

    dirinstall

    disk

    dns /etc/resolv.conf DNS

    dns-server DNS

    dsl DSL

    3-8

  • 3-9

    3fax

    firewall

    groups

    heartbeat High Availability

    host /etc/hosts DNS

    http-server HTTP

    hwinfo

    idedma IDE DMA

    inetd inetd

    inst_source

    instserver

    ipsec VPN

    isdn ISDN

    joystick

    kerberos-client Kerberos

    keyboard

    lan

    language

    ldap LDAP

    ldap-server LDAP

    lvm_config LVM

    mail

    modem

    mouse

    nfs NFS

    nfs_server NFS

    nis NIS

    nis_server NIS

    ntp-client NTP

    online_update

    power-management

    powertweak Powertweak

    printer

    profile-manager

    proxy

    remote

    restore

  • routing

    runlevel Runlevel Editor

    samba-client SAMBA

    samba-server SAMBA

    security

    slp SLP

    sound

    support

    sw_single

    sysconfig /etc/sysconfig

    tftp-server TFTP

    timezone

    uml UML

    update

    users

    vendor

    view_anymsg

    wol WOL

    x11

    you_server YOU

    YaST

    3-6 YaST Software

    3-10

  • 3-11

    3

    SP1

    SLES 9 SP1

    Novell Internet

    SLES 9 SP1 SLES 9 SP1

    3-7

    cd:/// N YaST

    YaST Novell SUSE

  • SUSE LINUX Enterprise Server 9 30

    http://www.novell.com/zh-tw/products/linuxenterpriseserver/eual.html

    3-8 N

    ... Novell SUSE

    Windows Update

    3-12

  • 3-13

    3

    ...

    telnet

    telnet S

  • 3-9 ...

    3-14

  • D U

    D

    U

    A

    3-10 O OK SUSE

    telnet

    3-15

    3

  • UML User Mode Linux

    Linux Linux

    3-11

    3-16

  • 3-17

    3YOU YaST Online Update

    YOU Server YaST

    3-12 YOU

    YaST YOU Server

    Novell SUSE

    Novell SUSE

  • 3-18

    SLES 9

    3-13 SELS 9

    YaST

  • Novell SUSE

    3-14 URL

    cd:///;device=/dev/hd# #

    A

    Office ...

    YaST

    YaST

    3-19

    3

  • 3-20

    YaST

    YaST ...

    3-15 YaST

  • 3-21

    3PIO Programmed I O Mode DMA Direct

    Memory Access Mode

    CPU

    CPU

    DMA

    CPU

    PIO CPU

    SLES 9 DMA YaST DMA

    IDE DMA

    YaST /etc/fstab

    /media

    YaST

    3D

    ...

  • Windows

    3-17

    SLES 9

    Novell

    3-22

  • 3-23

    3

    YaST

    YaST

    Kernel

    SLES 9

    YaST

  • Windows

    3-18 N

    SLES 9 OES Open Enterprise Server

    SLES 9

    SLES 9

    3-24

  • 3-25

    3

    ...

    /etc/sysconfig LVM Runlevel Editor

    Linux

  • 3-19 YaST DSL ISDN

    3-26

    Linux kernel 3-20

    IP

  • 3-27

    3

    O ... IP Address

    ... 3-21

    DHCP U DHCP

    T IP

    H

    DNS IP Default Gateway

    O N

  • 3-28

    DSL Digital Subscriber Lines

    ADSL IDSL SDSL ISP IP

    IP... YaST

    ISDN ISDN

    3-22 ISDN ISDN

  • 3-29

    3

    YaST

    YaST

    YaST

  • 3-30

    Intranet Internet

    TCP IP TCP IP

    TCP IP

    DNS HTTP SSH Telnet LDAP...

    Linux

    YaST

    YaST

  • 3-31

    3

    SLES 9

    ...

    LAN

    Quota

  • 3-32

    YaST iptables 4

    rules rules

    YaST iptables 4

  • ...

    3-33

    3

    IPsec...

  • 3-34

  • 3-35

    3Linux

    logical user account user

    identification number UID Kernel

    UID

    YaST uid

    1000 S

    I Primary

    Group ...

  • YaST

    3-29

    group identification number GID

    3-36

  • 3-37

    33-31 Miscellaneous

    License Novell

  • 3-32

    3-38

  • Software

    Hardware

    System LVM...

    Network Devices

    Network Services

    Security and Users

    Miscellaneous ...

    yast < >

    yast2 < >

    yast -l yast -list

    3-3

    3-39

    3

  • 3-40

  • 3-41

    Chapter3

  • 3-42

  • telnet SLES 9 telnet

    Unix-Like

    YaST telnet

    root yast2 YaST

    Software Install and Remove Software

    yast2 sw_single

    telnet S

    telnet-server A

    3-43

    3

  • telnet telnet

    YaST telnet YaST

    Network Services inetd

    3-35

    YaST O

    3-44

  • 3-45

    3

    telnet xinetd xinetd

    L xinetd xinetd

    telnet telnet

    T telnet F

  • VMware VMware

    VMware Bridged NAT Host Only

    Guest OS SLES 9 IP Host OS Windows

    Guest OS Bridged

    Guest OS IP Host OS

    IP Host OS Guest OS

    Host OS IP DHCP DHCP

    3-46

  • 3-47

    3Host OS IP Guest OS SLES 9 IP

    DHCP Guest OS SLES 9 DHCP

    IP 3-37

    Bridged Host OS Guest OS

    VMware Windows

    VMware Network Adapter VMnet8 IP

    I P I P

    192.168.#.1

    Host OS IP

    Guest OS SLES 9 IP DHCP Guest OS

    SLES 9

  • 3-38 NAT NAT IP

    Guest OS DHCP IP Host OS VMWare DHCP

    Guest OS IP

    Host OS VMware Network Adapter VMnet8 IP

    Host OS Guest OS SLES 9

    IP

    Guest OS SLES 9

    NAT device IP

    IP Guest OS SLES 9

    Internet

    3-48

  • 3-49

    3VMware VMware Network Adapter VMnet8

    VMware Network Adapter VMnet1

    IP IP

    IP 192.168.#.1

    Host only NAT Host only

    VMware Guest OS NAT Guest OS Host OS

    Internet

    3-40 VMware VM

    Settings... Ethernet

  • 3-50

    VMware IP DHCP NAT

    Guest OS IP IP

    Guest OS

    IP

    IP

    192.168.#.254 VMware DHCP Server IP

    SLES 9 DHCP Server VMware DHCP Server IP

    192.168.#.254 telnet IP 5

    telnet server telnet 192.168.#.254

    VMware DHCP Server IP 192.168.#.254

  • 3-51

    3

    YaST

    yast2 lan H

  • 3-52

    3-43 E

    3-44 IP IP

  • 3-53

    33-44 H O

    O 3-45

    3-46

  • telnet IP telnet Host

    OS SLES 9 Windows telnet root gooko

    gooko su - root poweroff

    C:\>telnet 192.168.142.254

    3-54

    SLES 9 root console ssh root telnet

    # mv /etc/securetty /etc/securetty.bak

  • 3-55

    3

    Windows ssh client

    PuTTY SLES 9

    http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

    PuTTY 3-48 SLES 9 ssh

    SSH 2 PuTTY Preferred SSH protocol version

    2

  • SLES 9 UTF-8 codepage PuTTY codepage

    UTF-8 Category

    Window Translation Received data assumed to be in

    which character set: UTF-8 3-49

    3-56

    3-50 Category Session Host Name

    or IP Address SLES 9 IP SSH Session

    SLES 9 Save Open 3-51

  • 3-57

    3

  • telnet ssh... SELS 9 VNC

    VNC YaST

    YaST

    YAST

    yast2

    yast2 remote

    yast Network Service Remote

    yast remote

    3-58

  • 3-53

    A F

    3-59

    3

    http:// IP :5801 3-54

    root 3-55

  • 3-60

  • 3-61

    3Linux ?

    YaST YaST

    Unix-Like

    X Window System CPU

    Shell Script

    Shell Script crontab

    MAZDA 6

    Linux

    Linux

    Linux

    Linux YaST

    YaST

  • 3-62