Raspberry Pi:Nextcloudのセットアップ-仕組み
Raspberry PiのNextcloudで独自のクラウドサーバーをセットアップすることもできます。 この実用的なヒントでは、その方法を紹介します。
Raspberry PiでNextcloudをセットアップします-これがあなたの進め方です
- コマンド「sudo apt-get install apache2 php5 php5-gd php5-sqlite php5-curl php5-common php5-intl php-pear php5-apcu php-xml-parser libapache2-mod-php5 curl libcurl3 libcurl3-を使用して最初にダウンロードしますdev sqlite mysql-server mysql-client php5-mysql phpmyadmin -y "必要なファイルをダウンロードします。
- 次に、「cd / var / www /」でWWWディレクトリに移動し、「sudo wget //download.nextcloud.com/server/releases/latest.zip」でNextcloudからファイルをダウンロードします。 「sudo unzip latest.zip」を使用してアーカイブを解凍し、「sudo rm latest.zip」でアーカイブを削除します。
- コマンド「sudo chown -R www-data:www-data / var / www / nextcloud」は、さらにディレクトリを保護します。
- PCでRaspberry PiのIPを開き、「/ phpmyadmin」を追加します。 ここで、指示に従ってMySQLデータベースを作成する必要があります。
- 次に、ファイル「/etc/apache2/sites-available/000-default.conf」と「/etc/apache2/sites-available/000-default-le-ssl.conf」を開きます。 行「DocumentRoot / var / www / html」を「DocumentRoot / var / www / nextcloud」に調整し、最後に「Options + FollowSymlinks AllowOverride All」を追加します。
- 次に、コマンド「sudo service apache2 restart」を使用してWebサーバーを再起動します。
- Nextcloudをセットアップするには、ページに移動し、最初に管理者アカウントを作成します。 「ストレージとデータベース」をクリックして、MySQLデータも入力する必要があります。
- [セットアップを完了する]をクリックしてセットアップを完了し、Nextcloudを使用できるようになりました。
次の実用的なヒントでは、LinuxにNextcloudをインストールしてセットアップする方法を示します。