933  svnadmin create /data/svn_data/wkcto/
  934  cd wkcto/
  935  ll
  936  cd conf/
  937  ll
  938  cp -r /data/svn_data/sk/conf/*  ./
  939  ll
  940  vim authz
  941  cp -rf /data/svn_data/sk/conf/*  ./
  942  ll
  943  vim passwd
  944  vim svnserve.conf
  945  cd /data/sites/
  946  ll
  947  mkdir wkcto
  948  chown  webadmin:webadmin wkcto/
  949  rz
  950  # Received /Volumes/data/wkcto.zip
  951  ll
  952  mv wkcto.zip  wkcto/
  953  ll
  954  cd wkcto/
  955  ll
  956  unzip wkcto.zip
  957  ll
  958  rm -rf __MACOSX/
  959  rm wkcto.zip
  960  ll
  961  cp -r wkcto/*  ./
  962  ll
  963  rm -rf wkcto/
  964  cd ../
  965  svn import wkcto/ svn://127.0.0.1/wkcto/trunk --username xiaozhao -m "init import"
  966  ll
  967  rm -rf wkcto/
  968  cd /opt/
  969  ll
  970  mkdir wkcto_codes
  971  svn checkout http://127.0.0.1/wkcto/trunk /opt/wkcto_codes --no-auth-cache --non-interactive --force --username xiaozhao --password zhao123456
  972  svn checkout svn://127.0.0.1/wkcto/trunk /opt/sk_codes --no-auth-cache --non-interactive --force --username xiaozhao --password zhao123456
  973  svn checkout svn://127.0.0.1/wkcto/trunk /opt/wkcto_codes --no-auth-cache --non-interactive --force --username xiaozhao --password zhao123456
  974  cd /data/svn_data/wkcto/hooks/
  975  ll
  976  cp /data/svn_data/sk/hooks/* ./
  977  ll
  978  vim post-commit
  979  cd /data/
  980  ll
  981  cd sites/sk/
  982  ll
  983  cd /usr/local/nginx/conf/vhosts/
  984  ll
  985  vim www.bjpowernode.com.conf
  986  cd /data/svn_data/www.bjpowernode.com/hooks/
  987  l
  988  ll
  989  vim post-commit
  990  cd /data/sites/
  991  ls -al
  992  vim /opt/sh/upload_www.sh
  993  cd -
  994  cd /data/svn_data/wkcto/hooks/
  995  ll
  996  vim post-commit
  997  cat /tmp/svn_hooks.txt
Last modification:January 6, 2020
如果觉得我的文章对你有用,请随意赞赏