构建内网共享盘

By hakka. Filed in 涂鸦  |  
Tags: , , , ,
TOP

为方便使用各种软件及避免重复存储同样的软件,非常有必要构建一台共享文件服务器,但又能尽量避免病毒的干扰,而且不安装杀毒软件,因此我们采用Linux作为操作系统。

系统环境:

Ubuntu 8.04.3 LTS

第一步:

apt-cache search samba –names-only

查看samba的安装包。
然后安装

apt-get install samba

第二步:
挂共享盘

mount /dev/sdb1 /share

第三步:
开启共享

/etc/init.d/samba start

如果想开机自动挂共享盘,可以编辑/etc/init.d/rc.local
在文件最后加入

/etc/init.d/samba start
mount /dev/sdb1 /share
exit 0







Leave a Reply