Chinaunix首页 | 论坛 | 博客
  • 博客访问: 144917
  • 博文数量: 22
  • 博客积分: 428
  • 博客等级: 下士
  • 技术积分: 281
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-14 14:28
文章分类

全部博文(22)

文章存档

2013年(7)

2012年(15)

分类: LINUX

2013-02-21 13:59:36

This paper records howto use free software to set up my working environment.

My host machine is IBM t430, whose os is win7. I want to use win7 for office issues and ubuntu for work issues.

1.Download vmplayer, which is used as a virtual machine software.

 

2.Download ubuntu 10.04.

 

3.Install ubuntu 10.04 on vmplayer.

 

4.Add samba on ubuntu

1)sudo apt-get install samba

2)mkdir /home/darcy/share

3)chmod 777 /home/darcy/share

4)config samba's setting

sudo vim /etc/samba/smb.conf

add the lines below:

[Share]

comment = Shared Folder with username and password

path = /home/darcy/share

public = yes

writable = yes

valid users = new

create mask = 0700

directory mask = 0700

force user = nobody

force group = nogroup

available = yes

browseable = yes

5)add username and password for samba's guest

sudo useradd new

sudo smbpasswd -a new

6)add smbusers

sudo vim /etc/samba/smbusers

new = “network username”

7)restart samba 

sudo /etc/init.d/smbd restart

 

5.setup ssh-server on ubuntu

sudo apt-get install openssh-server

 

6.install xshell on win7

xshell is used to access ubuntu and home gateway's console

xshell for home use is free of charge


7.config vmware

1)add two NIC: 

One is working in bridge mode with static ip (192.168.231.128 gw 192.168.231.2 mask:255.255.255.0) for samba.

The other one is in nat mode with dhcp for network access.

2)Adjust ubuntu's resolution to high definition, or else the window is small.


阅读(2075) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~