& Nbsp; server: (1) start the svn server: svnserve-d-r/home/user/svnserve-d indicates that the server is started as a service, -r indicates the svn service root directory (2) Check whether the server is started: netstat-ntlp (3) create the storage directory svnadmincreate on the server directory
Server:
(1) start the svn server:
Svnserve-d-r/home/user/svnserve
-D indicates starting with a service, and-r indicates the root directory of the svn service.
(2) Check whether the server is started:
Netstat-ntlp
(3) Create a storage directory on the server directory
Svnadmin create myProject
(4) access the storage directory to modify permissions
Change svnserve. conf in conf to remove the comments of anon-access = read, auth_access = write and password-db = passwd.
Change passwd, and obtain the user name and password of the file on the server.
MyName = mypaswd
So far, your server has been created.
Client:
(1) save your existing project to the server
Use kdevelop to create a project myProject managed by subversion
Enter:
Svn import yourproject svn: // localhost/myProject-m "enter your description here"
The server will prompt you to enter the user name and password
(2) retrieve the files you saved from the server
Svn co svn: // localhost/myProject/home/user/workspace/xxname
Done.
Start kdevelop from project-> import existing project
In this way, you can use kdevelop to integrate subversion. svn does not need to remember so many command parameters.