Browse Source

kamailio-install-guide-git: guide updated for v5.2.x

Daniel-Constantin Mierla 6 years ago
parent
commit
26289e1ad1
1 changed files with 15 additions and 17 deletions
  1. 15 17
      kamailio-install-guide-git/docs/index.md

+ 15 - 17
kamailio-install-guide-git/docs/index.md

@@ -1,6 +1,6 @@
-# Kamailio v5.3 - Install Guide #
+# Kamailio v5.2 - Install Guide #
 
-**Guide to install Kamailio SIP Server v5.3 (devel) from Git repository.**
+**Guide to install Kamailio SIP Server v5.2 (stable) from Git repository.**
 
 For more about Kamailio Project visit: [kamailio.org](https://www.kamailio.org).
 
@@ -14,12 +14,10 @@ Support: <[email protected]>
 ## Overview ##
 
 This is a step by step tutorial about how to install and maintain Kamailio SIP
-server development version using the sources downloaded from GIT repository -
-the choice for those willing to write code for Kamailio or to try the new
-features to be released in the future with the next major stable version.
+server v5.2.x using the sources downloaded from GIT repository.
 
-*This document focuses on Kamailio devel (at this time it is the upcoming v5.3.0)
-with MySQL support, using a Debian unstable system.*
+*This document focuses on Kamailio v5.2.x with MySQL support, using a Debian
+stable system.*
 
 
 ## Prerequisites ##
@@ -43,14 +41,13 @@ The following packages are required before proceeding to the next steps.
     * __libpcre3__ - `apt-get install libpcre3-dev`
 
 **Important Note**: starting with version `4.3.0`, Kamailio uses the directory
-**/var/run/kamailio/** for creating FIFO and UnixSocket control files. You may have
+**/var/run/kamailio/** for creating FIFO and UnixSocket RPC control files. You may have
 to complete the section related to installation of `init.d` script for creating
 `/var/run/kamailio` even if you plan to start Kamailio manually from command line.
 The alternative is to set different paths via parameters of **jsonrpcs**
 and **ctl** modules.
 
-**Note**: __g++__ compiler is needed for couple of modules that link to C++ libraries,
-such as app_sqlang, phonenum or ndb_cassandra.
+**Note**: __g++__ compiler is needed for couple of modules that link to C++ libraries, such as app_sqlang, phonenum or ndb_cassandra.
 
 ### MySQL Or MariaDB Server ###
 
@@ -67,8 +64,8 @@ will be stored.
 
 
 ```Shell
-  mkdir -p /usr/local/src/kamailio-devel
-  cd /usr/local/src/kamailio-devel
+  mkdir -p /usr/local/src/kamailio-5.2
+  cd /usr/local/src/kamailio-5.2
 ```
 
 Download the sources from GIT using the following commands.
@@ -76,6 +73,7 @@ Download the sources from GIT using the following commands.
 ```Shell
   git clone --depth 1 --no-single-branch https://github.com/kamailio/kamailio kamailio
   cd kamailio
+  git checkout -b 5.2 origin/5.2
 ```
 
 _**Note**: if your git client version does not support **--no-single-branch**
@@ -121,11 +119,11 @@ make include_modules="db_mysql dialplan" cfg
 ```
 
 **NOTE**: If you want to install everything in one directory (so you can delete
-all installed files at once), say `/usr/local/kamailio-devel`, then set `PREFIX`
+all installed files at once), say `/usr/local/kamailio-5.2`, then set `PREFIX`
 variable to the install path in `make cfg ...` command:
 
 ```Shell
-make PREFIX="/usr/local/kamailio-devel" include_modules="db_mysql dialplan" cfg
+make PREFIX="/usr/local/kamailio-5.2" include_modules="db_mysql dialplan" cfg
 ```
 
 More hints about `Makefile` system at:
@@ -373,7 +371,7 @@ The maintenance process is very simple right now. You have to be user `root` and
 execute following commands:
 
 ```Shell
-  cd /usr/local/src/kamailio-devel/kamailio
+  cd /usr/local/src/kamailio-5.2/kamailio
   git pull origin
   make all
   make install
@@ -392,7 +390,7 @@ the lines:
 
 ```Shell
 Module: kamailio
-Branch: master
+Branch: 5.2
 ```
 
 then an update has been made to Kamailio devel version and it will be available
@@ -417,7 +415,7 @@ pull request via:
 
   * [github.com/kamailio/kamailio-docs/pulls](https://github.com/kamailio/kamailio-docs/pulls)
 
-This version of the document is in GIT branch `master`.
+This version of the document is in GIT branch `5.2`.
 
 Errors and other issues can be reported via the tracker at: