Browse Source

kamailio-install-guide-git: updates for stable v5.1.x series

Daniel-Constantin Mierla 7 years ago
parent
commit
19ec8fed69
2 changed files with 14 additions and 15 deletions
  1. 2 2
      README.md
  2. 12 13
      kamailio-install-guide-git/docs/index.md

+ 2 - 2
README.md

@@ -2,7 +2,7 @@
 
 Documentation and tutorials for Kamailio SIP server and related tools.
 
-Target: Kamailio v5.2.x (devel)
+Target: Kamailio v5.1.x (stable)
 
 More details about Kamailio at:
 
@@ -22,7 +22,7 @@ major version of Kamailio. The other tutorials are collected at:
 
 ### Support ###
 
-Questions about how to use Kamailio and the content of kamailio.cfg can be
+Questions about how to use Kamailio and the content of `kamailio.cfg` can be
 addressed via email to:
 
   * [[email protected]](http://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users)

+ 12 - 13
kamailio-install-guide-git/docs/index.md

@@ -1,6 +1,6 @@
 # Kamailio v5.1 - Install Guide #
 
-**Guide to install Kamailio SIP Server v5.1 (devel) from Git repository.**
+**Guide to install Kamailio SIP Server v5.1 (stable) from Git repository.**
 
 For more about Kamailio Project visit: [kamailio.org](https://www.kamailio.org).
 
@@ -8,18 +8,16 @@ For more about Kamailio Project visit: [kamailio.org](https://www.kamailio.org).
 Main author:
    Daniel-Constantin Mierla
 
-Support: <sr-users@lists.sip-router.org>
+Support: <sr-users@lists.kamailio.org>
 ```
 
 ## 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.1.x using the sources downloaded from GIT repository.
 
-*This document focuses on Kamailio devel (at this time it is the upcoming v5.1.0)
-with MySQL support, using a Debian unstable system.*
+*This document focuses on Kamailio v5.1.x with MySQL support, using a Debian
+stable system.*
 
 
 ## Prerequisites ##
@@ -43,7 +41,7 @@ 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**
@@ -56,8 +54,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.1
+  cd /usr/local/src/kamailio-5.1
 ```
 
 Download the sources from GIT using the following commands.
@@ -65,6 +63,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.1 origin/5.1
 ```
 
 _**Note**: if your git client version does not support **--no-single-branch**
@@ -110,11 +109,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.1l`, 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.1" include_modules="db_mysql dialplan" cfg
 ```
 
 More hints about `Makefile` system at:
@@ -362,7 +361,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.1/kamailio
   git pull origin
   make all
   make install