I'm trying to install ownCloud server and I did the first steps ok, using the instructions of the manual. Now it's time to configure Apache web server.
Please look to the extract of the installation manual below.
My point is how to create the owncloud.conf file. I tried to do it using the graphical interface of Ubuntu, but I guess that I should to it using the terminal. What commands should I use in the terminal?
Apache Web Server Configuration¶ On Debian, Ubuntu, and their derivatives, Apache installs with a useful configuration so all you have to do is create a /etc/apache2/sites-available/owncloud.conf file with these lines in it, replacing the Directory and other filepaths with your own filepaths:
Options +FollowSymlinks AllowOverride All
SetEnv HOME /var/www/html/owncloud SetEnv HTTP_HOME /var/www/html/owncloud
If you install ownCloud outside of Apache’s DocumentRoot, then you must add an Alias directive at the top of the file. In this example ownCloud is installed in /var/www/owncloud:
Alias /owncloud "/var/www/owncloud/" Then create a symlink to /etc/apache2/sites-enabled: