ܼ

CentOS 7˲Ȥθߴ뤳ȤŪȤ㡣

󥹥ȡ

󥹥ȡ륿פϡ֥СGUIѡˡ׹
ΥפǤEL6ޤǤȤθߴݤ뤿Υġबᤫ饤󥹥ȡ뤵뤿ᡢȤ䤹ǻϤ뤳ȤǤ롣

٥

CentOS7Ǥϥӥ椬systemd֤äᡢrun levelμȤϰۤʤ빽¤ȤʤäƤ롣
֥СGUIѡˡ׹ξϡgraphical.targetפꤵ졢GUI̤ư֤ȤʤäƤ롣

  • ߤǧ
    systemctl get-default
  • CLIѹ
    systemctl set-default multi-user.target
  • GUIѹ
    systemctl set-default graphical.target

  • SELinux̵
    vi /etc/selinux/config
    
    ѹ SELINUX=enforcing
    ѹ SELINUX=disabled
  • Firewall̵
    systemctl stop firewalld
    systemctl disable firewalld
  • Ƶư
    reboot

ߴ

  • DNSϢޥdignslookuphostnsupdate
    yum install -y bind-utils
  • ץϢޥkillallpstree
    yum install -y psmisc

  • ͥåȥϢޥ
    yum install -y traceroute
    yum install -y wget
    yum install -y telnet
    yum install -y nmap
  • systemctlؤ䴰ǽɲ
    yum install -y bash-completion
    wget https://github.com/terralinux/systemd/raw/master/src/systemctl-bash-completion.sh -O /etc/bash_completion.d/systemctl-bash-completion.sh

VMware Tools

VMware ToolsɬפȤޥifconfigˤޤޤƤʤᡢopen-vm-toolsѤͤ˷ٹ𤵤롣
ҤμѤޤƤнVMware Tools򥤥󥹥ȡ뤹뤳ȤǤ롣


  • vSphere ClientVMwareToolsΥ󥹥ȡ
    ʲroot¤Ǽ¹

    mount /dev/cdrom /medeia
    cp /media/VMwareTools-9.10.0-2476743.tar.gz /usr/local/src
    cd /usr/local/src
    tar xfvz /media/VMwareTools-9.10.0-2476743.tar.gz
    ./vmware-tools-distrib/vmware-install.pl 

    VMwareTools򥤥󥹥ȡ뤹뤫ǧ뤿ᡢyesϤ

    open-vm-tools are available from the OS vendor and VMware recommends using 
    open-vm-tools. See http://kb.vmware.com/kb/2073803 for more information.
    Do you still want to proceed with this legacy installer? [yes]

    ʹߤ̾μƱEnter20Ϥ

    vmware-tools.serviceɲä뤿ᡢưǤεưߤϰʲμȤʤ롣
  • ư
    systemctl start vmware-tools.service 
  • systemctl stop vmware-tools.service 
  • Ưǧ
    systemctl status vmware-tools.service
    
     vmware-tools.service - SYSV: Manages the services needed to run VMware software
      Loaded: loaded (/etc/rc.d/init.d/vmware-tools)
      Active: active (running) since  2016-07-21 11:38:10 JST; 18min ago
        Docs: man:systemd-sysv-generator(8)
     Process: 632 ExecStart=/etc/rc.d/init.d/vmware-tools start (code=exited, status=0/SUCCESS)
      CGroup: /system.slice/vmware-tools.service
              751 /usr/sbin/vmtoolsd
              786 /usr/lib/vmware-vgauth/VGAuthService -s
    
    7 21 11:43:28 centos7-master systemd[1]: Starting SYSV: Manages the services needed to run VMware s...e...
    7 21 11:43:28 centos7-master vmware-tools[632]: Checking acpi hot plug[  OK  ]
    7 21 11:43:28 centos7-master vmware-tools[632]: Starting VMware Tools services in the virtual machine:
    7 21 11:43:29 centos7-master vmware-tools[632]: Switching to guest configuration:[  OK  ]
    7 21 11:43:29 centos7-master vmware-tools[632]: Guest operating system daemon:[  OK  ]
    7 21 11:38:10 centos7-master vmware-tools[632]: VGAuthService:[  OK  ]
    7 21 11:38:10 centos7-master systemd[1]: Started SYSV: Manages the services needed to run VMware software.
    Hint: Some lines were ellipsized, use -l to show in full.

ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2017-05-14 () 14:01:07 (129d)