banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành Windows Về sử dụng VMware Workstation để cài đặt Ubuntu  XML
  [Question]   Về sử dụng VMware Workstation để cài đặt Ubuntu 20/03/2008 11:34:13 (+0700) | #1 | 120224
kernel_1001
Member

[Minus]    0    [Plus]
Joined: 24/02/2008 04:50:19
Messages: 22
Offline
[Profile] [PM]
Cài đặt ảo hay thật thì mình có chút ít kinh nghiệm nhưng bước cuối cùng của nó -cài bộ tool của VMware để giả lập lại độ phân giải thì chịu thua. Đọc hướng dẫn của nó cũng không xong. Nó yêu cầu giải nén và thực thi file vmware-tools.pl nhưng lại không chạy (hoặc xuất hiện thông báo nào). Bây giờ nhìn cái màn hình Ubuntu từ máy host cứ như nhìn qua lỗ khóa, khùng không thể tả được.

Bạn nào kinh qua sự cố này cho mình vài góp ý với.



[Up] [Print Copy]
  [Question]   Về sử dụng VMware Workstation để cài đặt Ubuntu 20/03/2008 11:47:33 (+0700) | #2 | 120227
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]

kernel_1001 wrote:
Cài đặt ảo hay thật thì mình có chút ít kinh nghiệm nhưng bước cuối cùng của nó -cài bộ tool của VMware để giả lập lại độ phân giải thì chịu thua. Đọc hướng dẫn của nó cũng không xong. Nó yêu cầu giải nén và thực thi file vmware-tools.pl nhưng lại không chạy (hoặc xuất hiện thông báo nào). Bây giờ nhìn cái màn hình Ubuntu từ máy host cứ như nhìn qua lỗ khóa, khùng không thể tả được.

Bạn nào kinh qua sự cố này cho mình vài góp ý với.
 

--> Có cái thông báo lỗi là cái quan trọng nhất khi gặp sự cố thì bạn lại không đưa lên. Bạn đọc hướng dẫn ở đâu, post link lên đây.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Re: Về sử dụng VMware Workstation để cài đặt Ubuntu 20/03/2008 14:03:41 (+0700) | #3 | 120238
kernel_1001
Member

[Minus]    0    [Plus]
Joined: 24/02/2008 04:50:19
Messages: 22
Offline
[Profile] [PM]
À, mình sorry, hướng dẫn nó ở dưới đây bạn. Ngoài ra còn các link http://search-www.vmware.com/socialsearch/query?cn=vmware&cc=www&ie=UTF-8&oe=UTF-8&q=VMware+Tools+for+Linux+Guests&x=8&y=10

VMware Tools for Linux Guests

On a Linux guest, you can install VMware Tools within X or from the command line
• Installing VMware Tools within X

• Installing VMware Tools from the Command Line with the Tar Installer

• Installing VMware Tools from the Command Line with the RPM Installer

Installing VMware Tools within X :

You can install VMware Tools within X using the .tar installer in a terminal window. See Installing VMware Tools from the Command Line with the Tar Installer.
To install VMware Tools from X with the RPM installer:

1. Choose VM > Install VMware Tools.
The guest operating system mounts the VMware Tools installation virtual CD.
2. Double-click the VMware Tools CD icon on the desktop.
Note: In some Linux distributions, the VMware Tools CD icon may fail to appear when you install VMware Tools within an X windows session on a guest. In this case, you should continue installing VMware Tools as described in Installing VMware Tools from the Command Line with the Tar Installer, beginning with step 3.
3. Double-click the RPM installer in the root of the CD-ROM.
4. Enter the root password.
5. Click Continue.
The installer prepares the packages.
6. Click Continue when the installer presents a dialog box saying Completed System Preparation.
A dialog appears for Updating system, with a progress bar. When the installer is done, VMware Tools are installed. There is no confirmation or finish button.
7. In an X terminal, as root (su -), configure VMware Tools.
vmware-config-tools.pl
Respond to the questions the installer displays on the screen. Press Enter to accept the default value.
Note: Be sure to respond yes when the installer offers to run the configuration program.
8. Launch the VMware Tools background application:
vmware-toolbox &
Note: Some guest operating systems require a reboot for full functionality.

Installing VMware Tools from the Command Line with the Tar Installer :

