Install Eclipse and SVN to Unbuntu Linux Part 1

台式机上开发环境和资料太多,为了保险起见,还是先装到笔记本上吧

 

从小候那拷贝了 VMWare6.02  and Ubuntu8.04 镜像.

启动Ubuntu8.04

root 登陆

 

增加用户:

#useradd liyong

#sudo vim /etc/sudoers

加入 liyong ALL=(ALL) NOPASSWD:PASSWD:ALL

#su liyong

 

增加组并添加用户:

#groupadd moblin-project

#usermod -g mobilin-project liyong

#id

 

删除猴子的用户名:)

#userdel houxf

 

更改主机名
#hostname liyong-notebook
#sudo vim /etc/hosts

#sudo vim /etc/hostname

 

共享文件

选择vmware workstation程序菜单中VM >install VMware tools...
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom 
cd /mnt/cdrom
tar -zxvf VMwareTools-5.0.0-12124.i386.tar.gz -C /tmp

cd /tmp/vmware-tools-distrib
sudo ./vmware-install.pl


VM>Settings>Options>Shared Folders >Properties ->Add windows共享目录

 

切换到 Unbutu linux

#cd /mnt/hgfs 

 

无法访问!!!!!!

lsmod 看 没有 vmhgfs的模块到内核中!!

 

上网找到大牛解决方法

http://peterc.org/2008/62-how-to-install-vmware-tools-on-ubuntu-hardy-804-under-vmware-fusion.html

具体如下:

公司需要代理上网

#export http_proxy=http://username:[email protected]:8070

 

sudo apt-get install build-essential libgtk2.0-dev
sudo apt-get install libproc-dev libdumbnet-dev xorg-dev
cd Desktop/

wget http://mesh.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.04.14-87182.tar.gz

 

tar xzvf VMware*.gz
tar xzvf open-vm-tools*.gz

cd open-vm-tools-2008.04.14-87182/
./configure && make
cd modules/linux/

In the modules/linux folder we have the vmblock, vmhgfs, vmmemctl, vmsync and vmxnet modules that we need to tar up and place into the official VMware tools tarball:

for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done
cd ../../..

mv -f open-vm-tools-2008.04.14-87182/modules/linux/*.tar vmware-tools-distrib/lib/modules/source/

Now we can run the regular VMware tools installer:

cd vmware-tools-distrib/
sudo ./vmware-install.pl

未完.

你可能感兴趣的:(Install Eclipse and SVN to Unbuntu Linux Part 1)