CAMFROG SERVER


INSTALL CAMFROGSERVER 6 ON CENTOS

Hello

This is a tutorial " How to install camfrog server  on linux and configure it properly.

Follow these steps.

Requirements:

1. Putty
2. Winscp
3. Good hosting

Step 1: Open putty login as root


Login as root in putty



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=fsl
  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=fsl --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



* SSL certificate is generated automatically in step 5.
* room_active= write your room name here which you had registered before..
* Console log level logs all login details to server.  
* Log level 3 logs room commands used by people
* Web server port you can change according your hosting. Use such port which can not be easily guessed by hackers.


SSL_certificate_param=5rNNw2Y        
rooms_active=                                        your room name here
console_log_level=7
log_level=3
flood_protection=on
web_interface_enabled=on
web_Server_port=7852
Commands:

Save: Ctrl+O
Exit: Ctrl+X

 Step 7

* Create one folder on your desktop and save it according to your registered camfrog room name


 

 * Open notepad and edit according


adult_room_cache=off
audio_room_cache=off
deaf_room_cache=off
logon_name=                                        **************
logon_password=                                 **************
room_type_cache=1
serial=                                                                       ****your serial****
remote_access_login=                                     **************      
remote_access_password=                               ****************
talk_time_limit=0
add_owner_password=                                ***********
block_mic_time=60
disable_cams=on
override_room_port=on
room_port=                       *********** as per your requirement**********
line_breaks_count=3
spam_protection=on
deny_bots=on

Save this file as cf_room.conf and put it in folder created in step 7



 Step 8:

* open Winscp and open directory

/etc/camfrogserver.d



Drag and drop folder you created into server side from your pc.

Step 9:

command: service camfrogserver start



Voila !! your server is online now.

Step 10:

how to access admin panel:

open browser and type
https://0.0.0.0/port

0.0.0.0 is your server IP and port selected in step 6.


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


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

If you face any problem feel free to contact me.  

No comments: