Installing Yate from RPMs

From Yate Documentation
Revision as of 15:45, 3 April 2013 by Dana (Talk | contribs)

Jump to: navigation, search

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).

Run the following command

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)

Prepare the init script

You need to copy and rename the proper yate.init from a subdirectory of packing/ to /etc/init.d where all service start scripts are installed. Note that the script and additional tools depend on the Linux distribution used so take the correct one.

This operation needs that you run as root:

cp packing/rpm/yate.init /etc/init.d/yate
chown root.root /etc/init.d/yate

Replace rpm with what matches best your distribution's package manager.

You will then need to edit the init file and change the path to the executable from /usr/bin to /usr/local/bin.

You may also alter the command line options to get more debugging. Is is recommended to enable timestamping for the log messages.

The most important options are -d and -s to run as a supervised daemon. This allows Yate to restart automatically if it crashes or locks up.

It is also important to provide -r so logs can be rotated without stopping Yate.

Start Yate

Here is the command to start Yate:

service yate start

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