X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=INSTALL;h=3c059058110bdc19cfe9b2c0ccbd6bbc798ec909;hp=5b36e0851c839a150136eb531c28ef13f9240c60;hb=8f79f577f809506a12799cb97dba1f111c014df5;hpb=b7dff48534d5f909d846e1fa40fa0d4467322bc3 diff --git a/INSTALL b/INSTALL index 5b36e085..3c059058 100644 --- a/INSTALL +++ b/INSTALL @@ -7,12 +7,15 @@ Any knowledge of how to work with mouse and icons is not required. --------------------------- Install all needed packages --------------------------- - -See REQUIREMENTS for a list of required software. You don't need -everything listed there. In particular, mp3, ogg vorbis and aac, ortp -support is optional. Autoconf will detect what is installed on your -system and will only try to build those executables that can be built -with your setup. +See +<< + REQUIREMENTS +>> +for a list of required software. You don't need everything listed +there. In particular, mp3, ogg vorbis and aac, ortp support is +optional. Autoconf will detect what is installed on your system +and will only try to build those executables that can be built with +your setup. Note that no special library (not even the mp3 decoding library libmad) is needed for para_server if you only want to stream mp3 files. @@ -53,24 +56,25 @@ as user foo, and that you want to connect from client_host as user bar. As foo@server_host, create ~/.paraslash/server.users by typing the following commands: + user=bar target=~/.paraslash/server.users - key=~/.paraslash/key.pub.bar + key=~/.paraslash/key.pub.$user perms=AFS_READ,AFS_WRITE,VSS_READ,VSS_WRITE mkdir -p ~/.paraslash - echo "user bar $key $perms" >> $target + echo "user $user $key $perms" >> $target This gives "bar" the full privileges. Change to the bar account on client_host and generate the key-pair with the commands - key=~/.paraslash/key.bar + key=~/.paraslash/key.$LOGNAME mkdir -p ~/.paraslash (umask 077 && openssl genrsa -out $key) Next, extract its public part: - pubkey=~/.paraslash/key.pub.bar + pubkey=~/.paraslash/key.pub.$LOGNAME openssl rsa -in $key -pubout -out $pubkey and copy the public key just created to server_host (you may @@ -136,8 +140,8 @@ Print a list of all audio files found with Start streaming manually ------------------------ - para play - para stat 2 + para_client play + para_client stat 2 This starts streaming and dumps some information about the current audio file to stdout. @@ -194,7 +198,7 @@ socket is /var/paraslash/audiod_socket.$HOSTNAME -so the /var/paraslash directory should be owned by the user who +so the /var/paraslash directory should be writable for the user who runs para_audiod. If you want to change the location of the socket, use the -s option @@ -237,4 +241,7 @@ arbitrary commands. There are several flavours of key-bindings: command>" instead of "". This concludes the installation notes. Next thing you might to have a look -at is how to use paraslash's audio file selector. See README.afs. +at is how to use paraslash's audio file selector. See +<< + README.afs +>>