CentOS 7.x Owncloud installation using bitnami stack

From Notes_Wiki

Home > CentOS > CentOS 7.x > Web Based Tools > owncloud > CentOS 7.x Owncloud installation using bitnami stack

To Install owncloud using bitnami stack use following steps:

  1. Disable SELinux
  2. Either allow port 80,443 in firewall or disable firewall
  3. Ensure that there is no process listening on required ports 80 (httpd), 3306 (mariadb) etc. This is important if you are trying to upgrade from older owncloud to newer owncloud in same machine.
  4. Download installer from https://bitnami.com/stack/owncloud/installer such as https://bitnami.com/redirect/to/473445/bitnami-owncloud-10.1.0-1-linux-x64-installer.run at time of writing.
  5. Set execute permissions on downloaded file using command similar to:
    chmod +x bitnami-owncloud-10.1.0-1-linux-x64-installer.run
  6. Execute installer using command similar to './bitnami-owncloud-10.1.0-1-linux-x64-installer.run' and answer following in graphical or text wizard based on UI:
    Setup folder
    /opt/owncloud-10.1.0-1 (Use default)
    Real name
    admin
    Email ID
    saurabh@example.com
    Login
    admin
    Password and reconfirm password
    secret
    Hostname
    files.sbarjatiya.com (Very important to have proper DNS based FDQN, do not use IP)
    Configure email support
    No
    Settings
    Production (default)
    On deploy owncloud to cloud
    No / Disable
    Launch owncloud application stack
    Yes
  7. Open https://FQDN/ and login with admin:secret



Troubleshooting bitnami stack installation issue

If any bitnami stack installation fails even when:

  • SELinux is disabled
  • There is enough space in /opt
  • There is enough free RAM in system
  • perl-Data-Dumper is installed and latest version

then rebooting the system might help to resolve the installation issue.


Changing URL from /owncloud to /

To change owncloud from working at /owncloud URL and make it work directly on / instead use:

  1. Edit /opt/owncloud-<version>/apps/owncloud/conf/httpd-prefix.conf and change Alias /owncloud to Alias / at one ore more locations
  2. Edit /opt/owncloud-<version>/apps/owncloud/conf/httpd-app.conf and comment '#Include "/opt/owncloud-10.1.0-1/apps/owncloud/conf/banner.conf"' line
  3. Restart entire stack or just apache for settings to take effect



Home > CentOS > CentOS 7.x > Web Based Tools > owncloud > CentOS 7.x Owncloud installation using bitnami stack