该项目的源代码网址是:https://gitorious.org/owncloud
先下载下来,然后依次安装apache,php ,具体的步骤在网址:
OwnCoud的简要介绍:
(OwnCloud是一个基于Linux系统的开源云项目,允许用户建立自己的个人云服务器,目前功能包括文件分享、音乐存储、日历、联系人和书签共享等等。
OwnCloud业务人员称,“相比Dropbox和box.net,我们提供的服务更实惠,更安全,更方便管理,灵活性更强,十分适合商业用途。OwnCloud用户还可在自己的硬件和存储设备上实现文件同步和共享服务。”
通过Web浏览器或WebDAV,OwnCloud用户可随时随地访问自己的存储文件。OwnCloud还提供一个平台方便查看和同步所有设备上的联系人、日历和书签,允许直接在Web上进行基本编辑。另外,程序员还可通过开放的API添加功能。
据悉,一家新的商务公司正在改进OwnCloud的终端用户友好性,届时,OwnCloud个人云服务的设置和操作将变得更简单,使用更方便。该公司的CEO兼CTO由前SUSE/Novell高级副总裁Markus Rex担任。同时,OwnCloud项目创始人Frank Karlitschek也将继续为其提供服务。
在这个以云为导向的世界里,OwnCloud是唯一一个基于广阔开源平台的工具。也正因为这点与众不同之处,OwnCloud不仅方便企业管理数据和控制数据存储成本,同时也方便员工随时随地轻松访问数据。)
那么怎眼安装并试用开源的个人云服务器ownCloud呢?
以下是ownCloud的详细安装步骤:
Install
--------------------------------------------------------------------------------
To run ownCloud, your webserver must have the following installed: php5 (>= 5.3), php5-json php-xml php-mbstring php5-zip php5-gdAnd as optional dependencies: php5-sqlite (>= 3), curl, libcurl3, libcurl3-dev, php5-curl, php-pdo
apt-get install apache2 php5 php5-json php-xml php-mbstring php5-zip php5-gd
apt-get install php5-sqlite curl libcurl3 libcurl3-dev php5-curl php-pdo You don’t need any WebDAV support of your webserver (i.e. apache’s mod_webdav) to access your ownCloud data via WebDAV, ownCloud has a WebDAV server built in.
1. DownloadLatest stable release (4.0.5)
Latest development release Download
Sync Clients Sync Clients Page
2. Install2.1. Extract ownCloud and copy to your webserver
tar -xjf path/to/downloaded/owncloud-x.x.x.tar.bz2
cp -r owncloud /path/to/your/webserver
2.2. Set the directory permissions
The owner of your webserver must own the apps/, data/ and config/ directories in your ownCloud install. You can do this by running the following command for the apps, data and config directories:
chown -R www-data:www-data /path/to/your/owncloud/install/data
(关键是上面这一步,如果服务器用的是apache,就把www-data:www-data改为apache:apache ,如chown -R apache:apache /var/www/html/owncloud/*,然后就能正常访问了)
Replace ‘www-data:www-data’ with the user and group of the owner of your webserver.
Note that the data/ directory will only be created after setup has run (see below) and is not present by default in the tarballs.
2.3. Enable .htaccess and mod_rewrite if running apacheIf you are running the apache webserver, it is recommended that you enable .htaccess files as ownCloud uses them to enhance security and allows you to use webfinger. To enable .htaccess files you need to ensure that ‘AllowOverride’ is set to ‘All’ in the ‘Directory /var/www/’ section of your virtual host file. This is usually in /etc/apache2/sites-enabled/000-default. You should also run ‘a2enmod rewrite’ and ‘a2enmod headers’. Then restart apache:service apache2 restart (for Ubuntu systems).In order for the maximum upload size to be configurable, the .htaccess file in the owncloud folder needs to be made writable by the server.
2.4. Follow the install wizardOpen your web browser and navigate to your ownCloud instance. If you are installing ownCloud on the same machine as you will access the install wizard from, the url will be: (orFor basic installs we recommend SQLite as it is easy to setup (ownCloud will do it for you). For larger installs you should use MySQL or PostgreSQL. Click on the Advanced options to show the configuration options. You may enter admin credentials and let ownCloud create its own database user, or enter a preconfigured user.
If you are not using apache as the webserver, please set the data directory to a locationoutside of the document root. See the advanced install settings.
3. Finished!
Login and start using ownCloud! For more details on configuring your ownCloud, please visit theSupport Centre.
If you plan on using the Webfinger app and your ownCloud installation is not in the webroot then you’ll have to manually link /var/www/.well-known to /path/to/your/owncloud/.well-known.
Upgrading