设为首页 收藏本站
查看: 631|回复: 0

[经验分享] Running Ubuntu 7.10 in VMWare Player

[复制链接]

尚未签到

发表于 2016-1-4 21:07:39 | 显示全部楼层 |阅读模式
  ubuntu的root密码,以及VMTools的安装
新接触ubuntu(base on debian)的人,大多会因为安装中没有提示root密码而不太清楚为什么会这样。
如何设定/改变/启用 root 使用者的密码?
sudo passwd root
为了启用 root 帐号 (也就是 设置一个口令) 使用:
sudo passwd root
当你使用完毕后屏蔽 root 帐号 使用:
sudo passwd -l root
这个将锁住 root 帐号.
如何在终端机模式下切换到 root 身份?
sudo -s -H
  
  如何安装Vm tools
  Mware Tools for Linux Guests
  Power on the virtual machine.
After the guest operating system has started, prepare your virtual machine to install
  VMware Tools.
Choose File > Install VMware Tools.
  The remaining steps take place inside the virtual machine.
  Be sure the guest operating system is running in text mode. You cannot install VMware Tools
  while X is running.
As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory
  (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download
  the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation
  software contains an ISO image that looks like a CD-ROM to your guest operating system.
  This image contains all the files needed to install VMware Tools in your guest operating
  system.
  Note: Some Linux distributions use different device names or organize the /dev directory
  differently. If your CD-ROM drive is not /dev/cdrom, modify the following commands to
  reflect the conventions used by your distribution.
  mount /dev/cdrom /mnt
cd /tmp
tar zxf /mnt/vmware-linux-tools.tar.gz
umount /mnt
  Run the VMware Tools installer.
cd vmware-tools-distrib
./vmware-install.pl
  Log out of the root account.
exit
  Start X and your graphical environment.
In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
  Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you
  must run VMware Tools as root (su -).
  
Starting VMware Tools Automatically
  You may find it helpful to configure your guest operating system so VMware Tools starts
  when you start your X server. The steps for doing so vary depending on your Linux
  distribution and your desktop environment. Check your operating system documentation for
  the appropriate steps to take.
  For example, in a Red Hat Linux 7.1 guest using GNOME, follow these steps.
  Open the Startup Programs panel in the GNOME Control Center.
Main Menu (click the foot icon in the lower left corner of the screen) > Programs >
  Settings > Session > Startup Programs
  Click Add.
In the Startup Command field, enter vmware-toolbox.
Click OK, click OK again, then close the GNOME Control Center.
The next time you start X, VMware Tools starts automatically.
  
Uninstalling VMware Tools
  If you need to remove VMware Tools from your Linux guest operating system, log on as root
  (su -) and run the following command:
  vmware-uninstall-tools.pl
  
VMware Tools for FreeBSD Guests
  Power on the virtual machine.
Prepare your virtual machine to install VMware Tools.
Choose File > Install VMware Tools.
  The remaining steps take place inside the virtual machine, not on the host computer.
  Be sure the guest operating system is running in text mode. You cannot install VMware Tools
  while X is running.
As root (su -), mount the VMware Tools virtual CD-ROM image, change to a working directory
  (for example, /tmp), uncompress the installer, then unmount the CD-ROM image.
Note: You do not use an actual CD-ROM to install VMware Tools, nor do you need to download
  the CD-ROM image or burn a physical CD-ROM of this image file. The VMware Workstation
  software contains an ISO image that looks like a CD-ROM to your guest operating system.
  This image contains all the files needed to install VMware Tools in your guest operating
  system.
  mount /cdrom
cd /tmp
tar zxf /cdrom/vmware-freebsd-tools.tar.gz
umount /cdrom
  Run the VMware Tools installer.
cd vmware-tools-distrib
./vmware-install.pl
  Log out of the root account.
exit
  Start X and your graphical environment
In an X terminal, launch the VMware Tools background application.
vmware-toolbox &
  Note: You may run VMware Tools as root or as a normal user. To shrink virtual disks, you
  must run VMware Tools as root (su -).
  Note: In a FreeBSD 4.5 guest operating system, sometimes VMware Tools does not start after
  you install VMware Tools, reboot the guest operating system or start VMware Tools on the
  command line in the guest. An error message appears:
  Shared object 'libc.so.3' not found.
  The required library was not installed. This does not happen with full installations of
  FreeBSD 4.5, but does occur for minimal installations. To fix the problem of the missing
  library, take the following steps:
  Insert and mount the FreeBSD 4.5 installation CD or access the ISO image file.
Change directories and run the installation script.
cd /cdrom/compat3x
./install.sh
  果然按着上面的步骤我的Vm上面的ubuntu安装成功了,怎么和windows这么的类似啊,终于理解
windows是名牌西服,而Linux是定制西服的道理了。
 我最近想学习一下嵌入式Linux,了解操作系统的原理,所以就弄一个Linux的环境玩玩
  

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-160321-1-1.html 上篇帖子: Vmware中安装fedora 14 下篇帖子: vmware 搭建虚拟机
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表