您好,登錄后才能下訂單哦!
OwnCloud 一款文件主機(jī)服務(wù)軟件,就是我們平時(shí)使用的云存儲,不過這是在自己主機(jī)的服務(wù)器上建立屬于自己的私有云,OwnCloud 使用AGPLv3協(xié)議發(fā)布。本項(xiàng)目是基于PHP和SQLite,MySQL,Oracle或PostgreSQL數(shù)據(jù)庫,所以它可以運(yùn)行在所有的平臺上 |
[root@chao tools]# wget https://download.owncloud.org/community/owncloud-10.0.2.zip --2020-06-01 15:09:12-- https://download.owncloud.org/community/owncloud-10.0.2.zip 正在解析主機(jī) download.owncloud.org (download.owncloud.org)... 116.203.164.24, 2a01:4f8:1c0c:8147:: 正在連接 download.owncloud.org (download.owncloud.org)|116.203.164.24|:443... 已連接。 已發(fā)出 HTTP 請求,正在等待回應(yīng)... 301 Moved Permanently 位置:https://attic.owncloud.org/community/owncloud-10.0.2.zip [跟隨至新的 URL] --2020-06-01 15:09:18-- https://attic.owncloud.org/community/owncloud-10.0.2.zip 正在解析主機(jī) attic.owncloud.org (attic.owncloud.org)... 195.201.36.192, 2a01:4f8:c2c:5c1d::1 正在連接 attic.owncloud.org (attic.owncloud.org)|195.201.36.192|:443... 已連接。 已發(fā)出 HTTP 請求,正在等待回應(yīng)... 200 OK 長度:42123371 (40M) [application/zip] 正在保存至: “owncloud-10.0.2.zip” 100%[=========================================================================================================>] 42,123,371 232KB/s 用時(shí) 3m 14s 2020-06-01 15:12:34 (212 KB/s) - 已保存 “owncloud-10.0.2.zip” [42123371/42123371]) [root@chao tools]# ls owncloud-10.0.2.zip
[root@chao tools]# yum install -y httpd php php-mysql mariadb-server mariadb sqlite php-dom php-mbstring php-gd php-pdo wget vim
[root@chao tools]# unzip owncloud-10.0.2.zip -d /var/www/html/
[root@chao tools]# chown -R apache.apache /var/www/html/owncloud/
[root@chao tools]# systemctl start mariadb [root@chao tools]# systemctl start httpd
[root@chao tools]# setenforce 0 [root@chao tools]# systemctl stop firewalld
[root@chao tools]# mysql Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2 Server version: 5.5.56-MariaDB MariaDB Server Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> create database owncloud; Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> create user 'owncloud'@'localhost' identified by '123456'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> grant all on owncloud.* to 'owncloud'@'%'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> flush privileges; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> quit Bye
上傳成功!
原文地址: https://www.linuxprobe.com/rhel-owncloud.html
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。