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.