How To Install Ampache Streaming Media Server On CentOS 6.5

Ampache is a a web based audio/video streaming software and file manager. It allows you to access your music & videos from anywhere, using almost any internet enabled device. It isn’t a media organizer, it just use the existing organized media files in a useful way. So you must be aware of managing and organizing the media files.

Scenario

This how-to was tested on CentOS 6.5, although it should work on almost all RHEL based systems. In this how-to, my test box hostname and IP address are server.geniusansh.com and 192.168.0.155/24. Change these values with your own where it appropriate.

Prerequisites


Your server should have installed and configured with Apache, MySQL and PHP(LAMP). Refer any one of our links to setup LAMP server.

And install the following PHP modules too.

# yum install php-mcrypt php-pdo php-cli php-mysql php-gd php-xml libtool-ltdl 
mhash mcrypt -y

Create Database and User for Ampache
 

For instance, here i am going to create a database called “ampachedb” and database 
user called “ampache” with password “admin@123”. You can define database and user 
as per your liking.





# mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 5.5.31-MariaDB MariaDB Server

Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> create database ampachedb;
Query OK, 1 row affected (0.02 sec)
mysql> GRANT ALL ON ampachedb.* TO 'ampacheuser'@192.168.0.155 IDENTIFIED BY 
'admin@123';
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges; Query OK, 0 rows affected (0.00 sec) mysql> exit Bye

Getting Ampache:
 

Download the latest version of Ampache here or enter the following command to 
download it from your terminal.



# wget https://github.com/ampache/ampache/archive/3.6-alpha6.zip

Extract the downloaded file using command:

# tar -zxvf 3.6-alpha6

Move the contents to apache web root.



# mv ampache-3.6-alpha6/ /var/www/html/ampache
Set the write permissions to ampache/config directory.

# chmod -R 777 /var/www/html/ampache/config/

Begin Installation:



Open up browser and type http://domain-name/ampache or http://ip-address/ampache 
in the address bar.



The following should appear. Click Start configuration.



Enter the MySQL database, user and password details. Make sure that you checked 
the checkbox “Overwrite existing database” since we already created the database.



Enter the newly created MySQL database, user and password details. Click write 
to generate ampache.config.php file and click Continue to step 3 button.



Now you will be asked to setup the admin user password. Enter the password and 
click Create Account.



Finally Ampache will ask you to update to the most recent version. Click on Update.
Now U can see below page.
And that's it.
If u are new in Ampache then u can see Ampache Official Documentation.
Enjoy UR Self Friends!!!

Comments

Popular posts from this blog

Step By Step Configuration Cisco VoIP Phone in Cisco Packet Tracer.

How To Setup Social Publishing CMS (Content Managemnet System) Using Pligg in CentOS 6.5

How To Install And Configuring OpenFire XMPP Chat server on centos 6.5