NetShop ISP offers OwnCloud as a Virtual Private Server (VPS) or you can install it on a Bare-metal Dedicated Server. owncloud Get OwnCloud as Virtual or Dedicated Server Select all the commands below and just copy-paste to the terminal. value '' \Įxecute this command to set up log rotation. echo "*/15 * * * * /var/Configure Caching and File Locking Additionally, you get a log file in /var/log/ldap-sync/user-sync.log for debugging. Every 15 minutes this cron job will sync LDAP users in ownCloud and disable the ones who are not available for ownCloud. If you need to sync your users from an LDAP or Active Directory Server, add this additional Cron job. Set your background job mode to cron: occ background:cron echo "*/15 * * * * /var/www/owncloud/occ system:cron" \Ĭhown www-data.crontab /var/spool/cron/crontabs/www-dataĬhmod 0600 /var/spool/cron/crontabs/www-data Occ config:system:set trusted_domains 1 -value="$myip" 7. Configure ownCloud’s Trusted Domains myip=$(hostname -I|cut -f1 -d ' ') Enable the Recommended Apache Modules echo "Enabling Apache Modules"Ī2enmod dir env headers mime rewrite setenvif Configure the Database mysql -u root -e "CREATE DATABASE IF NOT EXISTS owncloud \ Enable the Virtual Host Configuration a2ensite nf FILE="/etc/apache2/sites-available/nf"ĮOM 2. Change the Document Root sed -i "s#html#owncloud#" /etc/apache2/sites-available/nf We are ready, now, to proceed with OwnCloud Installation. Note : php 7.4 is the default version installable with Ubuntu 20.04 Install the Recommended Packages Sudo -E -u www-data /usr/bin/php /var/www/owncloud/occ the helper script executable: chmod x /usr/local/bin/occ Install the Required Packages To do so, follow the instructions below: apt update
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |