`
hcmfys
  • 浏览: 348148 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
收藏列表
标题 标签 来源
linux linux
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.4.197
netmask 255.255.0.0
gateway 192.168.1.10
~
 开发时  挂载 快速搭建window目录共享
mount -o loop /data/debian5-1.iso  /cdrom
aptitude install    libsmbclient 
aptitude install  samba
adduser  horseliu  (userdel -r horseliu)
passwd   horseliu  
smbpasswd -a  horseliu

smbmount //192.168.1.168/share   /home/horseliu/work/ap/share username=horseliu,password=123456
mount.smbfs //192.168.1.168/share   /home/horseliu/work/ap/share -o username=horseliu,password=123456
umount -l /home/horseliu/work/ap/share
Global site tag (gtag.js) - Google Analytics