centos7—vmware虚拟机-minimal installation

  最小化安装有很多问题!有些命令没有。特别在安装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- (unamer)kerneldevel (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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值