By @nsauter.
This nextcloud installer was written in order to make it very easy for everyone to have their own and private cloud. You dont need to take care of anything. Besides your working DNS to the desired IP.
What you need:
- A DNS Name which points to your servers ip address.
- Any server which can be reached from the internet.
- A clean Ubuntu or Debian installation.
- This installer..
This installer turns a fresh Ubuntu or Debian machine into a working nextcloud server (latest version) by installing and configuring all needed components including a SSL/TLS certificate.
The main components installed are:
Secured by:
For more information on how we handle your privacy, see the security details page.
This installer will make your nextcloud data dir /data
it is recommended to have this as own partition. If its not mounted it will be generated.
-
Install git:
$ sudo apt update -y && apt install git -y
-
Clone this repository:
$ git clone https://github.com/nsauter/nextcloud-installer.git $ cd nextcloud-installer
-
Begin the installation:
$ sudo ./install.sh
-
Enter the requested infos:
Please enter your e-mail address: [email protected] Please enter your servers FQDN (e.g. nexcloud.mydomain.net): nextcloud.demo.org
-
Watch the installer doing the its thing:
Updating OS... Installing needed packages... Generating passwords... Preparing database... Generating PHP settings... Downloading & installing latest nextcloud version... Generating Nextcloud datadir and getting permissions right... Generating apache configuration... Generating SSl/TLS certificate... ###################### FINISHED INSTALLATION ###################### Now connect to "https://nextcloud.demo.org" to finish installation. Nextcloud Data Dir: /data Nextcloud Database User: nextcloud Nextcloud Database Password: Deity-Heyday*Witch Database Root Password: beefy!Bounty!nosy ATTENTION: Make sure to store those passwords in a safe location. ###################################################################