Centos7安装ownCloud

yum 本身没有ownCloud库

所以ownCloud官方中有说明文档

CentOS_7 owncloud-files-10.0.10-1

Run the following shell commands as root to trust the repository.

第一步
rpm --import https://download.owncloud.org/download/repositories/production/CentOS_7/repodata/repomd.xml.key

Run the following shell commands as root to add the repository and install from there.

第二步
wget http://download.owncloud.org/download/repositories/production/CentOS_7/ce:stable.repo -O /etc/yum.repos.d/ce:stable.repo
yum clean all
yum install owncloud-files

基本上都安装完成了。

默认都是ip/owncloud访问 具体配置到httpd中修改。

主要是下面的问题

centos的php版本过低 

1.若之前安装过其他版本PHP,先删除

# yum remove php*

2.rpm安装PHP7相应的yum源

CentOS/RHEL 7.x:
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

# yum install php70w

安装完核心中之后 进去owncloud可能出现了内部服务器错误 ,那是因为没有安装php dom

yum install php70w-dom

之后就可以打开网页了

不过还缺少很多插件

# yum install php70w-intl

# yum install php70w-mbstring

# yum install php70w-gd

ps:本文只作为做着自己遇到的问题,安装过过程中出现的其他问题不太清楚。

nextcloud:https://docs.nextcloud.com/server/13/admin_manual/installation/php_70_installation.html

 

 

你可能感兴趣的:(centos)