Categories
Latest Posts
1.Install mercurial and nginx
nginx, you can read the officer document。
2.set center repository
create a local repository
create config file
write the follows in it and save
(set hook,so it will be auto update after push)
start service
(-a localhost will not allowed others to access port 8000 of the server)
3.config nginx
download http://trac.edgewall.org/browser/trunk/contrib/htpasswd.py and copy it to /etc/nginx for create users and password
create password files
edit the config file of nginx
add the follows in http{}:
add the follows,
restart ngxin
4.finished
Now you can use http://hostname/depo1 to access the repository.
Blog system is a place where we share our Design and programming technoligy instruction and experience,Project mangement and Team building experience. Pay attention to our blog, and you can get our team's advices and thoughts. Please don't hate to post us a reply if you have question or suggestiion for us.