Installing Yate from RPMs

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Change starting parameters)
(Added info about systemd)
Line 33: Line 33:
  
 
  service yate start
 
  service yate start
 +
 +
On some distributions that use [http://en.wikipedia.org/wiki/Systemd 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==
 
==Start Yate on system boot command==

Revision as of 18:24, 22 August 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

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers