As we see in owncloud.org -> install - there are several options for installation - an archive file, a web installer and packages for various systems.
I decided to install the package to be able to put updates and to automatically satisfying the dependencies. For Debian 7.0, you must first run the following commands (as root, of course):
Добавим ключ репозитория:
wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key
apt-key add - < Release.key
Enable the repository, update the information about the packages and install:
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list
aptitude update
aptitude install owncloud
(you can use apt-get instead of aptitude)
As I thought - quite a lot of packages were in dependencies, so this is the best way to install ownCloud.
There are a few simple steps left:
mkdir /home/backup/ownCloudData
chown www-data: /home/backup/ownCloudData
It is usually recommended to create a user and database in Mysql. But this is for large installations. In my case, this was necessary for several people, so the sqlite database is sufficient.
it's all!