Find following block at master.php
define('USERNAME','admin');
define('PASSWORD','asdasd');
Find following block at master.php
$webserver = new WebServer('http://0.0.0.0:18512');
If you are install the service manually, You probably need to set the php path
define('PHPCLI','php');
I think you know how to use it.
Start the service
php master.php start
Start the service as DEAMON
php master.php start -d
Restart the service as DEAMON
php master.php restart -d
Stop the service for DEAMON
php master.php stop
yum install -y epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum remove -y libevent-devel
yum install php71w-cli php71w-process git gcc php71w-devel php71w-pear php71w-pdo libevent2-devel -y
echo -e "\n\n\n\n\nno\nyes\n" | pecl install event
echo extension=event.so >> /etc/php.d/sockets.ini
git clone https://github.com/linkec/forwarder
cd forwarder
php master start -d
#Install epel RPM source
yum install -y epel-release
#Install webtatic RPM source
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
#Remove Old Version Libevent Development Package
yum remove libevent-devel
#Install PHP7 & Libevent From RPM
yum install php71w-cli php71w-process git gcc php71w-devel php71w-pear php71w-pdo libevent2-devel
#Install PHP event Extension
#ATTENTION: Please Enter 'no' When you see "Include libevent OpenSSL support [yes] :"
#ATTENTION: Please Enter 'yes' When you see "PHP Namespace for all Event classes :"
pecl install event
#Active Extension
echo extension=event.so >> /etc/php.d/sockets.ini
#Download Forwarder
git clone https://github.com/linkec/forwarder
cd forwarder
#Start Forwarder as deamon
php master start -d
yum install -y epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php71w-cli php71w-process git gcc php71w-devel php71w-pear php71w-pdo libevent-devel -y
echo -e "\n\n\n\n\nno\nyes\n" | pecl install event
echo extension=event.so >> /etc/php.d/sockets.ini
git clone https://github.com/linkec/forwarder
cd forwarder
php master start -d
#Install epel RPM source
yum install -y epel-release
#Install webtatic RPM source
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
#Install PHP7 & Libevent From RPM
yum install php71w-cli php71w-process git gcc php71w-devel php71w-pear php71w-pdo libevent-devel
#Install PHP event Extension
#ATTENTION: Please Enter 'no' When you see "Include libevent OpenSSL support [yes] :"
#ATTENTION: Please Enter 'yes' When you see "PHP Namespace for all Event classes :"
pecl install event
#Active Extension
echo extension=event.so >> /etc/php.d/sockets.ini
#Download Forwarder
git clone https://github.com/linkec/forwarder
cd forwarder
#Start Forwarder as deamon
php master start -d