This tutorial helps you to setup a Linux PC CCcam server under 1 hour, even for users with no Linux knowledge.
We need some old working PC. Hardware: Pentium 3 or Amd 600Mhz and up, 256mb (512mb optimal) ram, from 5gb HDD and up, Networkcard, and a simple 1mb, 4mb, 8mb... or onboard videocard (no need a fancy 128mb AGP/PCI-E videocard).
Intro:
Out there are many Linux distro's. With most of them you can build a good share server, but we use today "ClearOs".
What is ClearOs you ask!? ClearOs is a powerful network and gateway server designed for small organizations and distributed environments. Though ClearOs comes with an extensive list of features and integrated services (see sidebar), the solution is easy to configure thanks to the intuitive web-based interface. ClearOs Homepage
Is it stable!? Yes it is very stable and works almost perfectly with CCcam.
OK lets start now.
1: Download and burn it to a CD. Link for ClearOs iso:
ClearOS Enterprise 5.2 Service Pack 1
2: Installation steps:
1) Choose a Language: Installation language
2) Keyboard Type: Your keyboard language
3) Installation Method: Local CDrom
4) Install Type: Install
5) To Proceed with the installation type "ClearOs"
6) System Mode: Standalone Mode
7) Specify Lan IP Address: Manual Configuration (Set dynamic ip configuration if your router support MAC based static lease)
8) Nameserver IP: your router gateway IP (example 192.168.1.254 or what u have there)
9) Set The System Root Password
10) Partitioing: Use default
11) Select Software Modules: Now with new ClearOs you can choose install "Graphical Console" (GUI), or without it. "Intrusion Detection And Prevention" is pretty cool thing against the hackers and prevents smaller DDOS attacks. Everything else you can tropp. You can install missing modules easy later under dashboard directly if needed.
3: Now if ClearOs is installed and you used manual IP table then you can unplug monitor and keyboard from PC you do not need them anymore.
If you used automatic DHCP, then log to server from current monitor and keyboard to know what IP your server has.
Use command: ifconfig
Now you see your server IP, unplug monitor and keyboard from PC.
4: System setup.
1) Write to your webbrouser next https://192.168.1.142:81 of cource your server lan IP.
2) Next u get warning message like so "This Connection is Untrusted"
Hit the tab "I Understand the Risks", then the tab "Add Exception" and at least "Confirm Security Exception" (It can happen that u need make 2-3 times that over again, when u get to the login page!)
3) Login
Username: root
Password: What u entered during the ClearOS installation
4) Language: default is English
5) Network: Please set mode to "Standalone Mode No Firewall" later if everything is working u can enable Firewall if u want it.
6) Time Zone: set your country
7) Domain: you can leave it to default "clearos.lan" or change. It is up to you.
8) Organization: fill the forms like u want, not needed to use your real data there.
9) Congratulations, you have completed the system setup wizard! and hit the tab "Continue configuring your system"
10) Finish: and again u need make that step "This Connection is Untrusted" Hit the tab "I Understand the Risks". Then the tab "Add Exception" then "Confirm Security Exception" and at last "Resend". (It can happen that with FireFox brouser u need make 3-5 times that over again, when u get to the main page back!)
5: Set up the Dashboard.
1) Hit on tab "ClearCenter" and "Register System". (If you had already ClarkConnect registered, then same data u can use forward with ClearOS as well. But if you are new user then hit that link and register your self: Register ClearOS
2) Hit on tab "ClearCenter" and "Software Modules" From there tick "FTP server module" and hit "Go". Wait, when it finish install. Depends from system speed from 2-3 minutes it can take, but you get constant info as well to when it is finish.
3) Close the dashboard window complete and open it again, then u see new Tab up there called "Server" and under that is now FTP. Next open that FTP and set "Status - Running" as "On boot - Automatic". "Maximum Instances" set down from 30 to 1
4) Open tab "Directory" and "Users" Now u have message there "The required user database engine is not running. Continue" Please hit that "Continue" tab now.
5) LDAP is used to store user and password information. Just hit there "Update" tab.
6) Open again "Directory" and "Users". Now hit the tab "Add" and fill the next form:
Code:
Username: blabla (your FTP and Home directory username)
First Name: fafa
Last Name: gaga
Password: xxxxx (your FTP access password)
Verify: xxxxx
Hit the tab "Add" to save new user data.
6: Download CCcam pack and FTP client software. Unpack CCcam pack and take out from there CCcam.x86 and CCcam.cfg.
WinSCP Free SFTP, FTP and SCP client for Windows
7: Open FTP client app add there lines like so:
Session: server
Host named: 192.168.1.15
User name: blabla that you have created under dashboard
Password: xxxxx
Now OK and connect to server.
8: Copy with FTP client CCcam.x86 and CCcam.cfg to share server. If it is done close the FTP session.
9: Now we need open Putty. If you do not have putty you can download it here: Download putty for windows PC
Log with putty to server as root not as user blabla!
Now we can put some commands to get CCcam to right place.
10: Commands: (command "ls" is directory viewer) Please give commands exactly like i write here then it works 100%!!!
Note: mkdir is command for create new directory. If you see now 2 new directory then that part is OK. Next commands are:
Note: that blabla is user what you created under dashboard and you see there CCcam.x86 and CCcam.cfg.
Note: cp is command for copy. Command rm is for delete.
Note: Now you see that CCcam.x86 is green, before it wase withe.
CCcam auto startup script:
Note: there you see line like that: "touch" and so one. under that line is lot empty space. Now please write next line exact under that "touch" line there so:
Note: / you can get there only with shift+7 and ctrl+o is save file and ctrl+x exit. Look out that you do not change there nothing else!
Note: ./CCcam.x86 is command to start CCcam manually from command line and command: killall CCcam.x86 stops it agan. For CCcam debuge mode use command: ./CCcam.x86 -d
Note: with that command you have access to cfg file to edit it or you can use tutorial 15: to set to whole server FTP access . I prefer to change cfg file over putty.
12: How to get CCcam 2.1.0, 2.1.1 and 2.1.2 working with ClearOs 5.2 CCcam 2.1.3, 2.1.4 as 2.2.x don´t work with ClearOs 5.2!
Please give next commands into your system command line:
mkdir test
cd test
wget http://web.zone.ee/kapzas/libstdc++.so.6.0.9
cp libstdc++.so.6.0.9 /usr/lib
cd /usr/lib
chmod 755 libstdc++.so.6.0.9
unlink libstdc++.so.6
ln -s libstdc++.so.6.0.9 libstdc++.so.6
/sbin/ldconfig
cd ..
cd ..
rm -rf test
Display More
13: Done. CCcam server is up and running. With ClearOs working most external cardreaders serial and usb with no extra linux configuration.
For serial reader in COM1 put into CCcam.cfg so:
PHOENIX READER PATH : /dev/ttyS0
If you have attached to COM2 then so:
PHOENIX READER PATH : /dev/ttyS1
COM3: ttyS2 and so one.
For attached USB1 reader like Smargo Smartreader+ so:
SERIAL READER : /dev/ttyUSB0 smartreader+
Attached USB2:
SERIAL READER : /dev/ttyUSB1 smartreader+
For USB3: ttyUSB2 and so one.
All Credit to the original author Kapzas