You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
.install_templates | 3 years ago | |
README.md | 3 years ago | |
install.sh | 3 years ago | |
publish.sh | 3 years ago | |
release | 3 years ago | |
ssl.sh | 3 years ago |
README.md
Automatic install of Nextcloud on Debian 8/9/10
Use
Set good variables for your use case at the beginning of install.sh:
nc_domain="" # Votre nom de domaine pour votre nextcloud. Si vide il prendra le premier argument que vous passerez, sinon le hostname de votre machine
nc_port=80 # Numéro de port d'écoute de nginx
admin_user="admin" # Le pseudo du compte admin
admin_pass="admin" # Le mot de passe que vous désirez pour le compte admin
db_pass="" # Le mot de passe que vous désirez pour MariaDB. Si vide, un mot de passe aléatoire sécurisé sera choisi
isSSL=false # true si nextcloud et nginx doivent être configuré en https
configMaria=auto # Mettez manual ou auto, attention auto est expérimental et vraiment pas recommendé
p2env=false # true si vous êtes dans un environnement p2p.legal
Then:
chmod u+x install.sh
./install.sh
You can change the ssl state of your instance after the installation if you need. Just execute ssl.sh:
./ssl.sh
If you prefere, you can download this script directly via:
wget https://dev-nextcloud.p2p.legal/installeur/install-nextcloud.tar.gz
tar -zxvf install-nextcloud.tar.gz
./install.sh 2>&1 | tee loginstall.log