User Tools

Site Tools


install:4.2.x:git

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
install:4.2.x:git [2014/10/09 00:01]
miconda created
install:4.2.x:git [2015/01/03 17:06]
miconda [6. What and where was installed]
Line 26: Line 26:
 The following packages are required before proceeding to the next steps. The following packages are required before proceeding to the next steps.
  
-  * __git__ client: apt-get install git-core - it is recommended to have a recent version, if your Linux distro has an old version, you can download newer one from: http://git-scm.com/+  * __git__ client: apt-get install git - it is recommended to have a recent version, if your Linux distro has an old version, you can download newer one from: http://git-scm.com/
   * __gcc__ compiler: apt-get install gcc   * __gcc__ compiler: apt-get install gcc
   * __flex__ - apt-get install flex   * __flex__ - apt-get install flex
Line 87: Line 87:
 </code> </code>
  
-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 variable to the install path in 'make cfg ...' command:+**NOTE**: If you want to install everything in one directory (so you can delete all installed files at once), say /usr/local/kamailio-4.2, then set PREFIX variable to the install path in 'make cfg ...' command:
  
 <code> <code>
-make PREFIX="/usr/local/kamailio-devel" include_modules="db_mysql dialplan" cfg+make PREFIX="/usr/local/kamailio-4.2" include_modules="db_mysql dialplan" cfg
 </code> </code>
  
Line 97: Line 97:
   * http://sip-router.org/wiki/tutorials/makefile-system   * http://sip-router.org/wiki/tutorials/makefile-system
  
-NOTE: Previous release series 3.x.x used FLAVOUR mechanism to set the name of the application to **kamailio**. Starting with 4.0.0, the default is **kamailio**. From now on, if you want to build **ser** flavour, use **FLAVOUR=ser** in the make command to generate the build configs.+**NOTE**: Previous release series 3.x.x used FLAVOUR mechanism to set the name of the application to **kamailio**. Starting with 4.0.0, the default is **kamailio**. From that version, if you want to build **ser** flavour, use **FLAVOUR=ser** in the make command to generate the build configs.
  
 ===== 4. Compile Kamailio ===== ===== 4. Compile Kamailio =====
Line 170: Line 170:
 </code> </code>
  
-In case you set the PREFIX variable in 'make cfg ...' command, then replace **/usr/local** in all paths above with the value of PREFIX in order to locate the files installed.+**NOTE**; In case you set the **PREFIX** variable in 'make cfg ...' command, then replace **/usr/local** in all paths above with the value of PREFIX in order to locate the files installed.
  
 ===== 7. Create MySQL database ===== ===== 7. Create MySQL database =====
Line 293: Line 293:
  
   2.   2.
-  edit '/root/.kamctlrc' and add:+  edit '/usr/local/etc/kamailio/kamctlrc' (or per user file, like '/root/.kamctlrc'and add:
   SIP_DOMAIN=mysipserver.com   SIP_DOMAIN=mysipserver.com
 </code> </code>
Line 302: Line 302:
  
 <code> <code>
-  cd /usr/local/src/kamailio-devel/kamailio+  cd /usr/local/src/kamailio-4.2/kamailio
   git pull origin   git pull origin
   make all   make all
install/4.2.x/git.txt ยท Last modified: 2015/01/03 18:32 by miconda