Nextcloud on Oracle free tier.
Prerequisite
You'll need an account at https://cloud.oracle.com/ and a domain name.
Server Setup
Get started > Launch ressources > create a VM instance
Name the instance
Change image to Cannonical Ubuntu 20.04
Change shape to Ampere, increase CPU and RAMCreate SSH key with Putty or Mobaxterm.
Copy the SSH key and save private and public key to a folder on computer.
Paste key in filed in Oracle.
Specify a custom boot volume. Oracle free tier offers 200Go space.
Hit create, and create again.
Copy public ip address
Go to your domain DNS manager
Add A Record, host: @, IP: oracle public ip address
Add A Record, host: hcp, IP: oracle public ip address
Add A Record, host: cloud (or whatever), IP: oracle public ip address
Go to putty
ubuntu@ipaddress
SSH > Auth > Private key path
Save and open
Control Panel Install
Change to sudo
sudo su -
Get the install script
wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
Important - CHANGE THE NEXT LINE TO USE YOUR OWN DETAILS, recommend using a subdomain like 'hcp' for your panel as I've done here
bash hst-install.sh --interactive no --email admin@example.com --password exampledemopassword --hostname hcp.example.com -f
It takes 10 to 15 minutes top complete. So take the exstra time to setup ports. You'll reboot after the install.
Ports setup
Go to Oracle dashboard > Virtual Cloud Network > Subnet > Default Security List > Add Ingress Rules
Source CIDR is : 0.0.0.0/0
Designated port range : 8083,80,443,143,993,110,995,25,465,587
Description : Hestia
> Add ingress rules
Nextcloud Install
Once Hestia is installed, scroll up and copy creditentials
reboot
Then go to hcp.yourdomain.tld:8083
Use creditentials admin
exampledemopassword
Create new user
Login as new user
Add Web domain
cloud.yourdomain.tld
Edit
Enable SSL, Use let's encrypt, enable HTTPS, Enable HSTS
Save
Click on domain name > Quick install app > Nextcloud > fill creditentials > install
PHP Settings
Log back to admin in Hestia > Settings (top right corner) > Configure > Web server > Click pencil > Configure PHP
max_execution_time
300 |
max_input_time
600 |
memory_limit
512M |
post_max_size
100M |
upload_max_filesize
2000M |
Then, save
Go to cloud.yourdomain.tld and you're setup 😊
No Comments