Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. //san/gitroot/BattleOfPredictions/BOP_Web.git and url to clone it
  2.  
  3.  
  4.  
  5. sudo mount -t cifs //san/gitroot/BattleOfPredictions/BOP_Web.git ~/git/mnt/bop.git -o username=sankaran.ps,noexec
  6.  
  7.  
  8.  
  9.  
  10.  
  11. sudo mount -t cifs -o username=sankaran.ps,password=user123 //san/gitroot/BattleOfPredictions /mnt/bop
  12.  
  13.  
  14.  
  15.  
  16. ubuntu 16.04
  17. To clone a git repo that shared over windows share
  18.  
  19. first instll following
  20.  
  21. sudo apt-get install samba
  22. sudo apt-get install system-config-samba
  23.  
  24. sudo apt-get install cifs-utils
  25.  
  26. sudo apt-get install nfs-common
  27.  
  28. sudo service portmap start
  29.  
  30. 'Linux NFS Mount: wrong fs type, bad option, bad superblock on fs2:/data3 Error And Solution'
  31.  
  32.  
  33.  
  34.  
  35.  
  36. $ mkdir /tmp/server
  37. $ sudo apt-get install cifs-utils
  38. $ sudo mount -t cifs -o username=admin,uid=you,gid=you //ipaddress/git\$ /tmp/server
  39.  
  40.  
  41. sudo mount -t cifs -o username=sankaran.ps,password=user123,uid=sankaran,gid=sankaran //san/gitroot/BattleOfPredictions /mnt/bop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement