Installing Yate from RPMs
(Added info about systemd) |
(→Start Yate on system boot command) |
||
Line 48: | Line 48: | ||
* [[Installation]] | * [[Installation]] | ||
+ | |||
+ | [[Category:Install]] |
Revision as of 11:35, 4 November 2013
If you want to get Yate up and running on your RedHat-based system, here is hopefully the quickest way to get going.
Contents |
Download RPMs
Download the Yate RPM for your CPU type, into your favourite folder (we use /usr/src).
Install RPM
Run the following command to install RPM:
rpm -Uhv yate-4.3.0-1mdv2009.1.x86_64.rpm
(this file name may change so just type rpm -Uhv yat and then press tab and let the shell complete the name for you)
Change starting parameters
To modify the starting parameters you have to edit the starting script file.
This depends on linux distribution, but it usually can be found in /etc/init.d.
By default Yate is started as a supervised daemon with this parameters:
- -v: Verbose debugging (you can use more than once)
- -F: Increase the maximum file handle to compiled value
- -r: Enable rotation of log file (needs -s and -l)
- -l filename: Log to file
- -Df: Timestamp debugging in GMT format YYYYMMDDhhmmss.uuuuuu
To see other options for starting Yate run command yate --help.
Start Yate
Here is the command to start Yate:
service yate start
On some distributions that use systemd the command above may fail. In that case you may need to prepare the init script first:
chkconfig --add yate
Start Yate on system boot command
If you want Yate to start every time on boot, type this:
chkconfig --level 345 yate on
See also