标签:save linux src repo code pass conf kill height
首先,克隆一Linux虚拟机,开机启动后,网卡不起来,采用以下方法,直到重启后网卡才up起来。 >/etc/udev/rules.d/70-persistent-net.rules vi /etc/sysconfig/network-scripts/ifcfg-eth0 #UUID=e2c51179-659c-4c94-a0ba-e1b7e601a024 #HWADDR=00:0c:29:1d:b6:28 :wq! reboot //重启使网卡起来生效。 yum install subversion -y mkdir /etc/subversion/svnrepos svnadmin create /etc/subversion/svnrepos/davesvn ls /etc/subversion/svnrepos/davesvn/ cd /etc/subversion/svnrepos/davesvn/conf/ vi svnserve.conf anon-access = read auth-access = write password-db = passwd realm = My First Repository //以上四项去掉#号 :wq! vi passwd [users] # harry = harryssecret # sally = sallyssecre vincent = apple :wq! vi authz [groups] admin = vincent devteam1 = john,rachel,sally devteam2 = kate,peter,mark docs = bob,jane,mike training = zak [davesvpn:/] @admin = rw @dev = rw [/] * = r @admin = rw [proj1:/] @devteam1 = rw [proj2:/] @devteam2 = rw [bigproj:/] @devteam1 = rw @devteam2 = rw trevor = rw [/trunk/doc] :wq! /sbin/iptables -I INPUT -p tcp --dport 3690 -j ACCEPT /etc/init.d/iptables save service iptables restart svnserve -d -r /etc/subversion/svnrepos ps -aux|grep svn kill -9 <进程号> //停用subversion
标签:save linux src repo code pass conf kill height
原文地址:http://www.cnblogs.com/vincent-liang/p/6954388.html