“UbuntuHelp:Ampache/zh”的版本间的差异
来自Ubuntu中文
(→AMPACHE) |
(→Ampache 安装说明(首次安装)) |
||
(未显示1个用户的8个中间版本) | |||
第17行: | 第17行: | ||
== Ampache 安装说明(首次安装) == | == Ampache 安装说明(首次安装) == | ||
Ubuntu Hardy 版本已经包含 Ampache-3.3.3.5-dfsg1-1 安装包,你也可以从这里下载: [http://packages.ubuntu.com/hardy/web/ampache download]。 | Ubuntu Hardy 版本已经包含 Ampache-3.3.3.5-dfsg1-1 安装包,你也可以从这里下载: [http://packages.ubuntu.com/hardy/web/ampache download]。 | ||
− | Ubuntu Intrepid 版本也包含了 Ampache-3.4.1 安装包,你也可以从这里下载: [http://packages.ubuntu.com/intrepid/ampache download]. | + | |
+ | Ubuntu Intrepid 版本也包含了 Ampache-3.4.1 安装包,你也可以从这里下载: [http://packages.ubuntu.com/intrepid/ampache download]. | ||
+ | |||
由于 Debian 停止发布新版,Ampache-3.4.3-1 没有 Lenny 版本下的合适版本. However a Feature Freeze Exception was granted for Ampache-3.4.3-0ubuntu1 to be included into Intrepid. | 由于 Debian 停止发布新版,Ampache-3.4.3-1 没有 Lenny 版本下的合适版本. However a Feature Freeze Exception was granted for Ampache-3.4.3-0ubuntu1 to be included into Intrepid. | ||
+ | |||
Due to a lintian error, Ampache-3.4.3-0ubuntu1 now depends on libjs-prototype. libjs-prototype is only available in Intrepid and Lenny. Currently libjs-prototype is not in the Hardy archive unless it is backported. So what this means is that Ampache-3.4.3-0ubuntu1 will not install on Hardy or Etch due to Unmet Dependencies. | Due to a lintian error, Ampache-3.4.3-0ubuntu1 now depends on libjs-prototype. libjs-prototype is only available in Intrepid and Lenny. Currently libjs-prototype is not in the Hardy archive unless it is backported. So what this means is that Ampache-3.4.3-0ubuntu1 will not install on Hardy or Etch due to Unmet Dependencies. | ||
+ | |||
The maintainer has been kind enough to make a version of Ampache-3.4.3-0ubuntu1 for Hardy and Etch. These are not official packages so please do not file bug reports against them, contact me directly. | The maintainer has been kind enough to make a version of Ampache-3.4.3-0ubuntu1 for Hardy and Etch. These are not official packages so please do not file bug reports against them, contact me directly. | ||
− | + | ||
+ | 你可以在[https://edge.launchpad.net/~cjsmo/+archive here]找到Hardy/Etch版本的Ampache-3.4.3-0ubuntu1 | ||
+ | |||
There is also the [http://packages.ubuntu.com/hardy/web/ampache-themes Ampache-Themes-3.3.3.5a-1] themes package available in the Hardy archives. Sorry, for those folks using Ampache-3.4 additional themes are not yet available due to the fact that Ampache-3.4 is still in development. | There is also the [http://packages.ubuntu.com/hardy/web/ampache-themes Ampache-Themes-3.3.3.5a-1] themes package available in the Hardy archives. Sorry, for those folks using Ampache-3.4 additional themes are not yet available due to the fact that Ampache-3.4 is still in development. | ||
+ | |||
现在打开一个终端窗口 | 现在打开一个终端窗口 | ||
<pre><nowiki> | <pre><nowiki> | ||
第28行: | 第35行: | ||
sudo apt-get install ampache mysql-server-5.0 phpmyadmin | sudo apt-get install ampache mysql-server-5.0 phpmyadmin | ||
</nowiki></pre> | </nowiki></pre> | ||
+ | |||
创建一个 mysql 用户帐户,并赋予它 root 权限 | 创建一个 mysql 用户帐户,并赋予它 root 权限 | ||
+ | |||
在浏览器的地址栏输入 http://localhost/ampache 或http://your.ip.address/ampache,执行后续安装步骤。 | 在浏览器的地址栏输入 http://localhost/ampache 或http://your.ip.address/ampache,执行后续安装步骤。 | ||
− | 这里有个非常棒的安装向导 [http://trac.ampache.org/wiki Wiki] | + | |
+ | 这里有个非常棒的安装向导 [http://trac.ampache.org/wiki Wiki] 或者[http://vollmer.kicks-ass.net Ampache For Debian And Ubuntu]. | ||
== Ampache 安装说明 (更新安装)== | == Ampache 安装说明 (更新安装)== | ||
第41行: | 第51行: | ||
然后,打开一个终端窗口,输入以下命令: | 然后,打开一个终端窗口,输入以下命令: | ||
− | + | # cd /tmp | |
− | + | # wget <a href="http://www.ampache.org/downloads/current.tar.gz">http://www.ampache.org/downloads/current.tar.gz</a> | |
− | + | # tar -xzvf current.tar.gz | |
− | + | # mv ampache-??? /usr/share/ | |
− | + | # cd /usr/share | |
− | + | # mv ampache-??? ampache | |
− | + | # chown -R www-data:www-data ampache | |
− | + | # nano /etc/apache2/conf.d/ampache<br>type into nano<br>Alias /ampache /usr/share/ampache<br><directory /><br> DirectoryIndex index.php<br> Options Indexes MultiViews<br> AllowOverride None<br> Order allow,deny<br> Allow from all<br></directory><br> | |
− | + | # ctrl o to save | |
− | + | # ctrl x to exit nano | |
− | type into nano | + | # /etc/init.d/apache2 restart<br>Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue<br> |
− | Alias /ampache /usr/share/ampache | + | # mysql -u <username> -p |
− | <directory /> | + | # mysql: create database ampache; |
− | DirectoryIndex index.php | + | # mysql: \q |
− | Options Indexes MultiViews | + | # mysql -u <username> -p ampache < sql/ampache.sql |
− | AllowOverride None | + | # cp config/ampache.cfg.php.dist config/ampache.cfg.php |
− | Order allow,deny | + | # nano config/ampache.cfg.php<br>type into nano<br>local_host = localhost<br>local_db = ampache<br>local_pass = <password><br>local_user = <username><br> |
− | Allow from all | + | # ctrl o to save |
− | </directory> | + | # ctrl x to exit nano |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | type into nano | + | |
− | local_host = localhost | + | |
− | local_db = ampache | + | |
− | local_pass = <password> | + | |
− | local_user = <username> | + | |
− | + | ||
− | + | ||
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. | ||
2010年1月4日 (一) 22:19的最新版本
点击翻译: |
English • 中文 |
介绍
本文是介绍 Ampache 和 Ubuntu 社区的 AmpachePackage 项目.
AMPACHE
Ampache 是一个基于 Web 的音频文件管理器。它是用 MySQL 和 PHP 技术来实现的。 它允许你在网络上直接浏览、编辑并播放你的音频文件。它还支持播放列表、艺术家和唱片集、唱片分类、随机播放、回放。 Http/On the Fly Transcoding and Downsampling, Vote based playback, Mpd 和 Icecast, 集成 Flash Player, 同样支持用户主题和歌曲播放跟踪。你可以使用 XML-RPC 把 Ampache 服务连接在一起。 Ampache 支持 GETTEXT 翻译功能,它支持许多语言。 Ampache 资源
Ampache 首席开发者 Karl Vollmer, vollmer AT ampache DOT org
Ampache 安装说明(首次安装)
Ubuntu Hardy 版本已经包含 Ampache-3.3.3.5-dfsg1-1 安装包,你也可以从这里下载: download。
Ubuntu Intrepid 版本也包含了 Ampache-3.4.1 安装包,你也可以从这里下载: download.
由于 Debian 停止发布新版,Ampache-3.4.3-1 没有 Lenny 版本下的合适版本. However a Feature Freeze Exception was granted for Ampache-3.4.3-0ubuntu1 to be included into Intrepid.
Due to a lintian error, Ampache-3.4.3-0ubuntu1 now depends on libjs-prototype. libjs-prototype is only available in Intrepid and Lenny. Currently libjs-prototype is not in the Hardy archive unless it is backported. So what this means is that Ampache-3.4.3-0ubuntu1 will not install on Hardy or Etch due to Unmet Dependencies.
The maintainer has been kind enough to make a version of Ampache-3.4.3-0ubuntu1 for Hardy and Etch. These are not official packages so please do not file bug reports against them, contact me directly.
你可以在here找到Hardy/Etch版本的Ampache-3.4.3-0ubuntu1
There is also the Ampache-Themes-3.3.3.5a-1 themes package available in the Hardy archives. Sorry, for those folks using Ampache-3.4 additional themes are not yet available due to the fact that Ampache-3.4 is still in development.
现在打开一个终端窗口
sudo apt-get update sudo apt-get install ampache mysql-server-5.0 phpmyadmin
创建一个 mysql 用户帐户,并赋予它 root 权限
在浏览器的地址栏输入 http://localhost/ampache 或http://your.ip.address/ampache,执行后续安装步骤。
这里有个非常棒的安装向导 Wiki 或者Ampache For Debian And Ubuntu.
Ampache 安装说明 (更新安装)
用以下这些命令可以让你容易得执行更新安装。 在现有的安装系统上执行:
sudo apt-get install apache2-mpm-prefork, mysql-server, php5, php5-gd
注意: phpmyadmin 可以在 mysql 服务器上,创建一个有 root 权限的用户帐号。If starting from scratch, install the Ubuntu-server cd 然后,打开一个终端窗口,输入以下命令:
- cd /tmp
- wget <a href="http://www.ampache.org/downloads/current.tar.gz">http://www.ampache.org/downloads/current.tar.gz</a>
- tar -xzvf current.tar.gz
- mv ampache-??? /usr/share/
- cd /usr/share
- mv ampache-??? ampache
- chown -R www-data:www-data ampache
- 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> - ctrl o to save
- ctrl x to exit nano
- /etc/init.d/apache2 restart
Stop here if you plan on using phpmyadmin to setup mysql user account with root priv. If not continue - mysql -u <username> -p
- mysql: create database ampache;
- mysql: \q
- mysql -u <username> -p ampache < sql/ampache.sql
- cp config/ampache.cfg.php.dist config/ampache.cfg.php
- nano config/ampache.cfg.php
type into nano
local_host = localhost
local_db = ampache
local_pass = <password>
local_user = <username> - ctrl o to save
- 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 项目
AmpachePackaging 项目已经完成。 Charlie Smotherman [email protected]