Различия
Здесь показаны различия между двумя версиями данной страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
abills:docs:other:install_ubuntu [2013/03/07 17:23] asmodeus |
abills:docs:other:install_ubuntu [2018/05/15 13:39] (текущий) oswald |
||
---|---|---|---|
Строка 170: | Строка 170: | ||
==Настройка Freeradius== | ==Настройка Freeradius== | ||
- | cp /usr/abills/misc/freeradius/v2/radiusd.conf /usr/local/freeradius/etc/raddb/radiusd.conf | + | cd /usr/abills/ |
- | rm /usr/local/freeradius/etc/raddb/sites-enabled/* | + | rm /usr/local/etc/raddb/sites-enabled/* |
- | cp /usr/abills/misc/freeradius/v2/users_perl /usr/local/freeradius/etc/raddb/users | + | cp misc/freeradius/v3/mods-enabled/perl /usr/local/etc/raddb/mods-enabled/perl |
- | cp /usr/abills/misc/freeradius/v2/default_rlm_perl /usr/local/freeradius/etc/raddb/sites-enabled/abills_default | + | cp misc/freeradius/v3/mods-enabled/sql /usr/local/etc/raddb/mods-enabled/sql |
- | cp /usr/abills/misc/freeradius/v2/perl /usr/local/freeradius/etc/raddb/modules/ | + | cp misc/freeradius/v3/sites-enabled/abills_default /usr/local/etc/raddb/sites-enabled/abills_default |
+ | cp misc/freeradius/v3/users /usr/local/etc/raddb/users | ||
Меняем в конфиге радиуса | Меняем в конфиге радиуса | ||
Строка 209: | Строка 210: | ||
<code> | <code> | ||
- | */5 * * * * root /usr/abills/libexec/billd -all\\ | + | */5 * * * * root /usr/abills/libexec/billd -all |
- | 1 0 * * * root /usr/abills/libexec/periodic daily\\ | + | 1 0 * * * root /usr/abills/libexec/periodic daily |
- | 1 1 * * * root /usr/abills/libexec/periodic monthly\\ | + | 1 1 * * * root /usr/abills/libexec/periodic monthly |
</code> | </code> | ||