Le Deal du moment :
Coffret dresseur d’élite ETB ...
Voir le deal
56.90 €

install server on ubuntu "cccam"

Voir le sujet précédent Voir le sujet suivant Aller en bas

install server on ubuntu "cccam"  Empty install server on ubuntu "cccam"

Message par technocom Ven Juil 20, 2012 10:35 am

Hi all, Am trying to set the above up with this tut -


[color:0276=#009900 !important]Installation
CCcam serveur sur Ubuntu 6.06 serveur avec pare-feu, automatique SofCam.k€y, TPS.BIN et DNS mise à jour, webinfo PHP et plusInstallation CCcam server on Ubuntu 6.06 server with firewall, automatic SofCam.k€y, TPS.bin and DNS update, PHP webinfo and more


Plus d'informations sur Ubuntu peut être trouvé à.More information about Ubuntu can be found at .


dans ce manuel à faire usage de VIM en tant que rédacteur en chef.in this manual to make use of VIM as editor.

Ceci est l'éditeur par défaut dans Ubuntu Server.This is the default editor in [color:0276=#009900 !important]Ubuntu Server
.

Pour plus d'informations sur toutes les options et le VIM type &undefined; vim - help &undefined; dans la ligne de commande.For information on all the options and VIM type &undefined; vim - help &undefined; in the commandline.

Bien sûr, vous pouvez utiliser n'importe quel éditeur que vous voulez.Of course you can use any editor that you want.

Midnight Commander ([color:0276=#009900 !important]voir
paragraphe 19) est idéal pour tous ceux qui VIM trouver difficile.Midnight commander (see paragraph 19) is ideal for anyone who VIM find difficult.

1.1.

[color:0276=#009900 !important]Installer
Ubuntu 6.06 LTS (Long Time Support) Server.Install Ubuntu 6.06 LTS (Long Time Support) server.

Pourquoi 6.06 LTS et non 7,04?Why 6.06 LTS and not 7.04?

6.06 LTS Server Edition possède un noyau qui est optimisé pour les serveurs.6.06 LTS server edition has a kernel that is optimized for servers.

Ubuntu Server Desktop n'est pas (totalement inutile pour un cardserver mon avis) et a de ce fait l'installation d'un mb à peine 300.Ubuntu desktop server is not (totally unnecessary for a cardserver my opinion) and has thereby installation of a barely 300 mb.

En outre, cette version 5 ans, conservé par Ubuntu.In addition, this version 5 years maintained by Ubuntu.

Serez-vous l'année prochaine à partir de 7.04 aucune mise à jour de plus pour 6.06 LTS exécuter ce jusqu'en 2011.Will you 7.04 from next year no more updates for 6.06 LTS run this until 2011.

2.2.

Installez SSH:Install SSH:


Code:[color:0276=#009900 !important]Code:

# Sudo apt-get install openssh-server# sudo apt-get install openssh-server

# Sudo apt-get install serveur OpenSSH# Sudo apt-get install openssh server

Si vous avez fait cela, le serveur en principe dans la gangkast, grenier, grange ou ailleurs.If you have done this, the server in principle in the gangkast, attic, [color:0276=#009900 !important]barn or anywhere else.

..

Aucun moniteur et un clavier plus nécessaire parce que tout est possible (à l'aide de mastic) externe fait.No monitor and k€yboard longer necessary because anything is possible (using putty) external done.

Bien sûr, vous pouvez aussi vous rendre sur le serveur lui-même.Of course, you can also go to the server itself.

3.3.

Télécharger le mastic et le connecter à votre serveur:Download putty and log into your server:


~ Sgtatham/putty/latest/x86/putty.exe~ sgtatham/putty/latest/x86/putty.exe

4.4.

Se connecter en tant que root:Login as root:


Code:Code:

# Sudo-s# sudo –s

# Sudo s --# Sudo s -

Entrez votre mot de passe et vous verrez que vous êtes root maintenant.Enter your password and you will see that you are now root.

5.5.

extra respotries aanzetten dans Ubuntu:extra respotries aanzetten in Ubuntu:

Respotries incitation supplémentaire dans Ubuntu:Respotries additional incitement in Ubuntu:


Code:Code:

# Vim / etc / apt / sources.list# vim /etc/apt/sources.list

# Vim / etc / apt / sources.list# Vim / etc / apt / sources.list

Retirez les [color:0276=#009900 !important]signes dièse pour tous les routiers:Remove the pound signs for all road:


Code:Code:

# Deb ......# deb ......

# Deb ......Deb # ......

Sauvegardez ce fichier.Save this.

6.6.

6.6.

Mettre à jour le sources.list:Update the sources.list:


Code:Code:

# Apt-get update# apt-get update

# Apt-get update# Apt-get update

7.7.

Installer un serveur FTP:Install an FTP server:


Code:Code:

# Apt-get install proftpd# apt-get install proftpd

# Apt-get install proftpd# Apt-get install proftpd

Important: Choisissez Lors installatievragen pour &undefined; autonome &undefined; et non &undefined; initd &undefined;Important: Choose during installatievragen for &undefined; standalone &undefined; and not &undefined; initd &undefined;

8.8.

Faire des dossiers pour les différents CCcam:Make folders for the various CCcam:


Code:Code:

# Mkdir / var / k€ys# mkdir /var/k€ys

# Mkdir / var / k€ys# Mkdir / var / k€ys

EtAnd

Code:Code:

# Mkdir / var / etc# mkdir /var/etc

# Mkdir / var / etc# Mkdir / var / etc

9.9.

Changer les répertoires suivants de propriété (de la racine à propre nom d'utilisateur):Change the following directories of ownership (from root to own username):


Code:Code:

# Jouwusername chown / var / k€ys# chown jouwusername /var/k€ys

# Jouwusername Chown / var / k€ys# Chown jouwusername / var / k€ys

# Jouwusername chown / var / etc# chown jouwusername /var/etc

# Jouwusername Chown / var / etc# Chown jouwusername / var / etc

# Jouwusername chown / usr / local / bin# chown jouwusername /usr/local/bin

# Jouwusername Chown / usr / local / bin# Chown jouwusername / usr / local / bin

10.10.

Signer avec votre programme FTP sur votre serveur et de télécharger des fichiers à partir de CCcam le texte suivant:Sign with your FTP program into your server and upload [color:0276=#009900 !important]files from CCcam the following:

CCcam.x86 naar / usr / local / binCCcam.x86 [color:0276=#009900 !important]naar /usr/local/bin

CCcam.x86 dans / usr / local / binCCcam.x86 to / usr / local / bin

CCcam.cfg, CCcam.channelinfo, CCcam.providers naar / var / etcCCcam.cfg, CCcam.channelinfo, CCcam.providers naar /var/etc

CCcam.cfg, CCcam.channelinfo, CCcam.providers dans / var / etcCCcam.cfg, CCcam.channelinfo, CCcam.providers to / var / etc

11.11.

Faire opstartbaaar CCcam.x86 avec chmod:Make CCcam.x86 opstartbaaar with chmod:


Code:Code:

# Chmod 755 / usr/local/bin/CCcam.x86# chmod 755 /usr/local/bin/CCcam.x86

# Chmod 755 / usr/local/bin/CCcam.x86# Chmod 755 / usr/local/bin/CCcam.x86

Note: je renomme toujours CCcam.x86 à CCcam.Note: I always rename CCcam.x86 to cccam.

Plus loin dans ce guide est donc CCcam.x86 CCcam.Further in this guide is CCcam.x86 therefore cccam.

12.12.

Assurez-vous que CCcam automatiquement au démarrage (re) démarrage.Make sure cccam automatically at startup (re) boot.


Code:Code:

# Vim / etc / rc.local# vim /etc/rc.local

# Vim / etc / rc.local# Vim / etc / rc.local

Ajouter le texte suivant:Add the following:


Code:Code:

/ usr / local / bin / CCcam/usr/local/bin/cccam

/ Usr / local / bin / CCcam/ Usr / local / bin / cccam

13.13.

Parce que CCcam au fil du temps vont utiliser beaucoup de mémoire (et moins stable) Permettez-moi de CCcam chaque soir pendant 4 heures pour redémarrer.Because CCcam over time are going to use a lot of memory (and less stable) let me Cccam every night for 4 hours to restart.

Créer un cron job:Create a cron job:


Code:Code:

# Sudo crontab-e# sudo crontab –e

# Crontab-e Sudo# Sudo crontab-e

Ajouter le texte suivant:Add the following:


Code:Code:

00 04 * * * killall CCcam & & / usr / local / bin / CCcam00 04 * * * killall cccam && /usr/local/bin/cccam

00 04 * * * killall CCcam & & / usr / local / bin / CCcam00 04 * * * killall cccam & & / usr / local / bin / cccam

Enregistrer avec Ctrl X, oui, entrezSave with Ctrl X, yes, enter

14.14.

Parce que je n'ai aucun sens de SoftCam.k€y toujours propre et mettre à jour TPS.BIN, j'ai ce automatisés.Because I have no sense to ever own [color:0276=#009900 !important]Softcam.k€y and tps.bin update, I have this automated.


Chaque soir à 3:59 pm, le Softcam dernier téléchargement.Every night at 3:59 pm, the last Softcam downloaded.

14.1 Créez un fichier bash:14.1 Make a bash file:


Code:Code:

# Vim / var / etc / k€yupdater.sh# vim /var/etc/k€yupdater.sh

# Vim / var / etc / k€yupdater.sh# Vim / var / etc / k€yupdater.sh

14,2 Ajouter dans le nouveau fichier avec les lignes suivantes toeen enregistrer le fichier:14.2 Add to the new file with the following lines toeen save the file:


Code:Code:

#!#!

/ bin / bash/bin/bash

/ Bin / bash/ Bin / bash

##

wget-qO / var / k€ys / SoftCam.k€ywget -qO /var/k€ys/SoftCam.k€y

Wget-qO var / / k€ys / xs SoftCam.k€y * * t.eu / hpengine / ad_files Downl * / * S * Y ftCam.KWget-qO / var / k€ys / SoftCam.k€y xs * * t.eu / hpengine / downl ad_files * / * S * y ftCam.K

wget-qO / var / k€ys / TPS.BINwget -qO /var/k€ys/tps.bin

Wget-qO var / / k€ys / TPS.BIN ************** wnload_files / TPS.BINWget-qO / var / k€ys / tps.bin ************** wnload_files / tps.bin

Note: Ik kan het volledige pad neerzetten hier niet, de meeste van jullie zullen wel aan hebben genoeg de soupçon!Note: Ik kan het volledige pad hier niet neerzetten, de meeste van jullie zullen wel genoeg hebben aan de hint!!!

Note: Je ne peux pas descendre en chemin complet ici, la plupart d'entre vous auront toujours assez pour hint!Note: I can not drop full path here, most of you will still have enough to hint!

14.3 Rendre le fichier nouvellement créé "bootable":14.3 Make the newly created file bootable:


Code:Code:

# Chmod 755 / var / etc / k€yupdater.sh# chmod 755 /var/etc/k€yupdater.sh

# Chmod 755 / var / etc / k€yupdater.sh# Chmod 755 / var / etc / k€yupdater.sh

14,4 Assurez-vous que le script, par exemple chaque soir à 4 heures à faire:14.4 Make sure the script eg every night at 4 am to be done:


Code:Code:

# Crontab-e# crontab –e

# Crontab-e# Crontab-e

Voeg de volgende regel toe:Voeg de volgende regel toe:

Ajoutez la ligne suivante:Add the following line:

Code:Code:

Code:Code:

59 03 * * * / var / etc / k€yupdater.sh59 03 * * * /var/etc/k€yupdater.sh

59 03 * * * / var / etc / k€yupdater.sh59 03 * * * / var / etc / k€yupdater.sh

Sauver votre &undefined; avec Crtl X, oui, entrez &undefined;Save your &undefined; with Crtl X, yes, enter &undefined;

15.15.

Firewall installer:Firewall install:

..

Pour la configuration du pare-feu, nous n'utiliserons pas Netfilter / Iptables, mais Shorewall.For the configuration of the firewall, we will not use Netfilter / Iptables but Shorewall.

À mon avis, Shorewall loin la meilleure solution pour le firewall Linux.In my opinion, Shorewall far the best solution for Linux firewall.

Avec l'aide d'un certain nombre de fichiers Shorewall permet à un nombre relativement simple de pare-feu très complexe.With the help of a number of files Shorewall makes it possible for a relatively simple to very complex firewall.

La configuration est évidemment très dépendant de la façon et ce qui est sur le serveur est en marche.The configuration is obviously very dependent on how and what is on the server is running.

Je sors de la situation la plus commune.I go out of the most common situation.

La plupart des gens auront serveur autonome actif et connecté à un routeur.Most people will have standalone server running and connected to a router.

Le serveur a une connexion réseau (NIC).The server has a network connection (NIC).

15.1 Installer le firewall (Shorewall):15.1 Install the Firewall (Shorewall):


Code:Code:

# Apt-get install shorewall# apt-get install shorewall

# Apt-get install shorewall# Apt-get install shorewall

15.2 En afin de démarrer le lancer Shorewall:15.2 In order to boot the shorewall start:


Code:Code:

# Vim / etc / default / shorewall# vim /etc/default/shorewall

# Vim / etc / default / shorewall# Vim / etc / default / shorewall

Remplacer:Replace:


Code:Code:

démarrage = 0startup = 0

Démarrage = 0Startup = 0

dansin

VV


Code:Code:

startup = 1startup = 1

Démarrage = 1Startup = 1

Enregistrez-le.Save it.

15,3 copier le configuratiefiles exemple un mur de soutènement dans le répertoire approprié:15.3 copy the example configuratiefiles of shorewall to the correct directory:


Code:Code:

# Cp / usr / share / doc / shorewall / default-config / * / etc / shorewall /# cp /usr/share/doc/shorewall/default-config/* /etc/shorewall/

# Cp / usr / share / doc / shorewall / default-config / * / etc / shorewall /# Cp / usr / share / doc / shorewall / default-config / * / etc / shorewall /


15.4 depuis ce point, il est préférable pour tous les configuratiefies dans / etc / shorewall shorewall / à prendre afin de faire connaissance.15.4 From this point it is best for all configuratiefies in / etc / shorewall / shorewall to take in order to get to know.

Il s'agit d'une consommation plutôt, le temps alors je vais juste passer par les choses principales.This is a rather time consuming so I will just go through the main things.

15,5 Tell shorewall netwerkzones ce que vous utilisez.15.5 Tell shorewall what netwerkzones you use.

Dans notre exemple avec une carte réseau il ya deux domaines dont 1 pare-feu lui-même et la carte réseau.In our example with a NIC there are two areas which 1 firewall itself and the NIC.


Code:Code:

# Vim / etc / shorewall / zones# vim /etc/shorewall/zones

# Vim / etc / shorewall / zones# Vim / etc / shorewall / zones

Ajouter le texte suivant:Add the following:


Code:Code:

# TYPE DES OPTIONS EN ZONE OUT# TYPE OF OPTIONS IN ZONE OUT

# OPTIONS OPTIONS# OPTIONS OPTIONS

fw firewallfw firewall

# LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE# LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE

Sla op dit.Sla dit op.

Sauvegardez ce fichier.Save this.

15.6 Ensuite, il faut configurer l'interface (NIC):15.6 Next, we configure the interface (NIC):


Code:Code:

# Vim / etc / shorewall / interfaces# vim /etc/shorewall/interfaces

# Vim / etc / shorewall / interfaces# Vim / etc / shorewall / interfaces

Ajouter le texte suivant:Add the following:


Code:Code:

# ZONE INTERFACE BROADCAST OPTIONS#ZONE INTERFACE BROADCAST OPTIONS

# ZONE INTERFACE BROADCAST OPTIONSZONE # INTERFACE BROADCAST OPTIONS

net eth0net eth0

Just eth0Just eth0

# DERNIÈRE LIGNE VOTRE Ajouter des entrées avant que celui-DO NOT REMOVE#LAST LINE—ADD YOUR ENTRIES BEFORE THIS ONE—DO NOT REMOVE

# DERNIÈRE LIGNE VOTRE Ajouter des entrées avant que celui-DO NOT REMOVE# LAST LINE-ADD YOUR ENTRIES BEFORE THIS ONE-DO NOT REMOVE

15,7 Maintenant nous entrons dans le pare-feu est fixé:15.7 Now we go into the firewall is set:


Code:Code:

# vim / etc / shorewall / Politique#vim /etc/shorewall/policy

# Vim / etc / shorewall / Politique# Vim / etc / shorewall / policy

Ajouter le texte suivant:Add the following:


Code:Code:

# SOURCE DEST POLICY LOG LIMIT: BURST# SOURCE DEST POLICY LOG LIMIT: BURST

# NIVEAU# LEVEL

ACCEPT net fwfw net ACCEPT

net tous DROPnet all DROP

toutes les REJECTall all REJECT

# DERNIÈRE LIGNE NE PAS RETIRER# LAST LINE-DO NOT REMOVE

Exemple, le trafic provient de l'extérieur du pare-feu pour passerIe traffic comes from outside the firewall to pass

Tout d'Internet vers le bloc pare-feuEverything from the Internet to the firewall block

Toutes les rejet est standard et donc vous devez partir.All all rejection is standard and so you have to leave.

Sauvegardez ce fichier.Save this.

15.8 Si nous allons dans les règles de pare-feu du dernier fournir:15.8 If we go into the last firewall rules provide:

Cet exemple est applicable si vous CCcam port 12000 utilisé dans l'interface Web de 16001 et l'interface Web que dans un PC spécifique sur le LAN avec IP 192.168.1.10 disponibles.This example is applicable if you CCcam port 12000 used in the web interface 16001 and the Web interface only in a specific PC on the LAN with IP 192.168.1.10 available.


Code:Code:

# vim / etc / shorewall / rules#vim /etc/shorewall/rules

# Vim / etc / shorewall / rules# Vim / etc / shorewall / rules

Ajouter le texte suivant:Add the following:


Code:Code:

# ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER /#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/

# ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER /# ACTION SOURCE DEST PROTO DEST ORIGINAL SOURCE RATE USER /

# PORT PORT (S) DEST LIMIT GROUP# PORT PORT(S) DEST LIMIT GROUP

# PORT PORT (S) DEST LIMIT GROUP# PORT PORT (S) DEST LIMIT GROUP

ACCEPT net: 192.168.1.10 fw tcp 16001ACCEPT net:192.168.1.10 fw tcp 16001

ACCEPT net: 192.168.1.10 fw tcp 16001ACCEPT net: 192.168.1.10 fw tcp 16001

ACCEPT net fw tcp 12000ACCEPT net fw tcp 12000

FW net ACCEPT TCP 12000ACCEPT net FW TCP 12000

ACCEPT net fw tcp 22 (voor SSH)ACCEPT net fw tcp 22 (voor SSH)

ACCEPT net fw tcp 22 (SSH)ACCEPT net fw tcp 22 (SSH)

ACCEPT net fw tcp 21 (voor FTP)ACCEPT net fw tcp 21 (voor FTP)

ACCEPT net fw tcp 21 (FTP)ACCEPT net fw tcp 21 (FTP)


Bloquez le port # 12000 pour une IPBlock port # 12000 for a particular IP

Net DROP: 220.153.535.2 fw tcp 12000DROP net: 220.153.535.2 fw tcp 12000

Bloquez le port # 12000 pour plusieurs adresses IPBlock port # 12000 for multiple IPs

Net DROP: 220.153.535.2, 233.233.111.33, 232.33.44.11 fw tcp 12000DROP net: 220.153.535.2, 233.233.111.33, 232.33.44.11 fw tcp 12000

..

# Si vous êtes comme Spiderman Samba utilisé pour partager des fichiers, ces portes ouvertes bien sûr Ook mais bien sûr seulement sur votre réseau interne.# If you are like Spiderman Samba used to share files, these gates course OOk open but of course only on your internal network.

ACCEPT net: 192.168.1.10/20 fw tcp 137.138.139.389.445 --ACCEPT net:192.168.1.10/20 fw tcp 137,138,139,389,445 -

ACCEPT net: 192.168.1.10/20 fw tcp 137138139389445 --ACCEPT net: 192.168.1.10/20 fw tcp 137138139389445 --

ACCEPT net: 192.168.1.10/20 fw udp 137.138.139.389.445 --ACCEPT net:192.168.1.10/20 fw udp 137,138,139,389,445 -

ACCEPT net: 192.168.1.10/20 fw udp 137138139389445 --ACCEPT net: 192.168.1.10/20 fw udp 137138139389445 --

EtcEtc.

EtcEtc.

Sauvegardez ce fichier.Save this.

16.16.

Shorewall start:Shorewall start:


Code:Code:

# Démarre shorewall# shorewall start

# Lancer Shorewall# Shorewall start

Si vous avez fait une erreur quelque part, vous arrivez à voir dans votre sortie.If you have made a mistake somewhere you get to see in your output.

Tous les autres fichiers dans / etc / shorewall vous n'avez pas à changer.All other files in / etc / shorewall you do not have to change.


17.17.

Services htop Installer pour être en mesure de voir vos écransInstall htop services to be able to see your screens


Code:Code:

# Apt-get install htop# apt-get install htop

# Apt-get install htop# Apt-get install htop

Opstarten remplies:Opstarten met:

Amorcer avec:Booting with:


Code:Code:

# Htop# htop

# Htop# Htop

18.18.

Afin d'être en mesure de surveiller le trafic réseau pour installer nload:In order to be able to monitor network traffic to install nload:


Code:Code:

# Apt-get install nload# apt-get install nload

# Apt-get install nload# Apt-get install nload

opstarten remplies:opstarten met:

Boot avec:Boot with:


Code:Code:

# Nload# nload

# Nload# Nload

19.19.

Pour répondre à la ligne de commande facile à naviguer à travers tous les fichiers et éditer les installer Midnight Commander:To meet the commandline easy to navigate through all the files and editing them install Midnight Commander:


Code:Code:

# Apt-get install mc# apt-get install mc

# Apt-get install mc# Apt-get install mc

Boot avec:Boot with:


Code:Code:

# Mc# mc

# MC# MC

20.20.

Apache et PHP5 de PHP Installation WebinfoApache and PHP5 for PHP Webinfo Installation

20.1 Installer Apache HTTP Server:20.1 Install Apache HTTP Server:


Code:Code:

# Apt-get install apache2# apt-get install apache2

# Apt-get install apache2# Apt-get install apache2

20.2 Installer PHP5:20.2 Install PHP5:


Code:Code:

# Apt-get install php5# apt-get install php5

# Apt-get install php5# Apt-get install php5

PuisThen

Code:Code:

# / Etc/init.d/apache2 restart# /etc/init.d/apache2 restart

# / Etc/init.d/apache2 Redémarrez# / Restart etc/init.d/apache2

20,3 ouvrir port 80 dans le pare-feu20.3 Open port 80 in the Firewall


Code:Code:

# Vim / etc / shorewall / rules# vim /etc/shorewall/rules

# Vim / etc / shorewall / rules# Vim / etc / shorewall / rules

Ajouter le texte suivant: Code:Add the following: Code:

ACCEPT net: TCP FW 80ACCEPT net: fw tcp 80

ACCEPT net: TCP FW 80ACCEPT net: fw tcp 80

20,4 Redémarrez Shorewall20.4 Restart Shorewall


Code:Code:

# Shorewall restart# shorewall restart

# Shorewall restart# Shorewall restart

20.5 Test d'Apache et PHP5 de travail:20.5 Test of Apache and PHP5 work:


Code:Code:

# Vim / var / www / testphp.php# vim /var/www/testphp.php

# Vim / var / www / testphp.php# Vim / var / www / testphp.php

Ajouter le texte suivant:Add the following:


Code:Code:

();?>(); ?>

();>();>

20.6 Dans votre navigateur, vous appelez le fichier nouvellement créé avec php20.6 In your browser you call the newly created php file with

Si tout est goedgegaan vous obtenez un bon aperçu de PHP.If everything is goedgegaan you get a good overview of PHP.

21.21.

Maintenant, nous Webinfo installation de PHP.Now we Webinfo PHP install.


21.1 Faites-vous propriétaire de / var / www /21.1 Make yourself owner / var / www /


Code:Code:

# Jouwusername chown / var / www /# chown jouwusername /var/www/

# Jouwusername Chown / var / www /# Chown jouwusername / var / www /

21,2 Téléchargez le Webinfo fichiers PHP avec FTP21.2 Upload the PHP Webinfo files with FTP

Seuls index.php et les données cartographiques dans / var / www /Only index.php and the map data in / var / www /

Profiles.ini dans / var / etc /Profiles.ini to / var / etc /


Note: profiles.ini certainement pas dans votre webroot (/ var / www /), en tant que norme prévue.Note: Certainly NOT profiles.ini in your webroot (/ var / www /), as standard intended.
Le journal de votre serveur en texte clair dans ce fichier et pour tous ceux qui en jeu!The log of your server in plain text in that file and for anyone up for grabs!

21.3 Fournir écrire dans le répertoire des données:21.3 Provide write to the directory data:


Code:Code:

# Chmod 777 / var / www / data# chmod 777 /var/www/data

# Chmod 777 / var / www / data# Chmod 777 / var / www / data

21,4 profiles.ini seulement avec les informations correctes:21.4 Only profiles.ini in with the correct information:


Code:Code:

vim / var / etc / profiles.inivim /var/etc/profiles.ini

Vim / var / etc / profiles.iniVim / var / etc / profiles.ini

Suivez les instructions, le fichier ressemble à çaFollow the instructions, the file looks like this

Code:Code:

# remplace les lignes suivantes avec votre serveur DNS, port FTP, l'utilisateur et de passer pour le serveur CCcam#replace the following lines with your dns, ftp port, user and pass for the cccam server

# Remplacez les lignes suivantes avec votre DNS, le port FTP, et passer d'utilisateur pour le serveur CCcam# Replace the following lines with your dns, ftp port, and pass user for the server cccam

127.0.0.1127.0.0.1

2121

Nom d'utilisateurusername

Nom d'utilisateurUsername

Mot de passepassword

Mot de passePassword

21,5 Variation initialprocess.php fichier:21.5 Change initialprocess.php file:

CiterQuote

# Vim / var / www / data / initialprocess.php# vim /var/www/data/initialprocess.php

# Vim / var / www / data / initialprocess.php# Vim / var / www / data / initialprocess.php

Recherche dans la règle 62, à:Search in Rule 62 to:

Code:Code:

if (file_exists ("../ profiles.ini ")) ($ file = AccessData ("../ profiles.ini");if (file_exists("../profiles.ini")) {$accessdata=file("../profiles.ini");

If (file_exists ("../ profiles.ini ")) ($ AccessData = file ("../ profiles.ini");If (file_exists ("../ profiles.ini ")) ($ accessdata = file ("../ profiles.ini");

N'oubliez pas ceci:Do not forget this:

Code:Code:

if (file_exists ( "/ var / etc / profiles.ini")) ($ AccessData = file ( "/ var / etc / profiles.ini");if (file_exists("/var/etc/profiles.ini")) {$accessdata=file("/var/etc/profiles.ini");

If (file_exists ( "/ var / etc / profiles.ini")) ($ AccessData = file ( "/ var / etc / profiles.ini");If (file_exists ( "/ var / etc / profiles.ini")) ($ accessdata = file ( "/ var / etc / profiles.ini");

Prêt!Ready!

Dirigez votre navigateur et vous voyez des informations détaillées sur CCcam [IMG] file: / / / C: / Documents% 20and 20Settings/Administrateur/Bureau/CCCAM/Page 20web/translate_fichiers/translate_p_data/wink.gif%% [/ IMG]Navigate your browser to and you see extensive information on CCcam install server on ubuntu "cccam"  Wink

22 NO IP Client de mise à jour automatique du DNS:22 NO IP Client for automatic DNS update:

Code:Code:

apt-get install no-ipapt-get install no-ip

Apt-get install no-ipApt-get install no-ip

NO 22,1 configuration IP Client:NO 22.1 IP Client configuration:

Code:Code:

Pas d'adresse IP--Cno-ip -C

No-ip-CNo-IP-C

Suivez les étapes et terminé 5 configuration.Follow the steps and finished 5 configuration.

La mise à jour fait son travail pour les X minutes que vous indiquez dans l'étape 5.The updater is doing his work for the X minutes that you indicate in Step 5.

NO-IP commencent redémarre automatiquement.NO-IP start automatically reboot.

23 DynDNS client pour mise à jour automatique du DNS:23 DynDNS Client for automatic DNS update:

Code:Code:

apt-get install ddclientapt-get install ddclient

Apt-get install ddclientApt-get install ddclient

23,1 DynDNS de configuration Client:23.1 DynDNS Client configuration:

Code:Code:

vim / etc / ddclient.confvim /etc/ddclient.conf

Vim / etc / ddclient.confVim / etc / ddclient.conf

Seul ce fichier de configuration pour votre perspicacité comme ceci:Only this config file to your insight like this:

Code:Code:

##

# / Etc / ddclient / ddclient.conf# /etc/ddclient/ddclient.conf

# / Etc / ddclient / ddclient.conf# / Etc / ddclient / ddclient.conf

##

protocol = dyndns2protocol=dyndns2

Protocol = dyndns2Protocol = dyndns2

= l'utilisation du Webuse=web

= L'utilisation du WebUse = web

login = myloginlogin=mylogin

Login = myloginLogin = mylogin

password = motdepassepassword=mypassword

Password = motdepassePassword = mypassword

myhost.dyndns.orgmyhost.dyndns.org

Myhost.dyndns.orgMyhost.dyndns.org


Début DynDNS ClientStart DynDNS Client

Début DynDNS ClientStart DynDNS Client

Code:Code:

/ etc / init.d / start ddclient/etc/init.d/ddclient start

/ Etc / init.d / start ddclient/ Etc / init.d / ddclient start

DynDNS démarrer automatiquement lors d'un redémarrage.DynDNS start automatically when a reboot.



Succès!Success!


Gracieuseté decourtesy of


Je suis rester bloqué sur l'étape 21.1; proably par manque d'expérience avec PHP.I am getting stuck on step 21.1; proably through lack of experience with PHP.


Des idées?Ideas?


MerciThanks
install server on ubuntu "cccam"  User_offline


technocom
technocom
 
 

Nombre de messages : 4
Date d'inscription : 09/07/2012
Masculin

Revenir en haut Aller en bas

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum