We're here to assist with any of your needs, don't hestitate to reach out.
Nextcloud is a self-hosted, open-source file syncing and sharing solution that allows you to store, edit, and share your files and data securely. With Nextcloud, you have full control over your data and can access it from anywhere using various devices.
Before installing Nextcloud, make sure you have:
Follow these steps to install Nextcloud on Ubuntu 18.04:
sudo apt update
sudo apt upgrade
sudo apt install apache2 mysql-server php libapache2-mod-php php-mysql php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mcrypt php-ldap php-zip php-curl
sudo mysql
Once in the MySQL prompt, create a new database and user:
CREATE DATABASE nextcloud;
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
FLUSH PRIVILEGES;
EXIT;
cd /tmp
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
sudo tar -xvf latest.tar.bz2 -C /var/www/html/
sudo chown -R www-data:www-data /var/www/html/nextcloud/
sudo chmod -R 755 /var/www/html/nextcloud/
sudo nano /etc/apache2/sites-available/nextcloud.conf
Add the following lines to the file:
Alias /nextcloud "/var/www/html/nextcloud/"
Options +FollowSymlinks
AllowOverride All
Dav off
SetEnv HOME /var/www/html/nextcloud
SetEnv HTTP_HOME /var/www/html/nextcloud
sudo a2ensite nextcloud.conf
sudo a2enmod rewrite
sudo systemctl restart apache2
sudo apt install certbot python3-certbot-apache
sudo certbot --apache -d your_domain.com
You can now visit your Nextcloud installation by typing your server's IP or domain name followed by "/nextcloud" in your browser.
For example, if your server's IP is "192.168.0.100", you would enter "http://192.168.0.100/nextcloud".
Follow the on-screen instructions to complete the setup.
That's it! You have successfully installed Nextcloud on Ubuntu 18.04.
What our customers say about us
Create your free account today.