Upgrading kernel: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


<tt>
<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>
</tt>


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


<code>
<tt>
cd /usr/local/src/xtables*
cd /usr/local/src/xtables*
 
./configure
./configure
make
 
make install
make
</tt>
 
make install
 
</code>

Revision as of 03:52, 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