Raspberry Pi: הגדר את Nextcloud - איך זה עובד
אתה יכול גם להגדיר שרת ענן משלך באמצעות Nextcloud ב- Raspberry Pi. בטיפ המעשי הזה נראה לך איך.
הגדר את Nextcloud ב- Raspberry Pi - כך אתה ממשיך
- הורד תחילה בעזרת הפקודה "sudo apt-get להתקין 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" והוסף בסוף "Options + FollowSymlinks AllowOrride All" בסוף.
- לאחר מכן הפעל מחדש את שרת האינטרנט שלך עם הפקודה "sudo service apache2 restart".
- כדי להגדיר את Nextcloud, עבור לדף שלך וצור תחילה חשבון מנהל. בלחיצה על "אחסון ומסד נתונים" עליך להזין גם את נתוני MySQL.
- לחץ על "הגדרה מלאה" כדי לסיים את ההתקנה ותוכל כעת להשתמש ב- Nextcloud.
בטיפ המעשי הבא, נראה לך כיצד להתקין ולהגדיר את Nextcloud ב- Linux.