Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Server \ Install Apache streaming media services on CentOS 6.4     - Diagnose and resolve the SSH connection slow (Linux)

- Linux initialization init systems - Systemd (Linux)

- CentOS 6 kernel upgrade to Kernel 3.x (Linux)

- Oracle database NUMBER (x, y) data types (Database)

- Linux iptables: Composition Rules (Linux)

- Upgrade to Node V4 seven reasons (Programming)

- Solaris 10 nagios monitoring system (Linux)

- Linux5.8 installed phpMyAdmin was unable to issue related php-mcrypt (Database)

- Export error: ORA-04063: package body dmsys dbms dm model exp has error (Database)

- Hadoop configuration ssh automation of automation (Server)

- Use Swift remove the spaces in the string (Programming)

- Linux disk management practices (Linux)

- Text editing and viewing text Linux command (Linux)

- Install JDK 1.7 + Eclipse in CentOS 6.4 in (Linux)

- blecat: Bluetooth Gadgets (Linux)

- Minimum period string problem (Programming)

- Firewall chapter of Linux server security configuration (Linux)

- Android Application Development: an argument between Activity (Programming)

- innodb storage engine backup tool --Xtrabackup (Database)

- Cobbler Add custom YUM source (Linux)

 
         
  Install Apache streaming media services on CentOS 6.4
     
  Add Date : 2018-11-21      
         
         
         
  Ampache is a WEB-based audio / video streaming software, and file manager. You can use almost all of the Internet devices to access your music and videos from anywhere. It is not a media manager, but the effective use of the existing classification good media files. So you have to pre-organize the media files.

Program

Although it should work based on RHEL systems in almost all, but this guide is tested on CentOS 6.4. In this guide, my test machine host names and IP addresses are server.unixmen.com and 192.168.1.201/24. You can change these values ​​appropriately according to their address.

premise

It should be installed and configured Apache, MySQL and PHP (LAMP) on your server. Any reference to the following links to install a LAMP server.

LAMP installation on CentOS 6.4 (Apache, MariaDB, PHP) services.
or

LAMP installation on CentOS 6.4 (Apache, MySQL, PHP) services.
Translator's Note: Note that two installation database is different

Then install the PHP module.

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

Create a database user Ampache

For example, here, I'm going to create a database user named "ampachedb" and data "ampachedb" user password "centos" of. You can define a database according to your preferences.

# 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..
MariaDB [(none)]> create database ampachedb;
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]> GRANT ALL ON ampachedb. * TO ampacheuser @ localhost

IDENTIFIED BY 'centos';
Query OK, 0 rows affected (0.01 sec)

MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> exit

Bye

Adjust the firewall / router settings

Allow apache default port "80" through a firewall / router. Edit / etc / sysconfig / iptables file,

# Vi / etc / sysconfig / iptables

Add the following line.

-A INPUT -p tcp -m state --state NEW --dport 80 -j ACCEPT

Now restart the firewall (iptables) service.

# /etc/init.d/iptables Restart
Get Ampache

In this latest version, or download Ampache enter the following command from your terminal to download.

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

Note: Here you can access your streaming service website using the following two methods.

Direct access from the site root directory, so you can navigate to http: // domain-name / to access your website.
In addition, you can create a subdirectory in the root of the site and host site subdirectories, so you can use URLhttp: // domain-name / sub-directory-name successfully access your site.
At this time, since the purpose of the test, I'm going to visit my streaming sites in the sub directory.

With the command to extract the downloaded file:

# Tar -zxvf 3.6-alpha6

Mobile ampache apache directory to the root directory.

# Mv ampache-3.6-alpha6 / / var / www / html / ampache

Set write permissions ampache / config directory.

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

start installation

Open the browser address bar, enter http: // domain-name / ampache or http: // ip-address / ampache.

The following screen will appear. Click Start configuration (start configuration).
Enter the details and other MySQL database, user and password. Because we created a database, so make sure you have selected the "Overwrite existing database (overwrite existing database) 'checkbox.
Enter the details and other MySQL database, user and password recently created. Click to write files generated ampache.config.php and click Continue to step 3 button.
Now you will be asked to set the admin user password. Enter the password and click Create Account (create an account).
Finally, Ampache will ask you to update to the latest version. Click Update (Update).
Yes, that's it! Now that you have successfully installed Apmache.
     
         
         
         
  More:      
 
- MySQL script incremental backups (innobackupex) (Database)
- Java garbage collection (Programming)
- A brief description of Java 8 new features introduced syntax (Programming)
- Differential test piece using MongoDB performance YCSB (Database)
- Use libpq under Ubuntu 14.04 (Linux)
- Linux modify environment variables method (Linux)
- Python regular expressions: how to use regular expressions (Programming)
- Python interview must look at 15 questions (Programming)
- ORA-00911 invalid character error Solution (Database)
- The specified user to execute commands under Linux (Linux)
- Python common data type summary (Programming)
- Use read command to read user input (Programming)
- Sniffer Linux Environment (Linux)
- How to use the command line to obtain Freely RSS source on Linux (Linux)
- Node.js developers must know four JavaScript concepts (Programming)
- Linux Network Programming - raw socket Example: sending a UDP packet (Programming)
- Ubuntu 14.04 to install Blender 2.71 (Linux)
- Linux (SUSE) mount NTFS mobile hard practice (Linux)
- Linux iptables firewall settings whitelist (RHEL 6 and CentOS 7) (Linux)
- Boost - Memory Management - smart pointers (Programming)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.