CAMFROG ADVANCED SERVER


INSTALL CAMFROG ADVANCED SERVER ON LINUX

Hello

This is a tutorial to config advanced server.

Follow these steps.

Requirements:

1. Putty
2. Good hosting

Step 1: Open putty login as root


Step II:

Update your server. Updates provides stability and security to system

Command: yum -y update


This will update your linux.

Step 3
:

Download camfrog server using wget

Command: wget http://download.camfrog.com/get.php?type=fasl
  if you get problem like wget not installed use command= yum -y install wget


Step 4:

: [ For 64 bit linux users] [32bit users skip to step 5]

You will need to install some dependencies before installing camfrogserver. If you miss these dependencies camfrog server will not be able to tun properly.


Follow these commands:

* yum -y install libstdc++.so.6
* yum -y install ld-linux.so.2 

* yum -y install libz.so.1



Step 5: Install camfrogserver

Now we have to install camfrogserver with following command

 Command : rpm -i get.php?type=fasl --nodeps

 Warning for 64bit users: If you Skip step 4 , you will get "No such file or directory" errors.

Step 6: configure cf_server.conf

first of all we will change directory to camfrog folder

Command: cd /etc/camfrogserver.d





now we have to edit cf_server.conf using nano

command: nano cf_server.conf

paste this below certificate line

# Enable remote access protocol. You can control your server using Windows-base$
remote_control_enabled=on
# Username/password for remote console access (full server management)
remote_control_login=   ****as desired****
remote_control_password=   ****as desired****
console_log_level=7
log_level=3
flood_protection=on
# Available rooms (each room should have same named folder with configuration files)
# Divide multiple rooms with a space
# Example: rooms_available=room1 room2 room3
rooms_available=  ****as desired****
Step 7 :

command : service camfrogserver start

Step 8:  Download camfrog advanced server from camfrog website and login in remote panel by using ip and above set remote control login and password.



For optimal performance we recommend you tune your Linux system according to our recommendations.

Increase the open file limit in /etc/security/limits.conf: 

 

camfrogserver  soft  nofile  10000
camfrogserver  hard  nofile  20000

Increase the transmit queue on the interface where Camfrog Server is listening. E.g.

/sbin/ifconfig eth0 txqueuelen 3000

(It is recommended to add this line to /etc/rc.d/rc.local, so this setting remains after a system reboot).


Opening Port is not necessary but you can open them with following commands

Opening ports from 6000 to 6010 (TCP):

iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport 6000:6010 -j ACCEPT

Opening ports from 5000 to 15000 (UDP):
iptables -I INPUT -m state --state NEW -m udp -p udp --dport 5000:15000 -j ACCEPT

Save the rules:
RHEL/CentOS/SL/Fedora:
service iptables save
Restart Iptables
service iptables restart
Enjoy !!

No comments: