deploy_smb_nfs_git

---
title: deploy_smb_nfs
date: 2018-09-19 17:04:48
---

## 安装 smb
```bash
yum -y install samba samba-client
systemctl enable smb.service
systemctl start smb.service
systemctl status smb.service

```

## 修改配置文件
```bash
cat /etc/samba/smb.conf
```

## 测试smb.conf配置是否正确

## 添加samba用户
smbpasswd -a www

## 激活用户
smbpasswd -e www

## 测试连接samba服务器
关闭SELINUX : setenforce 0 
清空iptables : iptables -F !!!
关闭iptables : service iptables stop !!!
smbclient -L 127.0.0.1 -U www
https://blog.csdn.net/u012256258/article/details/53074635/

## nfs
systemctl stop firewalld
yum -y install nfs-utils rpcbind
yum -y install nfs-utils
https://www.cnblogs.com/liuyisai/p/5992511.html

## 启动
exportfs -r
service rpcbind start
service nfs start

## 查看状态
rpcinfo -p localhost
showmount -e localhost

yum -y install epel-release
yum -y install python-pip


## linux
git config --global diff.tool bc4
git config --global difftool.prompt false
git config --global difftool.bc4.cmd '"/usr/local/bin/bcomp" "$LOCAL" "$REMOTE"'

git config --global merge.tool bc4
git config --global mergetool.prompt false
git config --global mergetool.bc4.cmd '"/usr/local/bin/bcomp" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"'
git config --global mergetool.bc4.trustexitcode true

## win
git config --global diff.tool bc4
git config --global difftool.prompt false
git config --global difftool.bc4.cmd '"D:\Program Files\Beyond Compare 4\BCompare.exe" "$LOCAL" "$REMOTE"'

git config --global merge.tool bc4
git config --global mergetool.prompt false
git config --global mergetool.bc4.cmd '"D:\Program Files\Beyond Compare 4\BCompare.exe" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"'
git config --global mergetool.bc4.trustexitcode true
https://blog.csdn.net/paincupid/article/details/49909997

beyone compare 激活码

--- BEGIN LICENSE KEY ---
H1bJTd2SauPv5Garuaq0Ig43uqq5NJOEw94wxdZTpU-pFB9GmyPk677gJ
vC1Ro6sbAvKR4pVwtxdCfuoZDb6hJ5bVQKqlfihJfSYZt-xVrVU27+0Ja
hFbqTmYskatMTgPyjvv99CF2Te8ec+Ys2SPxyZAF0YwOCNOWmsyqN5y9t
q2Kw2pjoiDs5gIH-uw5U49JzOB6otS7kThBJE-H9A76u4uUvR8DKb+VcB
rWu5qSJGEnbsXNfJdq5L2D8QgRdV-sXHp2A-7j1X2n4WIISvU1V9koIyS
NisHFBTcWJS0sC5BTFwrtfLEE9lEwz2bxHQpWJiu12ZeKpi+7oUSqebX+
--- END LICENSE KEY -----

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值