The first steps are performed on the host, within Workstation menus:
1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. 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: Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.
Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution.
mount /dev/cdrom /mnt/cdrom
cd /tmp
Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
/tmp/vmware-tools-distrib.
4. Untar the VMware Tools tar file:
tar zxpf /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.tar.gz
umount /dev/cdrom
Where <xxxx> is the build/revision number of the VMware Workstation release.
Note: If you attempt to install a tar installation over an rpm installation - or the reverse - the installer detects the previous installation and must convert the installer database format before continuing.
5. Run the VMware Tools tar installer:
cd vmware-tools-distrib
./vmware-install.pl
Respond to the configuration questions on the screen. Press Enter to accept the default value.

6. Log off of the root account.
exit
7. Start X and your graphical environment.
8. 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 -).

Installing VMware Tools from the Command Line with the RPM Installer :

The first steps are performed on the host, within Workstation menus:
1. Power on the virtual machine.
2. After the guest operating system has started, prepare your virtual machine to install VMware Tools.
Choose VM > Install VMware Tools.
The remaining steps take place inside the virtual machine.
3. 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: Some Linux distributions automatically mount CD-ROMs. If your distribution uses automounting, do not use the mount and umount commands below. You still must untar the VMware Tools installer to /tmp.
Some Linux distributions use different device names or organize the /dev directory differently. If your CD-ROM drive is not /dev/cdrom or if the mount point for a CD-ROM is not /mnt/cdrom, you must modify the following commands to reflect the conventions used by your distribution.
mount /dev/cdrom /mnt/cdrom
cd /tmp
Note: If you have a previous installation, delete the previous vmware-distrib directory before installing. The default location of this directory is
/tmp/vmware-tools-distrib.
4. At the command prompt, enter:
rpm -Uhv /mnt/cdrom/VMwareTools-5.0.0-<xxxx>.i386.rpm
umount /dev/cdrom
Where <xxxx> is the build/revision number of the VMware Workstation release.
Note: If you attempt to install an rpm installation over a tar installation - or the reverse - the installer detects the previous installation and must convert the installer database format before continuing.
5. Configure VMware Tools:
vmware-config-tools.pl
Respond to the questions the installer displays on the screen. Press Enter to accept the default value.

6. Log off of the root account.
exit
7. Start X and your graphical environment.
8. 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.
------------


Nếu giải nén file .rpm thì bị lỗi ("archive không thích hợp") nhưng nếu chạy file .tar -> .pl (chỗ mình đánh dòng chữ vàng) thì khôgn xuất hiện gì hết (?).


[Up] [Print Copy]
  [Question]   Re: Về sử dụng VMware Workstation để cài đặt Ubuntu 20/03/2008 21:00:52 (+0700) | #4 | 120249
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]

kernel_1001 wrote:

5. Run the VMware Tools tar installer:
cd vmware-tools-distrib
./vmware-install.pl
Respond to the configuration questions on the screen. Press Enter to accept the default value.

 

1. Bạn chạy lệnh này với super-user chứ?
2. Tham khảo: http://www.howtogeek.com/howto/ubuntu/install-vmware-tools-on-ubuntu-edgy-with-vmware-553/
Chú ý đoạn:
You will have to use sudo before the commands instead of the way they are listed in the error message, so run these two commands before re-running the vmware tools install script.
Code:
sudo /etc/init.d/networking stop
    sudo rmmod vmxnet

    sudo ./vmware-tools.pl

 



Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Re: Về sử dụng VMware Workstation để cài đặt Ubuntu 21/03/2008 03:16:59 (+0700) | #5 | 120309
kernel_1001
Member

[Minus]    0    [Plus]
Joined: 24/02/2008 04:50:19
Messages: 22
Offline
[Profile] [PM]

quanta wrote:

kernel_1001 wrote:

5. Run the VMware Tools tar installer:
cd vmware-tools-distrib
./vmware-install.pl
Respond to the configuration questions on the screen. Press Enter to accept the default value.

 

1. Bạn chạy lệnh này với super-user chứ?
2. Tham khảo: http://www.howtogeek.com/howto/ubuntu/install-vmware-tools-on-ubuntu-edgy-with-vmware-553/
Chú ý đoạn:
You will have to use sudo before the commands instead of the way they are listed in the error message, so run these two commands before re-running the vmware tools install script.
Code:
sudo /etc/init.d/networking stop
    sudo rmmod vmxnet

    sudo ./vmware-tools.pl

 



 


Thank quanta mình đã test xong. Có vài trục trặc nhỏ nhưng cũng ổn.
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|