特殊:Badtitle/NS100:Hive:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示3个用户的8个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/Hive}} | {{From|https://help.ubuntu.com/community/Hive}} | ||
{{Languages| | {{Languages|UbuntuHelp:Hive}} | ||
=== Hive === | === Hive === | ||
Hive is a Digital Life Management System which runs on apache, mysql and php. With it, you manage various aspects of your life using calendars and schedules. It also lets you access your media such as music, pictures and eventually videos from virtually any internet connected computer in the world. | Hive is a Digital Life Management System which runs on apache, mysql and php. With it, you manage various aspects of your life using calendars and schedules. It also lets you access your media such as music, pictures and eventually videos from virtually any internet connected computer in the world. | ||
Hive was originaly named Ubuntu Center. | Hive was originaly named Ubuntu Center. | ||
[http://icenterx.info/index.php Hive homepage] | [http://icenterx.info/index.php Hive homepage] | ||
or if that link doesn't work try https://hive.bountysource.com/ | |||
This guide applies to Ubuntu 6.06 LTS (Dapper Drake) | This guide applies to Ubuntu 6.06 LTS (Dapper Drake) | ||
=== Installation of required packages === | === Installation of required packages === | ||
==== Enable the Universe repository ==== | ==== Enable the Universe repository ==== | ||
* [[UbuntuHelp:Repositories/CommandLine| I am using Ubuntu server (command line)]] | * [[UbuntuHelp:Repositories/CommandLine| I am using Ubuntu server (command line)]] | ||
* [[UbuntuHelp:AddingRepositoriesHowto| I am using a desktop]] | * [[UbuntuHelp:AddingRepositoriesHowto| I am using a desktop]] | ||
Use [[UbuntuHelp:InstallingSoftware| any method]] to install the following packages: | Use [[UbuntuHelp:InstallingSoftware| any method]] to install the following packages: | ||
<pre><nowiki> | <pre><nowiki> | ||
apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2-dev libgd2 php-auth | apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2-dev libgd2 php-auth | ||
</nowiki></pre> | </nowiki></pre> | ||
==== Configure mysql database ==== | ==== Configure mysql database ==== | ||
Set a mysql-root password (not the same as a root password, but a password for mysql) | Set a mysql-root password (not the same as a root password, but a password for mysql) | ||
<pre><nowiki> | <pre><nowiki> | ||
mysql -u root | mysql -u root | ||
第39行: | 第22行: | ||
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); | mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword'); | ||
</nowiki></pre> | </nowiki></pre> | ||
You should now have a functional LAMP stack. Now create a database, username and password | You should now have a functional LAMP stack. Now create a database, username and password | ||
<pre><nowiki> | <pre><nowiki> | ||
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON center.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword'; | mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON center.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword'; | ||
</nowiki></pre> | </nowiki></pre> | ||
You may need to reload apache's configuration if you have not done so since installing LAMP. | You may need to reload apache's configuration if you have not done so since installing LAMP. | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo /etc/init.d/apache2 restart | sudo /etc/init.d/apache2 restart | ||
</nowiki></pre> | </nowiki></pre> | ||
Visit [[UbuntuHelp:ApacheMySQLPHP|Apache PHP MySQL]] for more information on LAMP. | Visit [[UbuntuHelp:ApacheMySQLPHP|Apache PHP MySQL]] for more information on LAMP. | ||
=== Install Hive === | === Install Hive === | ||
<pre><nowiki> | <pre><nowiki> | ||
wget --no-check-certificate https://files.bountysource.com/file/download/137/ubuntucenter-alpha-01.deb | wget --no-check-certificate https://files.bountysource.com/file/download/137/ubuntucenter-alpha-01.deb | ||
第61行: | 第37行: | ||
sudo dpkg -i ubuntucenter-alpha-01.deb | sudo dpkg -i ubuntucenter-alpha-01.deb | ||
</nowiki></pre> | </nowiki></pre> | ||
You should now have a functional hive! Point your browser to localhost/center. | You should now have a functional hive! Point your browser to localhost/center. | ||
You will be asked for the name of the mysql database, the user and password. After Hive is installed, you will be prompted to remove the installer. Click on the link to do so. | You will be asked for the name of the mysql database, the user and password. After Hive is installed, you will be prompted to remove the installer. Click on the link to do so. | ||
=== Configuration === | === Configuration === | ||
==== Photos ==== | ==== Photos ==== | ||
Put photos in /home/Shared/Pictures. Use subfolders for galleries. | Put photos in /home/Shared/Pictures. Use subfolders for galleries. | ||
'''Example:''' | '''Example:''' | ||
''/home/Shared/Pictures/beach'' | ''/home/Shared/Pictures/beach'' | ||
==== Music ==== | ==== Music ==== | ||
Put music in /home/Shared/Music. | Put music in /home/Shared/Music. | ||
After putting your music in there goto the Ubuntu Center web interface and click Music from the Main Menu then from the Navbar goto Admin -> Catalog -> then add a new catalog in /home/Shared/Music and it will scan the specified directory for audio files. For more help with the music aspects of Ubuntu Center please see http://www.ampache.org | After putting your music in there goto the Ubuntu Center web interface and click Music from the Main Menu then from the Navbar goto Admin -> Catalog -> then add a new catalog in /home/Shared/Music and it will scan the specified directory for audio files. For more help with the music aspects of Ubuntu Center please see http://www.ampache.org | ||
==== Bookmarks ==== | ==== Bookmarks ==== | ||
You may want to import your Firefox bookmarks, to do that just click import on the bookmarks menu and select the exported firefox bookmarks.html file | You may want to import your Firefox bookmarks, to do that just click import on the bookmarks menu and select the exported firefox bookmarks.html file | ||
==== Done! ==== | ==== Done! ==== | ||
By this point you should have a working install of Ubuntu Center. | By this point you should have a working install of Ubuntu Center. | ||
---- | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年11月17日 (二) 19:23的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Hive }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/af | • {{#if: UbuntuHelp:Hive|Afrikaans| [[::Hive/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ar | • {{#if: UbuntuHelp:Hive|العربية| [[::Hive/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/az | • {{#if: UbuntuHelp:Hive|azərbaycanca| [[::Hive/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/bcc | • {{#if: UbuntuHelp:Hive|جهلسری بلوچی| [[::Hive/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/bg | • {{#if: UbuntuHelp:Hive|български| [[::Hive/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/br | • {{#if: UbuntuHelp:Hive|brezhoneg| [[::Hive/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ca | • {{#if: UbuntuHelp:Hive|català| [[::Hive/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/cs | • {{#if: UbuntuHelp:Hive|čeština| [[::Hive/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/de | • {{#if: UbuntuHelp:Hive|Deutsch| [[::Hive/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/el | • {{#if: UbuntuHelp:Hive|Ελληνικά| [[::Hive/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/es | • {{#if: UbuntuHelp:Hive|español| [[::Hive/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/fa | • {{#if: UbuntuHelp:Hive|فارسی| [[::Hive/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/fi | • {{#if: UbuntuHelp:Hive|suomi| [[::Hive/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/fr | • {{#if: UbuntuHelp:Hive|français| [[::Hive/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/gu | • {{#if: UbuntuHelp:Hive|ગુજરાતી| [[::Hive/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/he | • {{#if: UbuntuHelp:Hive|עברית| [[::Hive/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/hu | • {{#if: UbuntuHelp:Hive|magyar| [[::Hive/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/id | • {{#if: UbuntuHelp:Hive|Bahasa Indonesia| [[::Hive/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/it | • {{#if: UbuntuHelp:Hive|italiano| [[::Hive/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ja | • {{#if: UbuntuHelp:Hive|日本語| [[::Hive/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ko | • {{#if: UbuntuHelp:Hive|한국어| [[::Hive/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ksh | • {{#if: UbuntuHelp:Hive|Ripoarisch| [[::Hive/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/mr | • {{#if: UbuntuHelp:Hive|मराठी| [[::Hive/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ms | • {{#if: UbuntuHelp:Hive|Bahasa Melayu| [[::Hive/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/nl | • {{#if: UbuntuHelp:Hive|Nederlands| [[::Hive/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/no | • {{#if: UbuntuHelp:Hive|norsk| [[::Hive/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/oc | • {{#if: UbuntuHelp:Hive|occitan| [[::Hive/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/pl | • {{#if: UbuntuHelp:Hive|polski| [[::Hive/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/pt | • {{#if: UbuntuHelp:Hive|português| [[::Hive/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ro | • {{#if: UbuntuHelp:Hive|română| [[::Hive/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/ru | • {{#if: UbuntuHelp:Hive|русский| [[::Hive/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/si | • {{#if: UbuntuHelp:Hive|සිංහල| [[::Hive/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/sq | • {{#if: UbuntuHelp:Hive|shqip| [[::Hive/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/sr | • {{#if: UbuntuHelp:Hive|српски / srpski| [[::Hive/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/sv | • {{#if: UbuntuHelp:Hive|svenska| [[::Hive/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/th | • {{#if: UbuntuHelp:Hive|ไทย| [[::Hive/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/tr | • {{#if: UbuntuHelp:Hive|Türkçe| [[::Hive/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/vi | • {{#if: UbuntuHelp:Hive|Tiếng Việt| [[::Hive/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/yue | • {{#if: UbuntuHelp:Hive|粵語| [[::Hive/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/zh | • {{#if: UbuntuHelp:Hive|中文| [[::Hive/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/zh-hans | • {{#if: UbuntuHelp:Hive|中文(简体)| [[::Hive/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:Hive | UbuntuHelp:Hive | {{#if: | :}}Hive}}/zh-hant | • {{#if: UbuntuHelp:Hive|中文(繁體)| [[::Hive/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:Hive|:Hive|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Hive/zh | | {{#ifexist: Hive/zh | | {{#ifeq: {{#titleparts:Hive|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Hive|1|-1|}} | zh | | }}
Hive
Hive is a Digital Life Management System which runs on apache, mysql and php. With it, you manage various aspects of your life using calendars and schedules. It also lets you access your media such as music, pictures and eventually videos from virtually any internet connected computer in the world. Hive was originaly named Ubuntu Center. Hive homepage or if that link doesn't work try https://hive.bountysource.com/ This guide applies to Ubuntu 6.06 LTS (Dapper Drake)
Installation of required packages
Enable the Universe repository
Use any method to install the following packages:
apache2 mysql-server php5 php5-gd php5-mysql id3v2 imagemagick libgd2-dev libgd2 php-auth
Configure mysql database
Set a mysql-root password (not the same as a root password, but a password for mysql)
mysql -u root mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('yourpassword');
You should now have a functional LAMP stack. Now create a database, username and password
mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON center.* TO 'yourusername'@'localhost' IDENTIFIED BY 'yourpassword';
You may need to reload apache's configuration if you have not done so since installing LAMP.
sudo /etc/init.d/apache2 restart
Visit Apache PHP MySQL for more information on LAMP.
Install Hive
wget --no-check-certificate https://files.bountysource.com/file/download/137/ubuntucenter-alpha-01.deb sudo dpkg -i ubuntucenter-alpha-01.deb
You should now have a functional hive! Point your browser to localhost/center. You will be asked for the name of the mysql database, the user and password. After Hive is installed, you will be prompted to remove the installer. Click on the link to do so.
Configuration
Photos
Put photos in /home/Shared/Pictures. Use subfolders for galleries. Example: /home/Shared/Pictures/beach
Music
Put music in /home/Shared/Music. After putting your music in there goto the Ubuntu Center web interface and click Music from the Main Menu then from the Navbar goto Admin -> Catalog -> then add a new catalog in /home/Shared/Music and it will scan the specified directory for audio files. For more help with the music aspects of Ubuntu Center please see http://www.ampache.org
Bookmarks
You may want to import your Firefox bookmarks, to do that just click import on the bookmarks menu and select the exported firefox bookmarks.html file
Done!
By this point you should have a working install of Ubuntu Center.