黄色网站入口国产美女,精品国产欧美另类一区,国产一区二区美女自慰,日日摸夜夜添无码国产

選擇你喜歡的標(biāo)簽
我們會為你匹配適合你的網(wǎng)址導(dǎo)航

    確認(rèn) 跳過

    跳過將刪除所有初始化信息

    搭建私有云:owncloud

    技術(shù) 2023-06-11 17:02

    聲明:該文章由作者(夏航)發(fā)表,轉(zhuǎn)載此文章須經(jīng)作者同意并請附上出處(0XUCN)及本頁鏈接。。

    首先先把防火墻關(guān)掉

    iptables -F
    iptables -X
    iptables -Z
    setenforce 0

    ownCloud所用PHP須5.6或以上才可以,先安裝非官方源。

    [root@zwt?~]# yum -y install epel-release

    [root@zwt~]# rpm -ivh?http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

    [root@zwt~]# yum install --enablerepo=remi --enablerepo=remi-php56 php php-opcache php-devel php-mbstring php-mcrypt php-mysqlnd php-phpunit-PHPUnit php-pecl-xdebug php-pecl-xhprof php56-php-gd php56-php-fpm php-gd

    安裝apache服務(wù)。

    [root@zwt?~]# yum install httpd*

    安裝Mariadb 數(shù)據(jù)庫。

    [root@zwt?~]# yum install mariadb*

    啟動服務(wù)

    啟動Apache:

    [root@zwt?~]# systemctl start httpd

    啟動MariaDB:

    [root@zwt?~]# systemctl start mariadb

    在搭建好的lamp上部署owncloud環(huán)境,在本地已經(jīng)有下好的包owncloud-zwt0.0.4,所以通過Xshell上面的Xftp把壓縮包放進去。

    用unzip把包解壓

    [root@zwt?~]# unzip owncloud-zwt0.0.4.zip

    拷貝包內(nèi)的軟件到指定網(wǎng)頁目錄下

    [root@zwt?~]# cp -r owncloud/* /var/www/html/

    為Web服務(wù)器上文件目錄設(shè)置讀寫權(quán)限:修改權(quán)限為Apache用戶

    [root@zwt?~]# chown -R apache.apache /var/www/html/

    或者從官方網(wǎng)站下載owncloud。運行以下命令(也可以下載其他版本):

    wget https://download.owncloud.org/community/ owncloud-zwt0.0.9.tar.bz2

    解壓文件:

    tar -jxvf owncloud-7.0.0.tar.bz2 -C/var/www/html/

    創(chuàng)建數(shù)據(jù)庫

    root@zwt?~]# mysqladmin -u root password "000000"

    登陸數(shù)據(jù)庫

    [root@zwt?~]# mysql -u root -p

    Enter password:

    Welcome to the MariaDB monitor. Commands end with ; or \g.

    Your MariaDB connection id is 3

    Server version: 5.5.60-MariaDB MariaDB Server

    Copyright (c) 2000, 20zwt8, Oracle, MariaDB Corporation Ab and others.

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    MariaDB [(none)]> creat database owncloud;

    ERROR zwt064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'creat database owncloud' at line zwt

    MariaDB [(none)]> exit

    Bye

    最后重啟機器。

    [root@zwt?~]# reboot

    完成。

    關(guān)注我們

    [超站]友情鏈接:

    四季很好,只要有你,文娛排行榜:https://www.yaopaiming.com/
    關(guān)注數(shù)據(jù)與安全,洞悉企業(yè)級服務(wù)市場:https://www.ijiandao.com/

    圖庫