Setup nextcloud server10 » Historie » Revision 3
Revision 2 (Jeremias Keihsler, 18.03.2017 12:53) → Revision 3/4 (Jeremias Keihsler, 18.03.2017 16:31)
h1. Install Procedure for NextCloud-Server 10.x h2. Requirements To install NextCloud-Server 10.x you will need the following: * a installed and supported operating system (e.g. CentOS 7.x minimal) * root-access * a fast internet connection * repo: [[repo_epel|EPEL]] * [[setup_apache|Apache]] * [[setup_mariadb|MariaDB]] h2. Preliminary Note this how-to assumes the machine with a vanilla CentOS 7.x minimal installation. h2. Install <pre><code class="bash"> yum install wget </code></pre> <pre><code class="bash"> yum install nextcloud-httpd nextcloud-mysql </code></pre> if you want https:// <pre><code class="bash"> yum install mod_ssl </code></pre> h2. Setup h3. Create nextcloud-DB <pre><code class="bash"> mysql -u root -p create database nextcloud; grant all on nextcloud.* to 'nextcloud-user'@'localhost' identified by 'nextcloud-user-password'; </code></pre> h3. run nextcloud-cron-job <pre> # JKE 2017-03-03 # # minute hour day month dayofweek # +---------min (0-59) # | +-------hour (0-23) # | | +-----day of month (1-31) # | | | +---month (1-12) # | | | | +-day of week (0-7) sunday=0 of 7 # | | | | | # - - - - - # m h d m d # */15 * * * * apache /usr/bin/php /usr/share/nextcloud/cron.php </pre> h2. Firewall <pre><code class="bash"> firewall_cmd --permanent --zone=public --add-service=http firewall_cmd --permanent --zone=public --add-service=https </code></pre> h2. Test h2. Troubleshoot h3. Blocked in Maintenance-Mode after upgrade basically taken from https://github.com/owncloud/core/issues/17440 <pre><code class="bash"> cd /usr/share/owncloud sudo -u apache php occ maintenance:mode --off sudo -u apache php occ upgrade </code></pre> did it for me (upgrade to Owncloud 8.0.10 @ 2016-02-29) <pre><code class="bash"> sudo -u apache php occ maintenance:repair </code></pre> may be of additional help