Personally, the command line of SVN is not as comfortable as git, but the SVN GUI client tortoise SVN on windows is very convenient. Therefore, for the students who often do service program development in virtual machine but have to use SVN, it is particularly useful to combine Linux development environment and tortoise SVN to manage the code version.
Install and configure Samba
Using apt get to install on Ubuntu
apt-get install samba samba-common
Turn off firewall
systemctl stop ufw
vim /etc/samba/smb.confCommand 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
Add a user, in addition to root, you can also enter other existing user names.
smbpasswd -a root
Restart Samba service to take effect
systemctl restart smbd
Running window input in Windows
\\Add IP, for example:
\\192.168.1.177\\root. In the pop-up window, enter the user name and password you just added to access the Linux file directory.
Because Samba is configured as non read-only, you can check out the corresponding SVN project directly to the Linux file directory. After that, configure SVN as follows:
Check the network driver type of SVN
TortoiseSVN > Settings > icon overlays check “network drives” in driver types
Show SVN Project Green Icon:
TortoiseSVN > Settings > icon overlays select shell
Then you can display the green icon, and then happily use tortoise SVN to manage Linux code.
Remember to praise me!
We have carefully arranged video courses and e-books from entry-level, advanced and practical in all directions of computer. We can always find the learning materials you need according to the reasonable classification of the catalogue. What are you waiting for? Pay attention to download it!!!
If you don’t forget, there will be an echo. Please give me a compliment. Thank you very much.
I am a bright brother in the workplace, YY Senior Software Engineer, with four years of working experience. I refuse to be a leading slash programmer.
Listen to me, more progress, a shuttle of procedural life
If you are lucky enough to help you, please give me a “like” to pay attention to it. If you can comment on it and give me encouragement, I will be very grateful.
List of articles of workplace bright brother:More articles
All my articles and answers have cooperation with the copyright protection platform. The copyright belongs to brother Liang in the workplace. Without authorization, reprint must be investigated!