This guide provides a straightforward approach to installing the
a Nextcloud legújabb verziójának, egy saját üzemeltetésű produktivitási platformnak a telepítéséhez az
Ubuntu server. Nextcloud Hub 6 (27.1.3) offers file hosting,
együttműködéshez, és sok egyéb funkcióhoz egy privát szerver rugalmasságával.
Prerequisites
-
A Ubuntu 20.04 LTS vagy újabb verzióját futtató szerver.
-
Alapvető jártasság a parancssor kezelésében.
Installation Process
Az alábbi lépéseket követve telepítsd a Nextcloud Hub 6 (27.1.3) verziót a Ubuntu rendszerre.
server:
Step 1: Update Your
Server
Ensure your server’s package list and the system itself are up to
date:
sudo apt update && sudo apt upgrade -y
Step 2: Install Apache
Web Server
Install Apache, which will serve your Nextcloud files:
sudo apt install apache2 -y
Step 3:
Install PHP and Required PHP Modules
A Nextcloud futtatásához PHP szükséges. Telepítsd a PHP-t a szükséges
modules:
sudo apt install php libapache2-mod-php php-mysql php-dom php-xml php-mbstring php-gd php-curl php-zip -y
Step 4: Install MariaDB
Server
Telepítsd a MariaDB adatbázis-kiszolgálót a Nextcloud adatainak tárolásához:
sudo apt install mariadb-server -y
Step 5: Create a
Database for Nextcloud
Először jelentkezz be a MariaDB parancssorba:
sudo mariadb -u root -p
Bejelentkezés után hozzon létre egy adatbázist a Nextcloudhoz és egy felhasználót a
desired credentials:
CREATE DATABASE nextcloud;
GRANT ALL PRIVILEGES ON nextcloud.* TO 'your_desired_username'@'localhost' IDENTIFIED BY 'your_desired_password';
FLUSH PRIVILEGES;
EXIT;

Step 6:
Install Unzip, and Download Nextcloud
A Nextcloud letöltése előtt győződjön meg arról, hogy az unzip telepítve van a
extract the downloaded file:
sudo apt install unzip -y
wget https://download.nextcloud.com/server/releases/nextcloud-27.1.3.zip
Step 7:
Extract Nextcloud and Set Permissions
Unzip the Nextcloud package to the web root directory and set the
correct permissions:
unzip nextcloud-27.1.3.zip -d /var/www/html/
sudo chown -R www-data:www-data /var/www/html/nextcloud/

Step 8: Configure
Apache for Nextcloud
Hozzon létre egy Apache konfigurációs fájlt a Nextcloudhoz:
sudo nano /etc/apache2/sites-available/nextcloud.conf
Szúrja be a következő konfigurációt és mentse el a fájlt:
Alias /nextcloud "/var/www/html/nextcloud/"
<Directory /var/www/html/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
Engedélyezze az új oldalt és az átírási modult:
sudo a2ensite nextcloud
sudo a2enmod rewrite
sudo systemctl restart apache2
Step
9: Complete the Installation Through the Web Interface
Open your web browser and navigate to
http://your_server_ip/nextcloud. A telepítés befejezéséhez
providing the following information:
-
Admin account details: Choose a username and
jelszó a Nextcloud rendszergazda CD fiókhoz. -
Data folder: Confirm the path to the data folder
where Nextcloud will store its files. -
Database configuration: Enter the credentials
az adatbázis felhasználóhoz és nevéhez, amelyet korábban létrehozott. Használjon
localhost for the database host unless your database is
egy másik szerveren.

After entering the details, click the Finish setup
button to complete the installation and then navigate to
http://your_server_ip/nextcloud/index.php/login if you
didn’t redirect automatically.

Most egy futó Nextcloud Hub 6 (27.1.3) példánya van az Ön
Ubuntu szerveren. Kezdje az irányítópult megismerésével és a
Nextcloud környezet konfigurálásával a személyes vagy üzleti igényeinek megfelelően. Ha
további információkra vagy támogatásra van szüksége, forduljon bizalommal az
our support team by submitting a
ticket.
Also in Initial Documents
Related guides.
Need help with something else?
Median response time under 1 hour. Real humans, not bots.