PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : AMPACHE installieren, kann mir jemand helfen ?



DR.ZEISSLER
15.10.05, 21:19
Hallo,

ich möchte Ampache installieren, um von meinem Client mittels Webinterface die Musikfiles auf meinem Server abspielen zu können.

Ich bin Newbee in diesem Bereich, habe zwar schon ein wenig gelesen, aber verstanden habe ich nicht viel.

Das hier möchte ich installieren:
http://www.ampache.org/

Hier steht wie es unter Debian gehen soll:
http://www.ampache.org/forums/viewtopic.php?t=304

Leider fehlt mir dieser Bereich:
=== Assumtions ===
mysql and apache are already installed
http, not https, is used (I pipe everything through an ssh tunnel anyway)


Jetzt habe ich bei Euch etwas gefunden, was mir weiterhelfen könnte:

apt-get install apache2-mpm-prefork libapache2-mod-perl2 libapache2-mod-php4 mysql-client-4.1 mysql-server-4.1 libmysqlclient10 libmysqlclient12 libmysqlclient14 php4 php4-cgi php4-cli php4-pear php4-mysql phpmyadmin

Nur mal so zum Verständnis:
Wenn ich obiges installiere, öffne ich damit meinen Server für das Internet ?
Eigentlich möchte ich erstmal im lokalen Netz die Features nutzen.

Doc

`kk
15.10.05, 21:54
Ist das ein mpd-client?
Falls nein kannst du auch mpd in Verbindung mit irgendso einem
PHP-Client aufsetzen. Nur so als Vorschlag...

Fuer den Rest siehe Google.

DR.ZEISSLER
15.10.05, 22:07
Hallo und danke für Dein Statement.

Google gerade was mpd-client bedeuted.

Ich merke schon, das wird ein schwieriges Unterfangen...

Ich hoffe Ihr helft einem Ahnungslosen noch ein wenig auf die Sprünge...

Doc

carnil
15.10.05, 22:19
Hallo

Wenn ich obiges installiere, öffne ich damit meinen Server für das Internet ?
Eigentlich möchte ich erstmal im lokalen Netz die Features nutzen.

Wenn ich Deine Frage richig verstehe, dann fehlen um das zu beantworten ja noch einige Daten: Liegt der Server hinter einem Router, mit Firewall, hat der Server mehrere Interfaces (z.B. eines für LAN, und eine andere für "nach aussen") usw ...

`kk
15.10.05, 23:37
Ich hoffe Ihr helft einem Ahnungslosen noch ein wenig auf die Sprünge...
Doc
Gib mehr Infos (siehe carnil). Ohne die, wirds schwer. ;)

DR.ZEISSLER
02.02.06, 21:34
anschieb!

Am Wochenende versuche ich das hier mal...

Jinzora2

Konkrete fragen gibts dann ganz sicher...

DR.ZEISSLER
24.02.06, 22:03
Okay, da bin ich wieder...wie immer brauche ich wohl noch etwas support...

Status:

1. Ich habe LAMPP installiert und konfiguriert
2. Ich habe Ampache draufgesetzt und konfiguriert.

Ich habe einen Katalog erstellt. Der Server hat die Mukke gefunden, wenn ich allerdings ein Musiktitel auswähle wird der BEEP-Media-Player zwar gestartet erhält aber einen falschen "%TITEL%INPERPRET%..etc." Playlist Eintrag und spielt nichts ausser kurzem Knacksen ab.

Woran kann das liegen ?

Fehlt mir irgend ein Stream Paket bzw. muss ich zusätzliche Komponenten für den BEEP-Media-Player installieren, oder übergibt Ampache die Mukke falsch ?

Kann da jemand was dazu sagen ?

Danke und Gruß
Doc


