Raspberry Pi: Настройте Nextcloud - как работи
Можете също така да настроите свой собствен облачен сървър с Nextcloud на Raspberry Pi. В този практичен съвет ще ви покажем как.
Настройте Nextcloud на Raspberry Pi - така продължавате
- Първо изтеглете с помощта на командата "sudo apt-get install apache2 php5 php5-gd php5-sqlite php5-curl php5-common php5-intl php-pear php5-apcu php-xml-parser libapache2-mod-php5 curl libcurl3 libcurl3- dev sqlite mysql-server mysql-client php5-mysql phpmyadmin -y "изтеглете необходимите файлове.
- След това преминете към WWW директорията с "cd / var / www /" и изтеглете файловете от Nextcloud с "sudo wget //download.nextcloud.com/server/releases/latest.zip". С „sudo unzip latest.zip“ разархивирайте архива и „sudo rm latest.zip“ след това го премахва.
- Командата "sudo chown -R www-data: www-data / var / www / nextcloud" допълнително защитава директорията.
- Отворете IP адреса на вашия Raspberry Pi на вашия компютър и добавете "/ phpmyadmin". Тук трябва да следвате инструкциите за създаване на MySQL база данни.
- След това отворете файловете "/etc/apache2/sites-available/000-default.conf" и "/etc/apache2/sites-available/000-default-le-ssl.conf". Нагласете реда "DocumentRoot / var / www / html" към "DocumentRoot / var / www / nextcloud" и добавете "Опции + FollowSymlinks AllowOverride All" в края.
- След това рестартирайте вашия уеб сървър с командата "sudo service apache2 restart".
- За да настроите Nextcloud, отидете на страницата си и първо създайте администраторски акаунт. С щракване върху „Съхранение и база данни“ трябва също да въведете MySQL данни.
- Кликнете върху „Завършване на настройката“, за да завършите настройката и вече можете да използвате Nextcloud.
В следващия практичен съвет ще ви покажем как да инсталирате и настроите Nextcloud на Linux.