Vaarika Pi: seadke Nextcloud üles - kuidas see töötab
Samuti saate Raspberry Pi abil Nextcloudiga oma pilveserveri seadistada. Selles praktilises näpunäites näitame teile, kuidas.
Seadke Nextcloud vaarikapi küljele - nii saate toimida
- Esmalt laadige alla käsuga "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 "laadige alla vajalikud failid.
- Seejärel muutke WWW-kataloogi "cd / var / www /" abil ja laadige failid Nextcloudist alla sudo wget //download.nextcloud.com/server/releases/latest.zip abil. Rakendusega "sudo unzip latest.zip" pakkige arhiiv lahti ja "sudo rm latest.zip" eemaldatakse see.
- Käsklus "sudo chown-R www-data: www-data / var / www / nextcloud" turvab ka kataloogi.
- Avage oma arvutis Raspberry Pi IP ja lisage "/ phpmyadmin". MySQL-i andmebaasi loomiseks peate siin järgima juhiseid.
- Seejärel avage failid "/etc/apache2/sites-avable/000-default.conf" ja "/etc/apache2/sites-avable/000-default-le-ssl.conf". Reguleerige rida "DocumentRoot / var / www / html" väärtuseks "DocumentRoot / var / www / nextcloud" ja lisage lõppu "Valikud + FollowSymlinks AllowOverride All".
- Seejärel taaskäivitage veebiserver käsuga "sudo service apache2 restart".
- Nextcloudi seadistamiseks minge oma lehele ja looge kõigepealt administraatori konto. Klõpsuga nupul "Storage and Database" peate sisestama ka MySQL andmed.
- Seadistamise lõpetamiseks klõpsake "Lõpeta seadistamine" ja saate nüüd kasutada Nextcloud.
Järgmises praktilises näpunäites näitame teile, kuidas Nextcloud Linuxisse installida ja seadistada.