Skip to content

Where some scripts used in Nextcloud can be found

Notifications You must be signed in to change notification settings

lstavares84/nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

FAST PATH

🇬🇧 For those of you who are already familiar with this repository and just need the command line below:
🇧🇷 Para aqueles que já conhecem esse repositório e só precisam da linha de comando abaixo:

cd / && sudo apt install git -y && git clone https://github.com/lstavares84/nextcloud.git && rm nextcloud/README.md && sudo mv nextcloud/*.* / && sudo chmod +x *.sh && sudo chmod +x /nextcloud/setup-tools/*.sh && sudo ./ncdietpi.sh

ABOUT NEXTCLOUD in DietPI for Native PC (Bios/CSM)

🇬🇧 Scripts to automate the installation and configuration of Nextcloud on PCs (Not for SBC, Raspberry Pi, Orange, Rock, ect.). Written in partnership with @edsonsbj (https://github.com/edsonsbj). Thanks a lot, pal!

🇧🇷 Script que automatiza a instalação e configuração do Nextcloud em PCs (não em SBC, Raspberry Pi, Orage, Rock, etc.). Escrito em parceria com @edsonbj (https://github.com/edsonsbj). TMJ, parceiro!

🇬🇧 THIS SCRIPT WAS TESTED IN: / 🇧🇷 ESTE SCRIPT FOI TESTADO EM:

[ ] Raspberry Pi 4B+
[ ] Raspberry Pi 400
[X] PC Bios
[X] Internal Sata HDD/SSD
[X] External USB HDD/SSD  
[ ] Live USB OS
[X] OS Installed in Internal HDD/SDD
[ ] NoIp Domain
[ ] Cloudflare Domain
[X] Duckdns Domain
[ ] This script install OnlyOffice
[X] This script DOES NOT install Onlyoffice
[ ] This script formats the external HDD/SDD or Flash USB
[X] This script DOES NOT formats the external HDD/SDD or Flash USB
[ ] This script formats the external HDD/SDD or Flash USB as EXT4
[ ] This script formats the external HDD/SDD or Flash USB

STEP 1: Download DietPi Image

🔗 https://dietpi.com/#download

STEP 2: Flash Installer Image to USB Driver

🔗 Download Rufus: https://rufus.ie/pt_BR/

STEP 3: Boot and Install DietPi

🔗 Procedure: https://dietpi.com/docs/install/

STEP 4: After Installation

After the install OS the system will shutdown. Remove the flash usb, turn on PC again and follow the steps below.

image image image

⚠️ ⚠️ ⚠️ Do not install anything! Go direct to Install Option, press TAB to go to OK and press ENTER! image image image image

⚠️ ⚠️ ⚠️ Everything is done when you see this screen. image

STEP 5: Now, let's run the script that will install everything you need to run Nextcloud.

Copy and paste the command below in the screen above. It can take a while. Be patience and wait for the screen below

cd / && sudo apt install git -y && git clone https://github.com/lstavares84/nextcloud.git && rm nextcloud/README.md && sudo mv nextcloud/*.* / && sudo chmod +x *.sh && sudo chmod +x /nextcloud/setup-tools/*.sh && sudo ./ncdietpi.sh

⚠️ ⚠️ ⚠️ If... BIG IF here... the screen below shows up, choose Apache. But if it don't shows up... relax and continue. image

image

⚠️ ⚠️ ⚠️ If eveything is OK, type CONTINUE. If NOK, flash a new image and start again. image

image

image

image image image

http://192.168.0.70:81/ (not https) image

image

image

image

image

image

image

image

image

image

image

image

image

image

image

image image

image

image

After Dietpi First Boot:

cd / && wget https://raw.githubusercontent.com/lstavares84/nextcloud/master/nextcloud-dietpi.sh -O nextcloud-dietpi.sh && chmod +x nextcloud-dietpi.sh && ./nextcloud-dietpi.sh