vmware配置linux

1220阅读 1评论2015-01-21 polejo
分类:LINUX


1. ssh
sudo apt-get install openssh
vi /etc/ssh/sshd_config
UseDns no
ClientAliveInterval 30
ClientAliveCountMax 6

2. samba
sudo apt-get install samba samba-common
删除掉或者替换掉 /etc/samba/smb.conf

sudo smbpasswd -a myself # 创建smb用户并添加密码。

  1. [global]
  2.     workgroup = WORKGROUP
  3.     server string = Samba Server %v
  4.     netbios name = centos
  5.     security = user
  6.     map to guest = bad user
  7.     dns proxy = no
  8. #============================ Share Definitions ==============================
  9. [centos_samba_share]
  10.     comment = AAA home directory
  11.     path = /home/myself/
  12.     browsable yes
  13.     writable = yes
  14.     guest ok = yes
  15.     read only = no
systemctl enable smb
systemctl enable nmb
systemctl restart smb
systemctl restart nmb

3. vim
下载jeffy-vim-read,http://blog.chinaunix.net/uid-26833883-id-3431275.html
此插件也可解决,远程ssh使用vim,方向键无法用的问题

上一篇:使用time+dd测试硬盘读写速度
下一篇:openwrt使用外部toolchain编译有bug

文章评论