We hosten momenteel meer dan 20,000 klanten.

Centovacast installatie op uw VPS of Dedicated server Print

  • 126

 

# Allereerst moet je nog wat dingen installeren die nodig zijn voor centovacast:

 

yum install mysql-server httpd php php-gd php-cli php-mysql gcc make wget tar gzip which

 

# Ioncube Instaleren:

 

wget -q -O - http://www.atomicorp...stallers/atomic |sh

yum install php-ioncube-loader

 

# Proftpd installeren

# 32 bits systeem

wget http://dag.wieers.co...el5.rf.i386.rpm

rpm -Uvh proftpd-1.3.1-1.el5.rf.i386.rpm

# 64 bits systeem

wget http://dag.wieers.co...5.rf.x86_64.rpm

rpm -Uvh proftpd-1.3.1-1.el5.rf.x86_64.rpm

 

# Centovacast installatie

Je hebt als eerste de centovacast installatie nodig. Ik heb deze hier in de download gedaan. deze kan je uitpakken en in de map tmp doen.

 

cd /tmp/centovacast-x.x.x

./install.sh

 

 

To begin, the installer needs to know the full URL at which you will be using Centova Cast. This is where your users will login to manage their streams.


Enter the URL for Centova Cast: http://streams.example.com/cast/

 

Hier moet je dus de url van de centovacast inzetten. Dus waar je op kunt inloggen.

 

 

Please enter the path to the directory which corresponds to this URL:

http://streams.example.com/cast/

 

Enter the path for your Centova Cast web interface: /var/www/html/cast/

 

Als je de installatie in de hoofdmap wilt hebben moet je /var/www/html intypen. Als je dan naar je server ip gaat kom je gelijk op centovacast.

 

 

Is your web server configured to use suPHP (or phpsuexec)?


Press Y if suPHP or phpsuexec are enabled, otherwise press N: N

 

Dit maakt geen verschil uit. N is net zo goed.

 

 

Centova Cast can work with IceCast or ShoutCast streaming servers. If you choose ShoutCast (recommended), this installer can download and install it for you automatically.


Select the type of server you want to use:

[S] Press S for ShoutCast (recommended)

[I] Press I for IceCast

 

Dit kan je zelf kiezen. Icecast wordt niet automatisch mee geinstalleerd als je shoutcast kiest. Dit moet je daarna nog zelf doen.

Hier zal ik een aparte tutorial voor maken

 

 

Press Y if you accept this agreement and wish to install ShoutCast DNAS.

Press N to skip the installation of ShoutCast DNAS.


Do you accept these license terms? (y/n) Y

 

Hier moet je Y kiezen. Dan wordt namelijk ShoutCast DNAS gelijk geïnstalleerd.

 

 

If you plan to use Centova Cast's 'AutoDJ' features, you must install a streaming source application.


If you choose ices-cc (recommended), this installer can download and install it for you automatically.


Do you want to download and install ices-cc automatically now? (y/n) Y

 

Icec-cc is de stabielste nonstop source. Deze werkt met shoutcast en icecast. Het is dus aangeraden om deze te installeren.

 

 

This installer can automatically configure Centova Cast to work with your existing FTP server. Once this is done, your users will be able to login to your FTP server using their Centova Cast username and password.


Setup FTP integration automatically now? (y/n) N

 

Hier komen we later op terug. Dit kun je namelijk zelf instellen.

 

Hierna wordt centovacast geïnstalleerd. Ga in je webbrowser naar: http://jouwip/(eventuele installatie map )

 

#Mysql database aanmaken.

#mysql -u root

mysql> create database db_naam;

( verander db_naam naar je eigen databasenaam )

mysql> GRANT ALL PRIVILEGES ON db_naam.* to db_gebruiker@localhost IDENTIFIED BY 'db_wachtwoord';

 

#Centovacast configureren

Hier moet je de standaard gegevens invullen. Dit wijst op zichzelf.

 

Gefeliciteerd!, Centovacast is geïnstalleerd. Nu moet je alleen nog de ftp werkend maken.

 

#Ftp maken.

 

1) Zet centovacast_userdump.php samen met psswd en group in de /home/centovacast map

 

 

2) Maak een cronjob aan. Dit kan met een command:

# php -q /home/centovacast/centovacast-userdump.php /home/centovacast/passwd /home/centovacast/group ( dan update hij alles binnen 5 minuten )

# of je gaat naar het bestand crontab in /etc en vult daar het volgende in:

*/1 * * * * centovacast php -q /home/centovacast/centovacast-userdump.php /home/centovacast/passwd /home/centovacast/group

( hij doet dan alles elke minuut updaten wat zorgt voor een snellere wachtwoord wisseling in de ftp )

 

 

3) Ga naar het bestand proftpd.conf in /etc en doe daar het volgende:

# zoek naar het volgende met ctrl+f : AuthOrder. Daar moet je het volgende bij zetten:

AuthOrder mod_auth_unix.c mod_auth_file.c

AuthUserFile /home/centovacast/passwd

AuthGroupFile /home/centovacast/group

(indien AuthOrder er dus staat moet je alleen de 2 mod stukjes achter de huidigen zetten )

 

 

4) voer in ssh de volgende command in: service proftpd restart.

 

Je server werkt en is dus klaar voor gebruik!

 


Byla tato odpověď nápomocná?

<< Zpět

Heb je een vraag of heb je hulp nodig?