PrePflog Installation instructions: Difference between revisions

From voipsupport
Jump to navigation Jump to search
(Created page with "These instructions apply to PrePflog 0.4.1 1. cd /tmp or some other directory where you will download and unpack the code 2. Download the latest source code file from PreP...")
 
No edit summary
Line 6: Line 6:


<pre>gpg --import johnfawcett.gpg
<pre>gpg --import johnfawcett.gpg
gpg --verify callback-0.5.2.tgz.sig</pre>
gpg --verify prepflog-0.4.1.tgz.sig</pre>


The result should be something like this:
The result should be something like this:
Line 12: Line 12:
<pre>gpg: Good signature from "John Fawcett <[email protected]>"</pre>
<pre>gpg: Good signature from "John Fawcett <[email protected]>"</pre>


3. Unpack the source code


# Download the latest source code file from this [[Linux/PrePflog|link]].
<pre>tar -xvzf prepflog-0.4.1.tgz</pre>
# The souce code is signed with my gpg key (available [[(Attach:)Linux/johnfawcett.gpg|here]]). Thefore you may optionaly verify the file has not been altered since I signed it. After downloading the file signature (available [[Linux/PrePflog|here]]), at the command line
%commandbox% [@gpg --import johnfawcett.gpg
gpg --verify prepflog-0.4.1.tgz.sig@]


-> The result should be something like this:
4. Change directory
%resultbox% [@gpg: Good signature from "John Fawcett <john@emailsupport.it>"@]


# %item value=4% Unpack the source code
<pre>cd prepflog-0.4.1</pre>
%commandbox% [@tar -xvzf prepflog-0.4.1.tgz@]


# %item value=5% Change directory
5. Copy to local bin directory
%commandbox% [@cd prepflog-0.4.1@]


# %item value=6% Copy to local bin directory
<pre>cp prepflog.pl /usr/local/bin/prepflog.pl</pre>
%commandbox% [@cp prepflog.pl /usr/local/bin/prepflog.pl@]


# %item value=7% Change owner and group  
6. Change owner and group. You may need to choose suitable owner and group depending on your platform.
%commandbox% [@chown bin:bin /usr/local/bin/prepflog.pl@]


# %item value=8% Ensure that it is executable
<pre>chown bin:bin /usr/local/bin/prepflog.pl</pre>
%commandbox% [@chmod 755 /usr/local/bin/prepflog.pl@]


# %item value=9% If not using the default configurations, add required configurations to /etc/freepbx.conf. For configuration variables click "Back to overview" below.
7. Ensure that it is executable


[[Linux/PrePflog|Back to overview]]
<pre>chmod 755 /usr/local/bin/prepflog.pl</pre>

Revision as of 16:34, 13 June 2016

These instructions apply to PrePflog 0.4.1

1. cd /tmp or some other directory where you will download and unpack the code

2. Download the latest source code file from this page. The souce code is signed with my gpg key. Therefore you may optionally verify the file has not been altered since I signed it. After downloading the file signature and my gpg key (available here) at the command line:

gpg --import johnfawcett.gpg
gpg --verify prepflog-0.4.1.tgz.sig

The result should be something like this:

gpg: Good signature from "John Fawcett <[email protected]>"

3. Unpack the source code

tar -xvzf prepflog-0.4.1.tgz

4. Change directory

cd prepflog-0.4.1

5. Copy to local bin directory

cp prepflog.pl /usr/local/bin/prepflog.pl

6. Change owner and group. You may need to choose suitable owner and group depending on your platform.

chown bin:bin /usr/local/bin/prepflog.pl

7. Ensure that it is executable

chmod 755 /usr/local/bin/prepflog.pl