Install Nextcloud on Windows with WSL2

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign to be retro today we're going to take a look at installing nexcloud on Windows using WSL to begin launch Powershell as administrator then we'll run commands to enable the WSL and virtual machine platform Windows features when prompted type y to reboot the host for the feature installs to complete once the reboot completes log back in and launch Powershell as administrator to continue with the steps next we'll enable the virtual machine platform feature now that it's installed set WSL to version 2. then we'll download the kernel update for WSL and install it click next then finish to install the kernel update launch the Microsoft Store and install the flavor of Linux you'd like to run on WSL I'll be installing Debian in this example once you've located your distro click the get button and it will be downloaded and installed in WSL once the download completes click open wait while the Linux distro is initialized then when prompted enter a username and enter and confirm a password we now have a Linux distro running in WSL so we're ready to start the next Cloud installation we'll Begin by running sudo apt update in sudo app upgrade to install any available software updates [Music] then we'll use the APT install command to install a few prerequisite packages now install the Apache 2 web server and mariadb database backend followed by installing PHP and the required PHP modules start the newly installed mariadb service then Elevate to a root shell using sudo Su and execute the MySQL secure installation script follow the prompts to set a root MySQL password and mitigate known MySQL vulnerabilities foreign next we'll connect to the database using the MySQL command line utility then using SQL commands we'll create a new database as well as a service account with full permissions to the new database we'll flush MySQL privileges close the MySQL connection and exit the root shell next we'll use wget to download the latest release of nexcloud then extract it to the VAR www directory we'll set ownership of the next Cloud directory to the www data group then create a new Apache site configuration for nextcloud copy the configuration from the video description then save the changes and close out of Nano now we'll enable the new Apache 2 site configuration as well as the required modules then we'll restart the Apache 2 service for the changes to take effect if you receive prompts from the Windows Firewall allow access open a web browser and navigate to the DNS or IP address of the host slash nextcloud create a next Cloud admin account by entering a username and password then scroll down and using the video description as a guide complete the database configuration form once the form is completed scroll down and click the install button after several minutes of installing will be redirected to a recommended apps page used to install them or skip if you'd rather not welcome to nexcloud running on Windows via WSL thank you
Info
Channel: i12bretro
Views: 6,481
Rating: undefined out of 5
Keywords: Apache, Apache HTTPD, Browser Based, Cloud Solution, Debian, Free Software, HTTPD, Home Lab, Home Lab Ideas, How To, How To Install WSL, Install Guide, LAMP, Linux, Linux On Windows, MariaDB, MySQL, Nextcloud, PHP, PHP Application, PHP Software, Self-Hosted, Subsystem, Tutorial, WSL, WSL Installation Guide, Web Based, Web Based Tools, Web Server, Windows, Windows Subsystem For Linux, i12bretro
Id: W4AjWkWnETU
Channel Id: undefined
Length: 4min 31sec (271 seconds)
Published: Sat Apr 22 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.