Difference between revisions of "Administration Tutorials"

From PaskvilWiki
Jump to: navigation, search
(Created page with "== SVN == === Move a SVN repository === * on source machine: svnadmin dump /path/to/repo > repo.dump * transfer the file to the destination machine, then on the destination mac...")
 
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
== General ==
 +
 +
=== [[Setup sendmail, and Send Emails]] ===
 +
 
== SVN ==
 
== SVN ==
  
=== Move a SVN repository ===
+
=== [[Simple Guide to SVN Client]] ===
* on source machine:
+
 
svnadmin dump /path/to/repo > repo.dump
+
Bullets on how to use SVN client.
* transfer the file to the destination machine, then on the destination machine:
+
 
cd /repos/path
+
=== [[Creating a SVN Repository]] ===
svnadmin create new-repo
+
 
svnadmin load new-repo < repo.dump
+
How to create a new SVN repository to serve using <tt>svnserve</tt>, via <tt>svn+ssh</tt> or via Apache.
 +
 
 +
=== [[Moving a SVN Repository]] ===
 +
 
 +
Moving complete SVN repository from one host to another.
 +
 
 +
=== [[Setup a SVN Server on a Shared Hosting]] ===
 +
 
 +
How to setup SVN hosting (via <tt>svn+ssh</tt>) if you're on a shared hosting client - no root access.
  
'''Note''': if your repo is mature/large, you'll probably want to add compression along the way.
+
== Video Streaming etc. ==
  
'''Note''': if you have more than one repo on the source machine, all in the same folder (/repos/path), you can do:
+
=== [[Install Apache and PHP to do Secure h264 Pseudo Streaming]] ===
* on source machine:
+
cd /repos/path
+
for i in `ls`; do svnadmin dump $i > $i.dump
+
tar cfz dumps.tar.gz *.dump
+
rm *.dump    # just to clean-up
+
* transfer the dumps.tar.gz to the destination machine, then:
+
mkdir /new/repos/path
+
tar xfz dumps.tar.gz
+
for i in `ls *.dump`; do
+
  svnadmin create `basename $i .dump`;
+
  svnadmin load `basename $i .dump` < $i;
+
done
+
rm dumps.tar.gz *.dump    # just to clean-up
+

Latest revision as of 16:18, 21 November 2011

General

Setup sendmail, and Send Emails

SVN

Simple Guide to SVN Client

Bullets on how to use SVN client.

Creating a SVN Repository

How to create a new SVN repository to serve using svnserve, via svn+ssh or via Apache.

Moving a SVN Repository

Moving complete SVN repository from one host to another.

Setup a SVN Server on a Shared Hosting

How to setup SVN hosting (via svn+ssh) if you're on a shared hosting client - no root access.

Video Streaming etc.

Install Apache and PHP to do Secure h264 Pseudo Streaming