Railgun
Installation
https://www.cloudflare.com/docs/railgun/installation.html#configuration-and-activation https://pkg.cloudflare.com/
requires memcached make sure it's running and installed
[root@host ~]# ps faux | grep memcached
Cent 7 example install
setup the repo from cloudflare
[root@host ~]# rpm -ivh http://pkg.cloudflare.com/cloudflare-release-latest.el7.rpm
Retrieving http://pkg.cloudflare.com/cloudflare-release-latest.el7.rpm
warning: /var/tmp/rpm-tmp.M2eYpU: Header V4 RSA/SHA1 Signature, key ID 8caccbf8: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:cloudflare-release-2.0.0-14362970################################# [100%]
[root@host ~]# yum install railgun-stable
Installed:
railgun-stable.x86_64 0:5.3.0-1.el7
Railgun runs on port 2408 make sure it's open in the firewall
You will need to modify the following fields in the railgun conf here:
/etc/railgun/railgun.conf
activation.public_ip
This may also be listed as
activation.railgun_host
This is where you put the servers host IP.
You will also need your activation token for
activation.token
The activation token comes from cloudflare where the user dashboard is set up.
Starting the service
Cent 6
$ /etc/init.d/railgun start Starting railgun: [ OK ] $ service railgun start Starting railgun: [ OK ]
Cent 7
systemctl start railgun.service
After running the init script, there should be an rg-listener process listening on the configured port (2408 by default). You can use netstat to make sure:
$ netstat -plnt | grep 2408