server编译code和cifs mount步骤。
来源:互联网 发布:大莫插件源码 编辑:程序博客网 时间:2024/06/07 07:12
在工作中经常碰到在server上编译code的情况,这种情况下,需要将server上的某个目录mount到本地,便于修改代码和使用编译出来的binary。
首先,对于登录server,一般使用ssh,命令为ssh name@ip.可能会提示你相会交换public key。按照步骤操作即可。
然后对于使用cifsmount,在/etc/fstab中添加如下信息
//ip/dir /mnt/name cifs sec=ntlmssp,username=name,password=ps,iocharset=utf8,uid=1000,gid=1000 0 0
然后保存关闭,sudo mount -a即可mount。
在共享目录修改code需要git提交的时候,需要设置mail等,
git config –global user.name “name”
git config –global user.email mail
阅读全文
0 0
- server编译code和cifs mount步骤。
- Mount CIFS
- mount.cifs
- Mount CIFS
- cifs nfs mount O_DIRECT
- centos下mount.cifs
- Mount Linux CIFS share
- mount.cifs 命令
- mount的cifs问题
- mount -t cifs失败
- ubuntu mount cifs
- ubuntu mount cifs
- ubuntu mount cifs
- linux下 mount cifs分区
- smbmount命令变为mount.cifs
- Linux mount CIFS Windows Share
- linux mount nfs and cifs
- Linux mount CIFS Windows Share
- HTML+CSS学习笔记2
- Ajax 实现点击按钮加载更多
- 接口----细节
- HDU 1180 诡异的楼梯
- 【jQuery】jQuery中ajax的4种常用请求方式
- server编译code和cifs mount步骤。
- IO操作——对象流(高级流,字节流)
- 一般函数指针和类的成员函数指针
- Spring入门(Schema-based AOP其一)
- bzoj3631: [JLOI2014]松鼠的新家 (树上差分)
- LeetCode #78
- leetcode 690. Employee Importance
- python3.6.2配置 Jupyter Notebook 和 Spyder3
- 嵌入式dsp车牌识别算法讲解