码迷,mamicode.com
首页 > 系统相关 > 详细

centos——vmware虚拟机-minimal installation

时间:2016-04-11 00:08:12      阅读:271      评论:0      收藏:0      [点我收藏+]

标签:

  最小化安装有很多问题!有些命令没有。特别在安装vmware-tools的时候。

 

   系统环境最小化安装:
  linux 环境最小化安装后执行以下命令:
  # yum -y upgrade
  # reboot
  
  1.缺少ifconfig命令(也就是二进制文件)
  解决方法:   yum provides ifconfig
        yum whatprovides ifconfig
        yum install net-tools
  测  试:   ifconfig -a
  来  源:   http://www.unixmen.com/ifconfig-command-found-centos-7-minimal-installation-quick-tip-fix/
 
  2.缺少kernel-headers
  解决方法:  yum install kernel-headers kernel-devel   
     或者    yum install kernel-headers-$(uname -r) kernel-devel-$(uname -r) -y
  来  源:  http://derekzhan.iteye.com/blog/1436551
 

  完成后 init 6 (等价于reboot)
  之后即可安装vmware-tools

  yum groupinstall "X Window System" cjkuni-uming-fonts gnome-classic-session gnome-terminal nautilus-open-terminal unzip openssh-clients traceroute nscd bind-utils

  yum -y install gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel openldap openldap-devel nss_ldap openldap-clients openldap-servers libXp binutils compat-libstdc++ elfutils-libelf elfutils-libelf-devel glibc-common libaio-devel libaio libgcc libstdc++ libstdc++-devel make sysstat ncurses-devel pcre* opensslsl openssl-develel lsof cmake ncurses-devel bison make ncurses-devel libaio openssl openssl-devel ncurses ncurses-devel automake libaio-devel gcc-g77 pcre-devel openssl-devel bison autoconf automake libcurl-devel gd-devel zlib* fiex* libxml* ncurses-devel libmcrypt* libtool-ltdl-devel* gtk2* gtk3* libgstreamer* libav* libgphoto* cmake gcc gcc-c++ gtk+-devel gimp-develgimp-devel-tools gimp-help-browser zlib-devel libtiff-devel libjpeg-devellibpng-devel gstreamer-devel libavc1394-devel libraw1394-devel libdc1394-develjasper-devel jasper-utils swig python libtool nasm 

# systemctl set-default graphical.target

centos——vmware虚拟机-minimal installation

标签:

原文地址:http://www.cnblogs.com/zoudaiyu/p/5376504.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!