NextCloud: mudanças entre as edições

De Wiki Projeto Root
Ir para navegação Ir para pesquisar
(Criou página com '== Sobre == Olá! Visitante, reunimos aqui, informações sobre a ferramenta NextCloud, esta ferramenta possibilita a criação de um sistema de compartilhamento de arquivos b...')
 
Linha 11: Linha 11:
== Vídeo ==
== Vídeo ==


<embedvideo service="youtube"></embedvideo>
<embedvideo service="youtube">https://youtu.be/N1gQB3RdDrc</embedvideo>
 
https://youtu.be/N1gQB3RdDrc


== Arquitetura PCX86 e PCX86_64 ==
== Arquitetura PCX86 e PCX86_64 ==

Edição das 16h46min de 2 de junho de 2018

Sobre

Olá! Visitante, reunimos aqui, informações sobre a ferramenta NextCloud, esta ferramenta possibilita a criação de um sistema de compartilhamento de arquivos baseado nos modelos de Nuvem, ou seja, você pode compartilhar arquivos como os serviços oferecidos pelo DropBox, Google Drive e diversos outros, além de ter acesso a muitos recursos e AddOns que deixam a ferramenta com suporte a diversas funções.



Site Oficial: https://nextcloud.com/

Doc: https://docs.nextcloud.com/server/13/admin_manual/contents.html

Vídeo

https://youtu.be/N1gQB3RdDrc

Arquitetura PCX86 e PCX86_64

Instalando dependências

 apt-get install apache2 mariadb-server php7.0-xml php7.0 libapache2-mod-php7.0 php7.0-cgi php7.0-cli php7.0-gd php7.0-curl php7.0-apcu php7.0-zip php-ldap php7.0-mysql php7.0-mbstring memcached wget unzip

Configurando BD (MariaDB)

 mysql_secure_installation


 mysql -u root -p


  CREATE DATABASE nextclouddb;
  CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY 'senhasegura';
  GRANT ALL PRIVILEGES ON nextclouddb.* TO 'nextcloud'@'localhost';
  FLUSH PRIVILEGES;
  QUIT


Baixando NextCloud

 wget https://download.nextcloud.com/server/releases/latest.zip

Extração e Ajustes de pastas

 rm -rf /var/www/html/index.html
 unzip latest.zip
 mv nextcloud /var/www/html/
 chown -R www-data:www-data /var/www/html/nextcloud


Criar arquivo de Conf

 nano /etc/apache2/sites-available/nextcloud.conf
 <VirtualHost *:80>
 ServerAdmin [email protected]
 DocumentRoot "/var/www/html/nextcloud"
 ServerName nextcloud
 <Directory "/var/www/html/nextcloud/">
 Options MultiViews FollowSymlinks
 
 AllowOverride All
 Order allow,deny
 Allow from all
 </Directory>
 TransferLog /var/log/apache2/nextcloud_access.log
 ErrorLog /var/log/apache2/nextcloud_error.log
 </VirtualHost>

Ajustando apache

 a2dissite 000-default
 a2ensite nextcloud
 systemctl restart apache2

Utilizando o OPCache

 nano /etc/php/7.0/apache2/php.ini
 opcache.enable=1
 opcache.enable_cli=1
 opcache.interned_strings_buffer=8
 opcache.max_accelerated_files=10000
 opcache.memory_consumption=128
 opcache.save_comments=1
 opcache.revalidate_freq=1
 nano /var/www/html/nextcloud/config/config.php
 'memcache.local' => '\OC\Memcache\APCu',


Instalando Cliente (outro computador/vm/mobile)

  • PC

Linux(Debian/Ubuntu)

 add-apt-repository ppa:nextcloud-devs/client
 apt-get update -y
 apt-get install nextcloud-client -y
 Windows: https://download.nextcloud.com/desktop/releases/Windows/Nextcloud-2.3.3.1-setup.exe
 MacOS: https://download.nextcloud.com/desktop/releases/Mac/Installer/Nextcloud-2.3.3.84.pkg
  • Mobile
 Android: https://play.google.com/store/apps/details?id=com.nextcloud.client
 Iphone: https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8
 Windows: https://www.microsoft.com/store/apps/9nblggh532xq


Arquitetura ARM - Raspberry PI 3

  *Em Breve