How to install Owncloud server on Windows 10 (WSL)
Owncloud server is an open source cloud storage solution with multimedia playback and file sharing capabilities. Owncloud server can be installed on the Linux platform without problems, providing consistent performance and stability for the system. However, users familiar with Windows operating systems will want to install Owncloud server with Windows' IIS web server or third-party software such as XAMMP or WAMP server.
In this guide, TipsMake.com will not use any of them to install Owncloud server on Windows 10, as well as any kind of virtual machine software like Virtualbox or VMware. Instead of the traditional method, the article will use Windows subsystem for Linux (WSL) for better performance and stability. The Linux environment application that the article will use is Ubuntu. The latest version of Owncloud while this tutorial is Owncloud 10.1.0. Let's learn how to do it!
Installing Owncloud server on Windows 10 via Ubuntu
- Step 1: Activate Windows subsystem for Linux (WSL)
- Step 2: Install Ubuntu 18.04 Linux application
- Step 3: Install Apache, MySql / MariaDB plus PHP on Windows 10
- Step 4: Check the installation of Windows 10 Apache
- Step 5: Download Owncloud server through the repository on the command line
- Step 6: Create Owncloud configuration file for Apache
- Step 7: Create symbolic link (symlink) for Owncloud
- Step 8: Install additional modules
- Step 9: Create MySQL or MariaDB database for Owncloud
- Step 10: Install, set up and configure Owncloud server on Windows 10
- Step 11: Login to Owncloud server
Step 1: Activate Windows subsystem for Linux (WSL)
To enable Windows subsystem for Linux on Windows 10, go to the Search box , enter Turn Windows feature on or off , click when it appears and turn on the WSL (Windows subsystem for Linux) feature: For more information about This, please refer to the article: Running Linux on Windows 10 without a virtual machine, here are 18 things you should know.
Step 2: Install Ubuntu 18.04 Linux application
From the Windows 10 search box or from the program list, look for Microsoft Store. When the Microsoft Store opens, search for Ubuntu 18 to download and install. After installation, click the Launch button , reopen the command screen or bash Ubuntu, from which you can use all Ubuntu commands, except for some direct commands on Windows 10.
Step 3: Install Apache, MySql / MariaDB plus PHP on Windows 10
Before installing Owncloud 10.1.0. We need to set up a web server environment that is basically LAMP setup. This is the command you need to execute to install Apache, PHP and MariaDB. Copy and paste the command below by right-clicking and then pressing Enter
.
sudo apt-get install apache2 mariadb-server libapache2-mod-php7.2 sudo apt-get install php7.2-gd php7.2-json php7.2-mysql php7.2-curl php7.2-mbstring sudo apt-get install php7.2-intl php-imagick php7.2-xml php7.2-zip
Step 4: Check the installation of Windows 10 Apache
To check if the Apache server is working, visit the Windows 10 browser and enter http:/// localhost /, http://127.0.0.1/ or the IP address of your Windows 10 local computer. You can find the IP address by typing ifconfig. When you enter the IP address, the Apache test page will open. That means everything is fine and it's time to move on to the next step.
Step 5: Download Owncloud server through the repository on the command line
You can download Owncloud archive directly from its website but here, for example, is using the command line, so it would be reasonable to use the command line tool to download the Owncloud server file.
sudo -i wget -nv https://download.owncloud.org/download/repositories/production/Ubuntu_18.04/ Release.key -O Release.key apt-key add - < Release.key echo 'deb http://download.owncloud.org/download/repositories /production/Ubuntu_18.04/ /' > /etc/apt/sources.list.d/owncloud.list apt-get update apt-get install owncloud-files
The above commands will automatically download and extract Owncloud files in the Apache directory .
Step 6: Create Owncloud configuration file for Apache
Now, create a configuration file Owncloud using the following command:
nano /etc/apache2/sites-available/owncloud.conf
And then add the following lines to the configuration file to point the Apache root directory to Owncloud.
Alias /owncloud "/var/www/owncloud/" Options +FollowSymlinks AllowOverride All Dav off SetEnv HOME /var/www/owncloud SetEnv HTTP_HOME /var/www/owncloud
After adding the above lines, press Ctrl
+ O
to write the file, then press Ctrl
+ X
to save and exit.
Step 7: Create symbolic link (symlink) for Owncloud
To 'tell' Apache about Owncloud configuration, we will create a reference or symbolic link with the following command:
ln -s /etc/apache2/sites-available/owncloud.conf /etc/apache2/sites-enabled/owncloud.conf
Step 8: Install additional modules
Adding these additional modules to Owncloud works better:
a2enmod headers a2enmod env a2enmod dir a2enmod mime a2enmod unique_id
After adding modules, restart the Apache server with the command:
sudo service apache2 restart
Step 9: Create MySQL or MariaDB database for Owncloud
First of all, stop and restart MySQL / MariaDB:
sudo /etc/init.d/mysql stop sudo /etc/init.d/mysql start
Now, create a MySQL user and database for Owncloud:
sudo mysql
The example is creating a database with the name 'owncloud'. You can use some other names if you want.
CREATE DATABASE owncloud;
Now, create a user with a password and also assign all the rights of the database created above to that user. Here, the example is creating a user whose name and password is h2smedia. You can use your own username and password:
GRANT ALL ON owncloud.* to 'h2smedia'@'localhost' IDENTIFIED BY 'enter_your_password';
Flush privilege activity:
FLUSH PRIVILEGES;
Exit MySQL with the command:
exit
Step 10: Install, set up and configure Owncloud server on Windows 10
After repeating all the above steps, visit the browser and enter http:/// localhost /, http://127.0.0.1/ or the IP address of your Windows 10 local computer. Like what you did while checking whether Apache worked or not in this article.
However, this time you will see the configuration and setup screen of Owncloud server instead of the Apache screen.
Create an admin account for Windows 10 to install Owncloud. Just enter any user name and password for the same account you want to specify as an admin account.
Immediately after the admin account, you will see the storage option and the database. Click on it and select the MySQL / MariaDB tab . Then add the MySQL database details created above, ie the username and password for the database is owncloud in this case.
Finally, when you have provided all information to Owncloud, scroll down and click the Finish Setup button.
Step 11: Login to Owncloud server
After you click the Finish Setup button, Owncloud will take a few seconds to authenticate all the details provided and then give you a login page.
Log in to Owncloud server using the admin account you created above.
As you know, Owncloud also provides a client application that can be used on different operating systems to synchronize files between PC / smartphone and Owncloud server.
In the first screen that appears, click an operating system where you want to download the Owncloud client application.
In this way, readers can easily install Owncloud server on Windows 10 to achieve high performance and stability, without using any XAMMP or WAMP software.
Hope you are succesful.
You should read it
- How to install Nextcloud server on Windows 10
- Windows Subsystem for Linux is about to appear on Windows Server
- How to install Windows Subsystem for Linux 2 on Windows 10
- Instructions for installing Windows Linux Subsystem on Windows 10
- How to turn Raspberry Pi into a personal cloud server
- 4 basic difference between Windows Server and Windows Desktop
- Instructions for installing Windows Server 2016 on Windows 10
- Use IIS to set up FTP Server on Windows
May be interested
- Steps to install Microsoft SQL Server on Windows 10instructions on how to install microsoft sql server on windows 10, a database management system from microsoft. install sql server and ssms is a gui tool to support sql server manipulation
- Install Windows Server 2003 and create a backup servernetwork management documentation server 2003 as details of how to install, create a companion server in case the main server is malfunctioning, create a domain, join the client to the domain, the conection {remote desktop from the client data to server}, set adsl router parameters to server, turn off 1 working machine immediately.
- How to install the Print Server in Windows Server 2012in today's article, we will see how to install the print server, which is very important for administrators and system management.
- Install Role, configure role on Windows Server 2012like previous versions, windows server 2012 has many associated roles. roles and features are tools you need to install or enable to complete your it administration tasks, if you don't install them, you can't do anything. in this article, we will learn how to install and configure the most important roles.
- 4 basic difference between Windows Server and Windows Desktopwindows server is the operating system for servers, servers, so it will have differences compared to the windows desktop version we still see everyday. keep these in mind when you need to choose to install windows server or windows desktop. they are also important when you need to restore, repair installation.
- Create VPN Server on Windows 8no need to install any additional applications, you can easily 'turn' your computer into a vpn server if you're using windows 8. in this way, you can share data from the computer. as a simple lan system in the form of remote access. & a
- How to install Hyper-V in Windows Server 2012virtualization is one of the most important technological features. microsoft has invested in developing this feature and called it hyper-v.
- How to install DNS Server on Windows Server 2019from microsoft, the domain name system (dns) is one of the industry standard protocol sets that includes tcp / ip, along with dns client and dns server that provide name resolution services that map names to the ip addresses of computers. .
- How to turn Raspberry Pi into a personal cloud serverin this tutorial, we will show you how to turn your raspberry pi into a personal cloud server. before proceeding, make sure you've booted up your pi, have a mouse and keyboard connected, and finally the raspbian operating system installed on it.
- Install and configure Windows Home Servertoday we will introduce you to windows home server and show you how to install and configure it with other computers on your network.