Linux 开发环境搭建

来源:互联网 发布:淘宝商品怎么分享 编辑:程序博客网 时间:2024/05/17 04:16

虚拟机

  • 下载 VirtualBox
  • 安装 ubuntu 16.04 系统

samba服务器

安装

$ apt-get install samba$ apt-get install smbclient

修改配置文件

$ vim /etc/samba/smb.conf[share]    comment = Shared Folder require password    path = /root/share    writeable = yes    create mask = 0755;   directory mask = 0755    force user = root    force group = root;   available = yes;   browseable = yes    guest ok = yes

重启samba服务

$ /etc/init.d/samba restart

windows 验证

# 映射网络驱动器\\<ip>\share (e.g.: \\192.168.56.101\share)

Git CRLF/LF 设置

  • widows
# 检出时转换为CRLF 提交时转换为LF$ git config --global core.autocrlf true
  • Linux
# 检出时保持LF 提交时转换为LF$ git config --global core.autocrlf input
原创粉丝点击