施勢帆老師的教學網站

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 895|回復: 0

install nextcloud rocky linux 9

[複製鏈接]

609

主題

619

帖子

2897

積分

管理員

Rank: 9Rank: 9Rank: 9

積分
2897
發表於 2024-5-28 13:28:23 | 顯示全部樓層 |閱讀模式
yum -y install nano

selinux要將其永久關閉,請執行下列步驟:
  • 從虛擬設備管理主控台選取Exit to Terminal。
  • 執行命令: nano /etc/selinux/config
  • 變更此行: SELINUX=permisive 至 SELINUX=disabled
  • 儲存變更並結束編輯器。
  • 使用下列命令重啟電腦以套用新設定。

Cloud Server Using Nextcloud


1.Installing And Configuring Repositories and Modules & Installing Packages
dnf -y install epel-release
dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf -y upgrade
dnf module list php
dnf module reset php
dnf module list php
dnf module enable php:remi-8.0
dnf module list php

dnf -y install httpd mariadb-server vim wget zip unzip libxml2 openssl php81-php php81-php-ctype php81-php-curl php81-php-gd php81-php-iconv php81-php-json php81-php-libxml php81-php-mbstring php81-php-openssl php81-php-posix php81-php-session php81-php-xml php81-php-zip php81-php-zlib php81-php-pdo php81-php-mysqlnd php81-php-intl php81-php-bcmath php81-php-gmp

2.Configuring
nano /etc/httpd/conf.d/nextcloud.conf
<VirtualHost *:80>
  DocumentRoot /var/www/html/
  ServerName  nextcloud.yourdomain.com
  <Directory /var/www/html/>
    Require all granted
    AllowOverride All
    Options FollowSymLinks MultiViews
    <IfModule mod_dav.c>
      Dav off
    </IfModule>
  </Directory>
</VirtualHost>

nano /etc/opt/remi/php81/php.ini
      date.timezone = Asia/Taipei
ls -al /etc/localtime

systemctl enable httpd
systemctl restart httpd
systemctl enable mariadb
systemctl restart mariadb


3.Installing
cd
wget https://download.nextcloud.com/s ... extcloud-28.0.6.zip
wget https://mouse.ee.aeust.edu.tw/Data/Program/nextcloud-28.0.6.zip
unzip nextcloud-28.0.6.zip
cd nextcloud
cp -Rf * /var/www/html/
chown -Rf apache.apache /var/www/html

http://192.168.56.131/phpmyadmin
nextcloud

http://192.168.56.131/ (replace with your actual hostname)


https://docs.nextcloud.com/server/latest/user_manual/zh_TW/contents.html
http://192.168.56.131/index.php/core/apps/recommended

cd
wget https://bin.equinox.io/c/bNyj1mQ ... ble-linux-amd64.tgz
tar xvfz ngrok-v3-stable-linux-amd64.tgz
./ngrok config add-authtoken .............................
./ngrok http 80
nano /var/www/html/config/config.php

array (
    0 => '192.168.56.131',
    1 => '2e87-120-96-57-62.ngrok-free.app',
  ),




回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|小黑屋|施勢帆老師的教學網站

GMT+8, 2024-11-22 15:54 , Processed in 0.068907 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表