How to install owncloud

I paste owncloud to var/www, when I input :http://localhost/owncloud ,it prompts The requested URL /owncloud was not found on this server.

Hi,

installation instructions are available here:

https://doc.owncloud.org/server/latest/admin_manual/installation/index.html

If you follow one of these installation ways (the repository one is recommended for beginners) you will get a working ownCloud installation.

when I use the way of the documents,it prompts :sudo apt-get install owncloud
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
owncloud : Depends: owncloud-server (= 8.1.9-12.1) but it is not going to be installed
Recommends: owncloud-config-apache (= 8.1.9-12.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
how could I solve the question

when I use the way of the documents,it prompts :slight_smile:he following packages have unmet dependencies:
owncloud : Depends: owncloud-server (= 8.1.9-12.1) but it is not going to be installed
Recommends: owncloud-config-apache (= 8.1.9-12.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Hello,

If you are using an Ubuntu Server install, you may find that you have an html folder within /var/www

If so, then you should create a symbolic link of owncloud within /var/www/html pointing to /var/www/owncloud

Also regarding the installation, did you install the key for the repository? Also, try sudo apt-get -f install owncloud

That may fix the broken dependencies.

Hi,

you're most likely using wrong repositories here. Please choose the correct one from https://download.owncloud.org/download/repositories/stable/owncloud/

Yeah you are right !,and I have solved the question! thank you !
but I have another question ! I want to know how the encryption method of owncloud when I watch the database
I don't know what's the password mean ?

Marking this question as solved and closing it. Please create a new thread for each question for the reasons explained in: