Raspberry Pi: configure o Nextcloud - como funciona
Você também pode configurar seu próprio servidor de nuvem com o Nextcloud no Raspberry Pi. Nesta dica prática, mostraremos como.
Configure o Nextcloud no Raspberry Pi - é assim que você prossegue
- Primeiro faça o download usando o 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 "faça o download dos arquivos necessários.
- Em seguida, mude para o diretório WWW com "cd / var / www /" e faça o download dos arquivos do Nextcloud com "sudo wget //download.nextcloud.com/server/releases/latest.zip". Com "sudo unzip latest.zip" você descompacta o arquivo e "sudo rm latest.zip" e o remove.
- O comando "sudo chown -R www-data: www-data / var / www / nextcloud" protege adicionalmente o diretório.
- Abra o IP do seu Raspberry Pi no seu PC e adicione "/ phpmyadmin". Aqui você tem que seguir as instruções para criar um banco de dados MySQL.
- Em seguida, abra os arquivos "/etc/apache2/sites-available/000-default.conf" e "/etc/apache2/sites-available/000-default-le-ssl.conf". Ajuste a linha "DocumentRoot / var / www / html" para "DocumentRoot / var / www / nextcloud" e adicione "Opções + FollowSymlinks AllowOverride All" no final.
- Em seguida, reinicie o servidor da web com o comando "sudo service apache2 restart".
- Para configurar o Nextcloud, acesse sua página e primeiro crie uma conta de administrador. Com um clique em "Armazenamento e banco de dados", você também deve inserir os dados do MySQL.
- Clique em "Configuração completa" para finalizar a instalação e agora você pode usar o Nextcloud.
Na próxima dica prática, mostraremos como instalar e configurar o Nextcloud no Linux.