全球主机交流论坛

标题: 在VPS上搭建OWNCLOUD 建立私有云 [打印本页]

作者: skywing    时间: 2017-6-6 10:56
标题: 在VPS上搭建OWNCLOUD 建立私有云
本帖最后由 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.
复制代码

作者: guaku    时间: 2017-6-6 11:04
nextcloud啊
owncloud都淘汰了
作者: doruison    时间: 2017-6-6 11:06
owncloud也能用?
作者: bg7758    时间: 2017-6-6 11:06
guaku 发表于 2017-6-6 11:04
nextcloud啊
owncloud都淘汰了

这个有中文支持么
作者: shc    时间: 2017-6-6 11:10
OwnCloud安装太简单了,实在是写不了一篇。。。

Seafile比这个安装复杂一点,但也得凑上点其他内容比如安装SSL什么的才能写成一整篇。。。。
作者: whiledone    时间: 2017-6-6 11:18
安装filerun把,网站在线功能简直逆天
作者: HelloAoA    时间: 2017-6-6 11:25
KodExplorer 挺好用的……比那几个安装都要简单……折腾来折腾去还是这个基本可以满足要求
作者: hising    时间: 2017-6-6 11:28
HelloAoA 发表于 2017-6-6 11:25
KodExplorer 挺好用的……比那几个安装都要简单……折腾来折腾去还是这个基本可以满足要求 ...

我也在用,很畅快!美滋滋
作者: vpsviewer    时间: 2017-6-6 11:31
whiledone 发表于 2017-6-6 11:18
安装filerun把,网站在线功能简直逆天

免费版只有3用户吧?付费无限版要2099 USD。。。买不起。
作者: aboutyj    时间: 2017-6-6 11:31
guaku 发表于 2017-6-6 11:04
nextcloud啊
owncloud都淘汰了

如果就只是用个同步功能,这两个都没什么区别
如果有更多功能需求,那就是nextcloud了。
相对客户端 - - 我喜欢owncloud
作者: HelloAoA    时间: 2017-6-6 11:53
hising 发表于 2017-6-6 11:28
我也在用,很畅快!美滋滋

对啊 比那几个 还多了个“基础的(直链)” 在线下载功能  ,还不要数据库
作者: reizhi    时间: 2017-6-6 11:55
我选择DIY NAS
作者: whiledone    时间: 2017-6-6 21:26
vpsviewer 发表于 2017-6-6 11:31
免费版只有3用户吧?付费无限版要2099 USD。。。买不起。

3用户不够你用么。。
作者: 老神仙    时间: 2017-6-6 21:35
好东西呀,一会去配置一下
作者: 流河旱树    时间: 2017-6-6 22:34
哪个有IOS的APP支持的
作者: skywing    时间: 2017-6-7 00:12
暂时就root运行吧~老司机带路后再行解决。




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4