Raspberry Pi: Nastavite Nextcloud - kako deluje
Na Raspberry Pi lahko nastavite tudi svoj strežnik v oblaku z Nextcloudom. V tem praktičnem nasvetu vam bomo pokazali, kako.
Nastavite Nextcloud na Raspberry Pi - tako boste nadaljevali
- Najprej prenesite z ukazom "sudo apt-get install apache2 php5 php5-gd php5-sqlite php5-curl php5-common php5-intl php-pearl php5-apcu php-xml-parser libapache2-mod-php5 curl libcurl3 libcurl3- dev sqlite mysql-server mysql-odjemalec php5-mysql phpmyadmin -y "prenesite potrebne datoteke.
- Nato preklopite v imenik WWW z "cd / var / www /" in datoteke prenesite iz Nextcloud s "sudo wget //download.nextcloud.com/server/releases/latest.zip". Z "sudo unzip latest.zip" arhivirate arhiv in "sudo rm latest.zip" ga nato odstrani.
- Ukaz "sudo chown -R www-data: www-data / var / www / nextcloud" dodatno zavaruje imenik.
- V računalniku odprite IP svojega Raspberry Pi in dodajte "/ phpmyadmin". Tukaj morate upoštevati navodila za ustvarjanje baze podatkov MySQL.
- Nato odprite datoteke "/etc/apache2/sites-available/000-default.conf" in "/etc/apache2/sites-available/000-default-le-ssl.conf". Prilagodite vrstico "DocumentRoot / var / www / html" na "DocumentRoot / var / www / nextcloud" in na koncu dodajte "Options + FollowSymlinks AllowOverride All".
- Nato znova zaženite spletni strežnik z ukazom "sudo service apache2 restart".
- Če želite nastaviti Nextcloud, pojdite na svojo stran in najprej ustvarite skrbniški račun. S klikom na "Storage and Database" morate vnesti tudi podatke MySQL.
- Za zaključek namestitve kliknite »Dokončana namestitev« in zdaj lahko uporabite Nextcloud.
V naslednjem praktičnem nasvetu vam bomo pokazali, kako namestiti in nastaviti Nextcloud v Linuxu.