User Tools

Site Tools


install:4.0.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.0.x:git [2013/02/28 11:04]
miconda created
install:4.0.x:git [2013/08/22 14:22]
a.rohr [3.Tuning Makefiles] note about paths to be changed when setting a prefix
Line 50: Line 50:
  
 <code> <code>
-  git clone --depth 1 git://git.sip-router.org/sip-router kamailio+  git clone --depth 1 --no-single-branch git://git.sip-router.org/sip-router kamailio
   cd kamailio   cd kamailio
   git checkout -b 4.0 origin/4.0   git checkout -b 4.0 origin/4.0
 </code> </code>
  
 +//Note: if your git client version does not support **--no-single-branch** command line parameter, then just remove it.// 
  
 ===== 3.Tuning Makefiles ===== ===== 3.Tuning Makefiles =====
Line 92: Line 93:
 </code> </code>
  
 +If you set this PREFIX you have to change most of the paths below from '/usr/local/...' to '/usr/local/kamailio-4.0/...'
  
 More hints about Makefile system at:  More hints about Makefile system at: 
Line 227: Line 229:
  
 The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at: The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at:
- 
-<code> 
-  /usr/local/src/kamailio-4.0/pkg/kamailio/debian/kamailio.init 
-</code> 
  
 <code> <code>
Line 242: Line 240:
 </code> </code>
  
-then edit the file updating the $DAEMON value:+then edit the file updating the $DAEMON and $CFGFILE values: 
 <code> <code>
   DAEMON=/usr/local/sbin/kamailio   DAEMON=/usr/local/sbin/kamailio
 +  CFGFILE=/usr/local/etc/kamailio/kamailio.cfg
 </code> </code>
  
Line 250: Line 250:
  
 <code> <code>
-  /usr/local/src/kamailio-4.0/pkg/kamailio/debian/kamailio.default+  /usr/local/src/kamailio-4.0/kamailio/pkg/kamailio/debian/kamailio.default
 </code> </code>
  
install/4.0.x/git.txt · Last modified: 2013/09/11 18:23 by werebear73