Raspberry Pi: configura Nextcloud: come funziona
Puoi anche configurare il tuo server cloud con Nextcloud su Raspberry Pi. In questo suggerimento pratico ti mostreremo come.
Configura Nextcloud su Raspberry Pi: ecco come procedere
- Primo download usando il comando "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 "scarica i file richiesti.
- Quindi passare alla directory WWW con "cd / var / www /" e scaricare i file da Nextcloud con "sudo wget //download.nextcloud.com/server/releases/latest.zip". Con "sudo unzip latest.zip" decomprimere l'archivio e "sudo rm latest.zip" lo rimuove.
- Il comando "sudo chown -R www-data: www-data / var / www / nextcloud" protegge ulteriormente la directory.
- Apri l'IP di Raspberry Pi sul tuo PC e aggiungi "/ phpmyadmin". Qui devi seguire le istruzioni per creare un database MySQL.
- Quindi aprire i file "/etc/apache2/sites-available/000-default.conf" e "/etc/apache2/sites-available/000-default-le-ssl.conf". Regola la riga "DocumentRoot / var / www / html" su "DocumentRoot / var / www / nextcloud" e aggiungi "Opzioni + SeguiSymlink AllowOverride All" alla fine.
- Quindi riavviare il server Web con il comando "sudo service apache2 restart".
- Per configurare Nextcloud, vai alla tua pagina e prima crea un account amministratore. Con un clic su "Archiviazione e database" è necessario inserire anche i dati MySQL.
- Fare clic su "Installazione completa" per completare l'installazione e ora è possibile utilizzare Nextcloud.
Nel prossimo consiglio pratico, ti mostreremo come installare e configurare Nextcloud su Linux.