Hier mal die Übersetzung der Indonesischen Anleitung nach der ich gearbeitet habe. Ich vermute, dass das mit MP3's auch korrekt funktioniert nur mit MPC halt nicht, obwohl lt. Ampache.org "MPC" explizit unterstützt wird. Entweder wird die Playlist.m3u falsch erstellt, oder es ist ein Berechtigungsproblem, oder und das vermute ich, das irgendwas mit dem Streaming nicht korrekt läuft.

Links:
LAMPP (Grundgerüst)_
http://www.apachefriends.org/de/xampp-linux.html
AMPACHE (Webbasierte Audiodatenbank):
http://www.ampache.org
ANLEITUNG (LAMPP mit AMPACHE in Indonesisch):
http://www.benpinter.net/article.php?story=20051120221118323


Hier mal die Übersetztung mit freundlichem Gruß an das Indonesien-Forum!



You had hundreds MP3 and want to sharing with the friend one LAN? There was the method of engrossed and being easy here.

Briefly said, we must make that his name audio streaming server. In this opportunity, we will build him with:
The moderate computer, at least Pentium III with the memory 256 MB and Ethernet Card 100 MBps. Of course also harddisk that big to accommodate MP3.
Distro Vector Linux, if could that SOHO 5.0.
Kombo XAMPP (LinuX Apache MySQL PHP Postfix). This package has been in Vector Linux SOHO. Kalau you with Vl Standard, be forced download previously. ( Http://www.apachefriends.org/en/xampp-linux.html )
Ampache. Nah this he the PHP package that will become the motor streaming server we. ( Http://www.ampache.org/ )
The directory contained MP3. If wanted good, try to get MP3 this was complete his information (the title, the singer, the album, the genre, etc.). This because of Ampache would automatic made use of this information to compile database.
Although his article not the length, I asumsikan Vector Linux and xampp has gone normal.

The SET XAMPP WITH PHP4
Ampache this still with PHP4, not yet could pakaia PHP5. So we must switch xampp to php4
root:#/opt/lampp/lampp php4
root:#/opt/lampp/lampp start

Prepare DATABASE MYSQL
Ampache needed access to database MySQL. for that prepared two user
User with the right to be full, usually root. Keep in mind password him.
User with the limited right, the example dbuser.
To make dbuser, used phpmyadmin that has been provided lampp. Caranya
1.Launched browser to http://localhost/phpmyadmin.
2.Login with user root and password him.
3.Choose the Privilages menu
4.Choose the Add User menu
5.Isikan User name (dbuser), Host (localhost), Password twice (was up to you) , lalu enable all the Data rights (SELECT, INSERT, UPDATE, DELETE, FILE) and Structure (CREATE, ALTER, the index, PROVIDE, TEMPORARY). Don't give the administrative right.
6.Klick GO

INSTALL AMPACHE
To menginstall ampache the method that fastest:

1.The package extract ampache to the folder htdocs lampp.
Root:# cd/opt/lampp/htdocs
root:# tar -xzf /home/user/download/ampache-3.3.1.4.Tar.Gz
root:# mV ampache-3.3.1.4 ampache

2.The difference permission the folder config

Root:# chmod 777 ampache/config

Later if being finished, don't forget returned permission to mode 755 although safe.
The CONFIGURATION AMPACHE
Now launched web browser (the Firefox example), then aimed to http://localhost/ampache/install.Php

1.The step 1: Creating and Inserting Ampache database

Desired Database Name: ampache
MySQL Hostname: localhost
MySQL Administrative Username: root
MySQL Administrative Password: passwd

2.The step 2: Creating the Ampache.Cfg.Php file

Web Path:/ampache
Desired Database Name:/ampache
MySQL Hostname: localhost
MySQL Username: dbuser
MySQL Password: passwd

Click "Write Config".
After being stated bahwa

Ampache.Cfg.Php Exists [OK] Ampache.
Cfg.Php Configured?[OK]

Please further to the step 3.
3.The step 3: Setup Initial Account
Username: admin
Password: passwd

Be finished.
Ampache will show the screen login.

MAKE KATALOG
Currently during him registered file-file MP3 that, for example, has been ready in the folder/opt/music.
1.To browser, continued Login as admin.
2.The clique of the Admin menu.
3.Choose Section Catalog.
4.To Catalog Tools, clicked Add catalog.
5.Isikan

Catalog Name: Musik001
Path:/opt/music

Click Add catalog

MORE USER
Secara
default, access was to Ampache restricted only to user that was registered.
This indeed the safe method of preventing the person was not known in any way access server we.
To increase user:
chose the menu of Admin
chose the menu of User
chose Add New user
Isikan the data user

Username: Tux
Full Name
: Tux The Penguin
the E-mail: tux@linux.Lan
Password: rahasia
Confirm Password: rahasia
User Access the Level: User

If indeed you did not want busy by means of safe this, you could edit file config/ampache.Cfg.Php, the difference setting use auth as follows:
# Use auth?
# If this Is the set to "Yes" ampache Will require a valid
# Username and password.
If this Is the set to no then ampache
# Will the note ask you for an username and password.No Is only
# recommended for internal only instances
# DEFAULT true
use auth = "no"
"

But this really was not recommended, his matter anyone will be admin.
Play MUSIC IN CLIENT
OK, currently streaming server we have been ready.
Please please from the other computer that terhubung to server through network.
Launched web browser, for example Firefox or the Opera.
1.Browse to the server, the example http://server.Linux.Lan/ampache
2.If you earlier not menset use auth so no, will emerge the screen login.
Isikan previously the name user and password that legal.
3.Outside the Ampache mainsail.
Saw that ampache provided fitur that complete to look around file everything that was available.
Could investigate had a basis the name file, the singer, the album, and searched freely.
This time tried the clique of the Albums menu.
4.Choose one of the albums, then clicked Action Play: All.
5.Here usually Firefox and the Opera will offer to keep (save) file that came.
Denied this offer.
On the other hand arranged so that file this immediately was opened (Open) with the application that could play M3U (MP3 Playlist).
For example to be xmms (for Vector Linux was in /usr/X11R6/bin/xmms).
6.After this small affair diset correctly, xmms immediately will play music that was chosen by you in browser Ampache.
I did not yet try if client him Windows, but should be able to also with WinAmp.

PELENGKAP
So that more ciamik, several matters along with could be added: rose libiconv.
This the package optional to put forward the character unicode from information tag.
Useful if for example you had MP3 with the title not ASCII, for example the mandarin's letter, Japan or Korea. rose themes in addition.
Search and download from the site ampache, then rose in/opt/lampp/htdocs/ampache/themes.
As far as this is concerned I was satisfied with Ampache this.
Compared to the other package, his configuration relative was easy.
That more important, fitur the management MP3 him OK and automatic.
Not need to very busy edited HTML everywhere, all music has been organised with the menus that were arranged, in fact had GREAT statistics the HIT all.
Congratulations entertained colleagues more than one LAN;-)

Copyleft: Kocil, 2005
License: GNU FDL
Posted to: www.benpinter.net, November 2005.
Testbed: Pentium IV 2.
4GHz, Vector Linux 5.
XWritepad: Bluefish

DR.ZEISSLER
24.02.06, 22:10
Hallo
Wenn ich Deine Frage richig verstehe, dann fehlen um das zu beantworten ja noch einige Daten: Liegt der Server hinter einem Router, mit Firewall, hat der Server mehrere Interfaces (z.B. eines für LAN, und eine andere für "nach aussen") usw ...

1. Ja der Server liegt hinter einem Router mit eingeschalteter Router-Firewall

2. Ja der Router ist auch für jeden angeschlossenen PC entsprechender Inet Zugang wenn erforderlich (Beim Server nur für die Updates nötig, Verbindung wird durch Anfrage (also öffnen eines Browers) direkt hergestellt)

Gruß
Doc

@ADMINS
Vielleicht besser in Musik verschieben...Danke Doc