安装试用开源的个人云服务器owncloud
2013-08-05 15:20
387 查看
安装试用开源的个人云服务器owncloud
项目的源代码网址是:先下载下来,然后依次安装apache,php,具体的步骤在网址:
OwnCoud的简要介绍:
(OwnCloud是一个基于Linux系统的开源云项目,允许用户建立自己的个人云服务器,目前功能包括文件分享、音乐存储、日历、联系人和书签共享等等。
OwnCloud业务人员称,“相比Dropbox和box.net,我们提供的服务更实惠,更安全,更方便管理,灵活性更强,十分适合商业用途。OwnCloud用户还可在自己的硬件和存储设备上实现文件同步和共享服务。”
通过Web浏览器或WebDAV,OwnCloud用户可随时随地访问自己的存储文件。OwnCloud还提供一个平台方便查看和同步所有设备上的联系人、日历和书签,允许直接在Web上进行基本编辑。另外,程序员还可通过开放的API添加功能。
据悉,一家新的商务公司正在改进OwnCloud的终端用户友好性,届时,OwnCloud个人云服务的设置和操作将变得更简单,使用更方便。该公司的CEO兼CTO由前SUSE/Novell高级副总裁MarkusRex担任。同时,OwnCloud项目创始人FrankKarlitschek也将继续为其提供服务。
在这个以云为导向的世界里,OwnCloud是唯一一个基于广阔开源平台的工具。也正因为这点与众不同之处,OwnCloud不仅方便企业管理数据和控制数据存储成本,同时也方便员工随时随地轻松访问数据。)
以下是详细的安装步骤:
Install
TorunownCloud,yourwebservermusthavethefollowinginstalled:php5(>=5.3),php5-jsonphp-xmlphp-mbstringphp5-zipphp5-gdAndasoptionaldependencies:php5-sqlite(>=3),curl,libcurl3,libcurl3-dev,php5-curl,php-pdoapt-getinstallapache2php5php5-jsonphp-xmlphp-mbstringphp5-zipphp5-gd apt-getinstallphp5-sqlitecurllibcurl3libcurl3-devphp5-curlphp-pdo
Youdon’tneedanyWebDAVsupportofyourwebserver(i.e.apache’smod_webdav)toaccessyourownClouddataviaWebDAV,ownCloudhasaWebDAVserverbuiltin.
1.Download
Lateststablerelease(4.0.5)
Latestdevelopmentrelease
SyncClients
2.Install
2.1.ExtractownCloudandcopytoyourwebserver
tar-xjfpath/to/downloaded/owncloud-x.x.x.tar.bz2
cp-rowncloud/path/to/your/webserver
2.2.Setthedirectorypermissions
Theownerofyourwebservermustowntheapps/,data/andconfig/directoriesinyourownCloudinstall.Youcandothisbyrunningthefollowingcommandfortheapps,dataandconfigdirectories:chown-Rwww-data:www-data/path/to/your/owncloud/install/data
(关键是上面这一步,如果服务器用的是apache,就把www-data:www-data改为apache:apache,如chown-Rapache:apache/var/www/html/owncloud/*
,然后就能正常访问了)
Replace‘www-data:www-data’withtheuserandgroupoftheownerofyourwebserver.
Notethatthedata/directorywillonlybecreatedaftersetuphasrun(seebelow)andisnotpresentbydefaultinthetarballs.
2.3.Enable.htaccessandmod_rewriteifrunningapache
Ifyouarerunningtheapachewebserver,itisrecommendedthatyouenable.htaccessfilesasownCloudusesthemtoenhancesecurityandallowsyoutousewebfinger.Toenable.htaccessfilesyouneedtoensurethat‘AllowOverride’issetto‘All’inthe‘Directory/var/www/’sectionofyourvirtualhostfile.Thisisusuallyin/etc/apache2/sites-enabled/000-default.Youshouldalsorun‘a2enmodrewrite’and‘a2enmodheaders’.Thenrestartapache:
serviceapache2restart(forUbuntusystems).Inorderfor
themaximumuploadsizetobeconfigurable,the.htaccessfileintheowncloudfolderneedstobemadewritablebytheserver.
2.4.Followtheinstallwizard
OpenyourwebbrowserandnavigatetoyourownCloudinstance.IfyouareinstallingownCloudonthesamemachineasyouwillaccesstheinstallwizardfrom,theurlwillbe:http://localhost/(or
http://localhost/owncloudForbasicinstalls
werecommendSQLiteasitiseasytosetup(ownCloudwilldoitforyou).ForlargerinstallsyoushoulduseMySQLorPostgreSQL.ClickontheAdvancedoptionstoshowtheconfigurationoptions.YoumayenteradmincredentialsandletownCloudcreateitsown
databaseuser,orenterapreconfigureduser.
Ifyouarenotusingapacheasthewebserver,pleasesetthedatadirectorytoalocationoutsideofthedocumentroot.Seetheadvancedinstallsettings.
3.Finished!
LoginandstartusingownCloud!FormoredetailsonconfiguringyourownCloud,pleasevisittheIfyouplanonusingtheWebfingerappandyourownCloudinstallationisnotinthewebrootthenyou’llhavetomanuallylink/var/www/.well-knownto/path/to/your/owncloud/.well-known.
Upgrading
ToupgradeyourownCloudinstance,justreplacethefileswiththenewsetfromthedownload.Leavetheconfig/folderanddata/folderintacttopreserveyourdata.Theupgradewillhappenautomaticallywhenyoufirstlogin.相关文章推荐
- 安装试用开源的个人云服务器owncloud
- 淘宝开源Web服务器Tengine个人安装记录
- OwnCloud:开源的个人云服务器
- 淘宝开源Web服务器Tengine基本安装步骤
- 新手玩个人服务器(阿里云)--守护进程和ftp安装
- 淘宝开源Web服务器Tengine安装教程
- 淘宝开源Web服务器Tengine基本安装步骤
- 使用ownCloud在Linux安装你的个人云服务
- Spark 伪分布式 & 全分布式 安装指南 - leejun_2005的个人页面 - 开源
- Django开发个人博客网站——26、服务器centos7安装mysql
- win服务器中安装开源电子邮箱服务端
- Mac 下 Mosquitto 安装和配置 (Mosquitto为开源的mqtt服务器)
- 淘宝开源Web服务器Tengine安装教程
- 开源服务器dcm4chee的安装
- XMPP 开源服务器 Openfire 的安装和配置指南
- 使用ownCloud在Linux安装你的个人云服务
- SIP协议&开源SIP服务器搭建和客户端安装
- 使用ownCloud在Linux安装你的个人云服务
- 个人web服务器的安装
- 在服务器系统Windows 2003安装Avira AntiVir小红伞免费个人版