“UbuntuHelp:Ampache”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/ampache}} {{Languages|UbuntuHelp:ampache}} == Introduction == This document is to introduce Ampache and the AmpachePackage Project to the Ubunt...) |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/ampache}} | {{From|https://help.ubuntu.com/community/ampache}} | ||
{{Languages|UbuntuHelp:ampache}} | {{Languages|UbuntuHelp:ampache}} | ||
− | |||
− | |||
== Introduction == | == Introduction == | ||
− | |||
This document is to introduce Ampache and the AmpachePackage Project to the Ubuntu community. | This document is to introduce Ampache and the AmpachePackage Project to the Ubuntu community. | ||
− | |||
== AMPACHE == | == AMPACHE == | ||
− | |||
Ampache is a Web-based Audio file manager. It is implemented with MySQL, and PHP. It allows you to view, edit, and play your audio files via the web. It has support for playlists, artist and album views, album art, random play, playback via Http/On the Fly Transcoding and Downsampling, Vote based playback, Mpd and Icecast, Integrated Flash Player, as well as per user themes and song play tracking. You can also Link multiple Ampache servers together using XML-RPC. Ampache supports GETTEXT translations and has a full translation of many languages. | Ampache is a Web-based Audio file manager. It is implemented with MySQL, and PHP. It allows you to view, edit, and play your audio files via the web. It has support for playlists, artist and album views, album art, random play, playback via Http/On the Fly Transcoding and Downsampling, Vote based playback, Mpd and Icecast, Integrated Flash Player, as well as per user themes and song play tracking. You can also Link multiple Ampache servers together using XML-RPC. Ampache supports GETTEXT translations and has a full translation of many languages. | ||
− | |||
Ampache Screen Shots https://ampache.bountysource.com/screenshots | Ampache Screen Shots https://ampache.bountysource.com/screenshots | ||
− | |||
Ampache Demo http://ampache.org/demo/login.php | Ampache Demo http://ampache.org/demo/login.php | ||
− | |||
Ampache download http://ampache.org | Ampache download http://ampache.org | ||
− | |||
Ampache wiki https://ampache.bountysource.com/wiki | Ampache wiki https://ampache.bountysource.com/wiki | ||
− | |||
Ampache forum http://ampache.org/forums/ | Ampache forum http://ampache.org/forums/ | ||
− | |||
Ampache Lead Developer Karl Vollmerk [email protected] | Ampache Lead Developer Karl Vollmerk [email protected] | ||
− | |||
== New Ampache Install Instructions == | == New Ampache Install Instructions == | ||
− | |||
Add these lines to your /etc/apt/sources.list | Add these lines to your /etc/apt/sources.list | ||
− | |||
deb http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse | deb http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse | ||
− | |||
deb-src/http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse | deb-src/http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse | ||
− | |||
Now open a terminal and type | Now open a terminal and type | ||
− | |||
sudo apt-get update | sudo apt-get update | ||
− | |||
sudo apt-get install ampache mysql-server-5.0 phpmyadmin | sudo apt-get install ampache mysql-server-5.0 phpmyadmin | ||
− | |||
Set up a mysql user account with root privileges | Set up a mysql user account with root privileges | ||
− | |||
Point your browser to http://localhost/ampache or http://your.ip.address/ampache and follow the install instruction. | Point your browser to http://localhost/ampache or http://your.ip.address/ampache and follow the install instruction. | ||
− | |||
There is a very good install guide located at http://vollmer.kicks-ass.net | There is a very good install guide located at http://vollmer.kicks-ass.net | ||
− | |||
− | |||
== Old Ampache Install Instructions == | == Old Ampache Install Instructions == | ||
− | |||
For those comfortable with the command line the following commands should get you up and running. | For those comfortable with the command line the following commands should get you up and running. | ||
− | |||
On an existing setup, | On an existing setup, | ||
− | |||
sudo apt-get install apache2-mpm-prefork, mysql-server, php5, php5-gd | sudo apt-get install apache2-mpm-prefork, mysql-server, php5, php5-gd | ||
− | |||
NOTE-phpmyadmin can be used to create a user account with root privliges on the mysql server. | NOTE-phpmyadmin can be used to create a user account with root privliges on the mysql server. | ||
− | |||
If starting from scratch, install the Ubuntu-server cd | If starting from scratch, install the Ubuntu-server cd | ||
− | |||
Next open a terminal and enter the following commands. | Next open a terminal and enter the following commands. | ||
− | |||
1. cd /tmp | 1. cd /tmp | ||
− | |||
2. wget <a href="http://www.ampache.org/downloads/current.tar.gz">http://www.ampache.org/downloads/current.tar.gz</a> | 2. wget <a href="http://www.ampache.org/downloads/current.tar.gz">http://www.ampache.org/downloads/current.tar.gz</a> | ||
− | |||
3. tar -xzvf current.tar.gz | 3. tar -xzvf current.tar.gz | ||
− | |||
4. mv ampache-??? /usr/share/ | 4. mv ampache-??? /usr/share/ | ||
− | |||
5 cd /usr/share | 5 cd /usr/share | ||
− | |||
6. mv ampache-??? ampache | 6. mv ampache-??? ampache | ||
− | |||
7. chown -R www-data:www-data ampache | 7. chown -R www-data:www-data ampache | ||
− | |||
8. nano /etc/apache2/conf.d/ampache | 8. nano /etc/apache2/conf.d/ampache | ||
− | |||
type into nano | type into nano | ||
− | |||
Alias /ampache /usr/share/ampache | Alias /ampache /usr/share/ampache | ||
− | |||
<directory /> | <directory /> | ||
DirectoryIndex index.php | DirectoryIndex index.php | ||
− | |||
Options Indexes MultiViews | Options Indexes MultiViews | ||
− | |||
AllowOverride None | AllowOverride None | ||
− | |||
Order allow,deny | Order allow,deny | ||
− | |||
Allow from all | Allow from all | ||
</directory> | </directory> | ||
− | |||
9. ctrl o to save | 9. ctrl o to save | ||
− | |||
10. ctrl x to exit nano | 10. ctrl x to exit nano | ||
− | |||
11. /etc/init.d/apache2 restart | 11. /etc/init.d/apache2 restart | ||
− | |||
Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue | Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue | ||
− | |||
12. mysql -u <username> -p | 12. mysql -u <username> -p | ||
− | |||
13. mysql: create database ampache; | 13. mysql: create database ampache; | ||
− | |||
14. mysql: \q | 14. mysql: \q | ||
− | |||
15. mysql -u <username> -p ampache < sql/ampache.sql | 15. mysql -u <username> -p ampache < sql/ampache.sql | ||
− | |||
16. cp config/ampache.cfg.php.dist config/ampache.cfg.php | 16. cp config/ampache.cfg.php.dist config/ampache.cfg.php | ||
− | |||
17. nano config/ampache.cfg.php | 17. nano config/ampache.cfg.php | ||
− | |||
type into nano | type into nano | ||
− | |||
local_host = localhost | local_host = localhost | ||
− | |||
local_db = ampache | local_db = ampache | ||
− | |||
local_pass = <password> | local_pass = <password> | ||
− | |||
local_user = <username> | local_user = <username> | ||
− | |||
18. ctrl o to save | 18. ctrl o to save | ||
− | |||
19. ctrl x to exit nano | 19. ctrl x to exit nano | ||
− | |||
Then point your web browser to http://your.domain/ampache and this will bring you to the Ampache install page and just follow the instructions. | Then point your web browser to http://your.domain/ampache and this will bring you to the Ampache install page and just follow the instructions. | ||
− | |||
− | |||
== AmpachePackaging Project == | == AmpachePackaging Project == | ||
− | |||
The AmpachePackaging Project is completed. | The AmpachePackaging Project is completed. | ||
− | |||
Charlie Smotherman [email protected] | Charlie Smotherman [email protected] | ||
− | |||
− | |||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 15:20的版本
目录
Introduction
This document is to introduce Ampache and the AmpachePackage Project to the Ubuntu community.
AMPACHE
Ampache is a Web-based Audio file manager. It is implemented with MySQL, and PHP. It allows you to view, edit, and play your audio files via the web. It has support for playlists, artist and album views, album art, random play, playback via Http/On the Fly Transcoding and Downsampling, Vote based playback, Mpd and Icecast, Integrated Flash Player, as well as per user themes and song play tracking. You can also Link multiple Ampache servers together using XML-RPC. Ampache supports GETTEXT translations and has a full translation of many languages. Ampache Screen Shots https://ampache.bountysource.com/screenshots Ampache Demo http://ampache.org/demo/login.php Ampache download http://ampache.org Ampache wiki https://ampache.bountysource.com/wiki Ampache forum http://ampache.org/forums/ Ampache Lead Developer Karl Vollmerk [email protected]
New Ampache Install Instructions
Add these lines to your /etc/apt/sources.list deb http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse deb-src/http://ppa.launchpad.net/cjsmo/ubuntu gutsy main restricted universe multiverse Now open a terminal and type sudo apt-get update sudo apt-get install ampache mysql-server-5.0 phpmyadmin Set up a mysql user account with root privileges Point your browser to http://localhost/ampache or http://your.ip.address/ampache and follow the install instruction. There is a very good install guide located at http://vollmer.kicks-ass.net
Old Ampache Install Instructions
For those comfortable with the command line the following commands should get you up and running. On an existing setup, sudo apt-get install apache2-mpm-prefork, mysql-server, php5, php5-gd NOTE-phpmyadmin can be used to create a user account with root privliges on the mysql server. If starting from scratch, install the Ubuntu-server cd Next open a terminal and enter the following commands. 1. cd /tmp 2. wget <a href="http://www.ampache.org/downloads/current.tar.gz">http://www.ampache.org/downloads/current.tar.gz</a> 3. tar -xzvf current.tar.gz 4. mv ampache-??? /usr/share/ 5 cd /usr/share 6. mv ampache-??? ampache 7. chown -R www-data:www-data ampache 8. nano /etc/apache2/conf.d/ampache type into nano Alias /ampache /usr/share/ampache <directory /> DirectoryIndex index.php Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </directory> 9. ctrl o to save 10. ctrl x to exit nano 11. /etc/init.d/apache2 restart Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue 12. mysql -u <username> -p 13. mysql: create database ampache; 14. mysql: \q 15. mysql -u <username> -p ampache < sql/ampache.sql 16. cp config/ampache.cfg.php.dist config/ampache.cfg.php 17. nano config/ampache.cfg.php type into nano local_host = localhost local_db = ampache local_pass = <password> local_user = <username> 18. ctrl o to save 19. ctrl x to exit nano Then point your web browser to http://your.domain/ampache and this will bring you to the Ampache install page and just follow the instructions.
AmpachePackaging Project
The AmpachePackaging Project is completed. Charlie Smotherman [email protected]