Create a project library catalog
Svnadmin Created/svn/newsem
Verify the SVN user and authorize
[[email protected] newsem]# ls
CONF DAV db format hooks locks README.txt
[Email protected] newsem]# pwd
/svn/newsem
editing files in the Conf directory
Authz passwd svnserve.conf
svnserver.conf modification
Anon-access = None
auth-access = Write
password-db = passwd------Password Verification
authz-db = Authz----------User Login Verification
Edit passwd
[Users]
# Harry = Harryssecret
# sally = Sallyssecret
admin = Admin
Edit Authz
[Groups]
# harry_and_sally = harry,sally
admin = Admin
[newsem:/]
@admin = Rw1
Checkout files to a local directory
SVN checkout Path (path is a directory on the server)
SVN Co--username=admin--password=admin Svn://192.168.10.222/newsem/home/web/newsem
Windows installation clinet authentication
Online a lot of yourself looking for
Ok
Auto-submit App Web
Create the file
[Email protected] newsem]# CD hooks/
[Email protected] hooks]# pwd
/svn/newsem/hooks
[email protected] hooks]# LL
-rwxrwxrwx 1 root root 209 August 14:40 Post-commit
Modify it
#!/bin/sh
#exec >/tmp/svn-up.out 2>&1
Repos= "$"
rev= "$"
Svnlog=/svn/svn.log
Web=/home/web/newsem
Export Lang=en_us. UTF-8
/USR/LOCAL/BIN/SVN update $WEB--username admin--password admin--non-interactive
Granting Permissions chmod 777
Windows verifies whether the synchronization
SVN automatically submits web app code