How to install Nextcloud on Windows 11
Nextcloud is a free and open-source cloud storage and collaboration platform that allows users to store, share and access files and documents from anywhere. In this tutorial, we will guide you through the installation process of Nextcloud on Windows 11.
Prerequisites
- A Windows 11 computer with administrative rights.
- A web server with PHP 7.4 or later installed. We recommend using XAMPP or WAMP for this purpose.
- A MySQL or MariaDB database server.
Step 1: Download Nextcloud
Visit the Nextcloud website at https://nextcloud.com/ and click on the "Download for server" button.
Select the Windows version of the software and click on the "Download Now" button.
Save the downloaded file to your computer.
Step 2: Install a web server
If you have not already installed a web server on your computer, you can use XAMPP or WAMP for that purpose.
Installing XAMPP
Download XAMPP from https://www.apachefriends.org/download.html.
Run the downloaded file and follow the installation wizard.
During the installation process, you will be prompted to select the components you want to install. By default, the Apache, MySQL, and PHP components will be selected.
Once the installation is complete, start the Apache and MySQL services.
Installing WAMP
Download WAMP from https://www.wampserver.com/en/.
Run the downloaded file and follow the installation wizard.
During the installation process, you will be prompted to select the components you want to install. By default, the Apache, PHP, and MySQL components will be selected.
Once the installation is complete, start the Apache and MySQL services.
Step 3: Configure the database
Open your web browser and navigate to http://localhost/phpmyadmin/.
Click on the "New" button to create a new database.
Enter a name for the database and click on the "Create" button.
Next, click on the "Privileges" tab and then click on the "Add user account" button.
Enter a username and password for the new user account and make sure the "Grant all privileges on database" option is selected.
Click on the "Go" button to save the changes.
Step 4: Install Nextcloud
Open the Nextcloud archive that you downloaded in step 1.
Extract the contents of the archive to the htdocs directory of your web server.
For XAMPP, the htdocs directory is located in C:/xampp/htdocs/.
For WAMP, the htdocs directory is located in C:/wamp64/www/.
Open your web browser and navigate to http://localhost/nextcloud.
The Nextcloud setup wizard will load. Follow the on-screen instructions to complete the installation process.
When prompted for the database details, enter the following:
- Database user: The username you created in step 3.
- Database password: The password for the database user.
- Database name: The name of the database you created in step 3.
- Database host: localhost
Once the installation is complete, create an admin account and set up the storage location.
Congratulations! You have successfully installed Nextcloud on Windows 11.
Conclusion
In this tutorial, we have shown you how to install Nextcloud on Windows 11. By following these steps, you can set up your own cloud storage and collaboration platform for your personal or professional use.