mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update documentation for installing CGRateS for Redhat/Fedora/CentOS
This commit is contained in:
committed by
Dan Christian Bogos
parent
58c64397e1
commit
1d84d6a753
@@ -63,6 +63,52 @@ Run the following commands:
|
||||
As a side note on http://pkg.cgrates.org one can find an entire archive of CGRateS packages.
|
||||
|
||||
|
||||
3.1.2. Redhat/Fedora/CentOS
|
||||
-------------
|
||||
|
||||
There are two main ways of installing the maintained packages:
|
||||
|
||||
|
||||
3.1.2.1. YUM repository
|
||||
++++++++++++++++++++++++++++
|
||||
|
||||
|
||||
Create a file called cgrates.repo in /etc/yum.repos.d/ and add the following lines:
|
||||
|
||||
::
|
||||
|
||||
[cgrates]
|
||||
name=CGRateS
|
||||
baseurl=http://yum.cgrates.org/yum/master/
|
||||
enabled=1
|
||||
gpgcheck=1
|
||||
gpgkey=http://yum.cgrates.org/yum.cgrates.org.gpg.key
|
||||
|
||||
After that run the following commands:
|
||||
|
||||
::
|
||||
|
||||
sudo yum update
|
||||
sudo yum install cgrates
|
||||
|
||||
Once the installation is completed, one should perform the :ref:`post-install` section in order to have the CGRateS properly set and ready to run.
|
||||
After *post-install* actions are performed, CGRateS will be configured in **/etc/cgrates/cgrates.json** and enabled in **/etc/default/cgrates**.
|
||||
|
||||
|
||||
3.1.2.2. Manual installation of .rpm package out of archive server
|
||||
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
|
||||
Run the following commands:
|
||||
|
||||
::
|
||||
|
||||
wget http://pkg.cgrates.org/rpm/master/cgrates_current.rpm
|
||||
sudo rpm -i cgrates_current.rpm
|
||||
|
||||
As a side note on http://pkg.cgrates.org one can find an entire archive of CGRateS packages.
|
||||
|
||||
|
||||
3.2. Using source
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user