Upgrading kernel: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
Dahdi installation directory is in /usr/local/src, so it will be enough to run:
Dahdi installation directory is in /usr/local/src, so it will be enough to run:


<code>
<tt>
cd /usr/local/src/dahdi*
cd /usr/local/src/dahdi*
./configure
./configure
make
make
make install
make install
service dahdi restart
service dahdi restart
 
</tt>
</code>


== Recompiling geoip ==
== Recompiling geoip ==

Revision as of 07:51, 14 May 2016

MiRTA PBX relies on two kernel modules, geoip and dahdi. The first allows to filter packets based on the geographical location, so you can avoid receiving call attempts from foreign countries, the second make conferences to work. When the kernel is upgraded, during a normal CentOS upgrade, these kernel modules will be not automatically regenerated for the new kernel. In this case, you need to reboot the server into new kernel and recompile both.

Recompiling dahdi

Dahdi installation directory is in /usr/local/src, so it will be enough to run:

cd /usr/local/src/dahdi* ./configure make make install service dahdi restart

Recompiling geoip

GeoIP installation directory is in /usr/local/src, so it will be enough to run:

cd /usr/local/src/xtables*

./configure

make

make install