全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 4992|回复: 15

[Windows VPS] 在VPS上搭建OWNCLOUD 建立私有云

[复制链接]
发表于 2017-6-6 10:56:50 | 显示全部楼层 |阅读模式
本帖最后由 skywing 于 2017-6-7 00:11 编辑

装之前先查了网上的资料,中文资料非常少,文章都是好几年前的,大家安装的版本都是已经失去支持的,大家很少用这个源码吗?还是懒得动笔写?
还好安装这个还是非常简单的,官网下载最新版源码,解压,建立虚拟主机绑定域名,建数据库,设置好权限,访问下,填入用户名密码,数据库信息,安装,几秒就好了。。。比wordpress还简单,之前还是以为是多难呢。。。
装后发现没有中文,还好中文文件不乱码,凑合用吧。
后台有几个提示,提示要fileinfo模块的,已经搞定。其它的查下资料都是英文的,爬英文表示很辛苦啊
  1. Security & setup warnings
  2. Transactional file locking should be configured to use memory-based locking, not the default slow database-based locking. See the documentation ↗ for more information.
  3. We recommend to enable system cron as any other cron method has possible performance and reliability implications.
  4. Your data directory and your files are probably accessible from the Internet. The .htaccess file is not working. We strongly suggest that you configure your web server in a way that the data directory is no longer accessible or you move the data directory outside the web server document root.
  5. /dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our documentation.
  6. The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.
  7. No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
  8. Please double check the installation guides ↗, and check for any errors or warnings in the log.
复制代码


————————————————————————————————————————————
折腾安装了seafile 目前已经搞定大部分工作 就是使用root用户运行seafile担心会有安全上的问题,尝试建立一个普通用户用于运行它,没想权限不够,这里老司机这么多,有人碰到并解决这个问题了吗?
  1. root@vps:/home/seafile/seafile-server-6.0.9# sudo -u seafile ./seahub.sh start-fastcgi

  2. LC_ALL is not set in ENV, set to en_US.UTF-8
  3. Starting seahub (fastcgi) at 127.0.0.1:8000 ...
  4. Traceback (most recent call last):
  5.   File "/home/seafile/seafile-server-6.0.9/seahub/manage.py", line 10, in <module>
  6.     execute_from_command_line(sys.argv)
  7.   File "/home/seafile/seafile-server-6.0.9/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/management/__init__.py", line 354, in execute_from_command_line
  8.     utility.execute()
  9.   File "/home/seafile/seafile-server-6.0.9/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/management/__init__.py", line 328, in execute
  10.     django.setup()
  11.   File "/home/seafile/seafile-server-6.0.9/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/__init__.py", line 18, in setup
  12.     apps.populate(settings.INSTALLED_APPS)
  13.   File "/home/seafile/seafile-server-6.0.9/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/apps/registry.py", line 115, in populate
  14.     app_config.ready()
  15.   File "/home/seafile/seafile-server-6.0.9/seahub/seahub/base/apps.py", line 11, in ready
  16.     cache.set('test_cache', 'worked')
  17.   File "/home/seafile/seafile-server-6.0.9/seahub/thirdpart/Django-1.8.17-py2.7.egg/django/core/cache/backends/filebased.py", line 52, in set
  18.     fd, tmp_path = tempfile.mkstemp(dir=self._dir)
  19.   File "/usr/lib/python2.7/tempfile.py", line 308, in mkstemp
  20.     return _mkstemp_inner(dir, prefix, suffix, flags)
  21.   File "/usr/lib/python2.7/tempfile.py", line 239, in _mkstemp_inner
  22.     fd = _os.open(file, flags, 0600)
  23. OSError: [Errno 13] Permission denied: '/tmp/seahub_cache/tmpyO65YA'
  24. Error:Seahub failed to start.
复制代码
发表于 2017-6-6 11:18:17 来自手机 | 显示全部楼层
安装filerun把,网站在线功能简直逆天
发表于 2017-6-6 11:04:19 | 显示全部楼层
nextcloud啊
owncloud都淘汰了
发表于 2017-6-6 11:06:27 来自手机 | 显示全部楼层
owncloud也能用?
发表于 2017-6-6 11:06:57 | 显示全部楼层
guaku 发表于 2017-6-6 11:04
nextcloud啊
owncloud都淘汰了

这个有中文支持么
发表于 2017-6-6 11:10:45 | 显示全部楼层
OwnCloud安装太简单了,实在是写不了一篇。。。

Seafile比这个安装复杂一点,但也得凑上点其他内容比如安装SSL什么的才能写成一整篇。。。。
发表于 2017-6-6 11:25:21 | 显示全部楼层
KodExplorer 挺好用的……比那几个安装都要简单……折腾来折腾去还是这个基本可以满足要求
发表于 2017-6-6 11:28:06 | 显示全部楼层
HelloAoA 发表于 2017-6-6 11:25
KodExplorer 挺好用的……比那几个安装都要简单……折腾来折腾去还是这个基本可以满足要求 ...

我也在用,很畅快!美滋滋
发表于 2017-6-6 11:31:11 | 显示全部楼层
whiledone 发表于 2017-6-6 11:18
安装filerun把,网站在线功能简直逆天

免费版只有3用户吧?付费无限版要2099 USD。。。买不起。
发表于 2017-6-6 11:31:27 | 显示全部楼层
guaku 发表于 2017-6-6 11:04
nextcloud啊
owncloud都淘汰了

如果就只是用个同步功能,这两个都没什么区别
如果有更多功能需求,那就是nextcloud了。
相对客户端 - - 我喜欢owncloud
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-1-3 03:58 , Processed in 0.065837 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表