3/1/2023 0 Comments Build owncloud serverYou can confirm that it is ready to use by pointing your web browser to your ownCloud installation. Make sure the permissions are correct cd /var/www/ value '' \Ĭonfigure Log Rotation FILE="/etc/logrotate.d/owncloud" Occ config:system:set trusted_domains 1 -value="$my_ip"Įcho "*/15 * * * * /var//var/spool/cron/crontabs/www-dataĮxecute these commands: occ config:system:set \ Install ownCloud occ maintenance:install \Ĭonfigure ownCloud’s Trusted Domains my_ip=$(hostname -I|cut -f1 -d ' ') Mysql -u root -e "CREATE DATABASE IF NOT EXISTS owncloud \Įnable the Recommended Apache Modules echo "Enabling Apache Modules"Ī2enmod dir env headers mime rewrite setenvif Installation Configure Apache Change the Document Root sed -i "s#html#owncloud#" /etc/apache2/sites-available/nfĬreate a Virtual Host Configuration FILE="/etc/apache2/sites-available/nf"Įnable the Virtual Host Configuration a2ensite nfĬonfigure the Database systemctl start mariadb Install the Recommended Packages apt install -y \ Install smbclient php module apt-get install -y libsmbclient-dev php-dev php-pearĮcho "extension=smbclient.so" > /etc/php/7.4/mods-available/smbclient.ini Install the Required Packages apt install -y \ Sudo -E -u www-data /usr/bin/php /var/www/owncloud//occ the helper script executable: chmod x /usr/local/bin/occ 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 |