The SVN command line is not as comfortable as Git, but the SVN GUI client TortoiseSVN on Windows is very convenient to use. For those of you who have to use SVN to do service development in virtual machines, it is very useful to use The Linux development environment and TortoiseSVN to manage the code version.
Installing and configuring Samba
Install using apt-get on Ubuntu
apt-get install samba samba-common
Copy the code
Disabling the Firewall
systemctl stop ufw
Copy the code
Run the vim /etc/samba/smb.conf command to edit the Samba configuration file and add it at the end of the configuration file
[homes]
comment = qk_python Directories
browseable = no
path = /root/qk_python
valid users = root
read only = no
Copy the code
To add a user, you can enter other user names besides root.
smbpasswd -a root
Copy the code
Restarting the Samba service takes effect
systemctl restart smbd
Copy the code
In Windows, enter \\ plus IP, for example, \\192.168.1.177\root. In the window that pops up, enter the user name and password you just added to access the Linux file directory.
Configure SVN
Because Samba was configured as non-read-only, you can checkout the corresponding SVN project directly into the Linux file directory. Perform the following configurations on the SVN:
Select the network driver type of the SVN
RST ->Settings->Icon Overlays select “Network Drives” from Driver Types
Display green icon of SVN project:
TortoiseSVN->Settings->Icon Overlays select Shell
Now you can use TortoiseSVN to manage your Linux code.