There are two AUR packages for ownCloud 2:
- Copy ownCloud to Apache‘s server directory: /srv/www/htdocs
- Give the web server the necessary permissions:
sudo chown -R wwwrun owncloud
- If you are not a “sudo’er” then you have to become root and execute:
chown -R wwwrun owncloud in the directory.
- (If you’re using mysql, you have to set the database character set to something else then utf-8, for example latin1 otherwise some keys will be to long for mysql)
- Open the folder in a browser and complete the setup wizard
If have followed the steps above and want to try it out, run this command in a terminal to start Apache if it’s not already running:
sudo /etc/init.d/apache2 start
- Go to http://127.0.0.1/owncloud/index.php and set it up. Hit the enter key to submit the details in the form.
SLES and openSUSE rpm packages build in ownCloud 2.0.1 openSUSE Build Service
Make sure SELinux is disabled or else the installation process will fail with the following message: ” Config file (config/config.php) is not writable for the webserver”.
- If you already have a website running from Document Root but would still like to install OwnCloud you can use a Name-based virtual host entry and subdomain.
- Edit your DNS record following this example: point owncloud.foo.com > ip.ip.ip.ip
- Create a new file in /etc/httpd/conf/ and call it owncloud.conf.
- You can use the following as an example:
Alias /owncloud /var/www/owncloud/
allow from all
CustomLog logs/owncloud.foo.info-access_log common
- Now edit your httpd.conf file which is usually located in /etc/httpd/conf/httpd.conf
- Add the following to the bottom:
- Restart apache and now when you point your browser to owncloud.foo.com it should properly load without disturbing foo.com
Basically do everything like for a standard web server (see above).
chown -R apache:apache owncloud
Allow .htaccess, modify
and make sure this is in
Options Indexes FollowSymLinks MultiViews
allow from all
Tutorial: ownCloud, installation and setup
- Install MAMP and run it.
- Go to ‘Preferences ? Apache’ and set ‘Document Root’ to
/Users/<YOUR USER NAME>/Sites, so your Sites directory will be used as Apache root.
- Download ownCloud
- Move it to
~/Sites and extract it:
tar xfpj owncloud-1.2.tar.bz2
- Now you can set it up by going to http://localhost:8888/owncloud
Tutorial: ownCloud on OpenWrt