您的位置:首页 > 其它

搭建Ubuntu环境

2016-06-14 13:58 253 查看
安装ftp服务

 

1.  更新apt-get

切换root用户,执行apt-get update

2.  安装vsftpd

sudoapt-get install vsftpd

3.  修改配置文件/etc/vsftpd.conf

4.  使用service vsftpd restart

 

安装ssh服务

1.  安装

sudoapt-get install openssh-server

2.  servicessh start

 

安装ssh客户端

Xshell

 

安装samba服务

1.  sudoapt-get insall samba

sudoapt-get install smbfs

2.  创建并修改权限

mkdir 

sudochmod 777 /home/

3.  修改配置文件/etc/samba/smb.conf

[Work]

      path = /home/debian/Work

      available = yes

      browseable = yes

      public = yes

          writable = yes

4.  使用service smdb restart

5.  使用service smba restart

 

安装nfs服务

1.  安装

sudoapt install nfs-kernel-server

2.  修改配置文件/etc/exports

/home/ubuntu32 Work *(rw,sync,no_root_squash)

3.  在开发板上挂载

sudomount -t  nfs -o nolock192.168.199.120:/home/ubuntu32/Work /mnt

sudomount -t  nfs -o nolock 192.168.199.104:/home/debian/Work/mnt

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: