filmov
tv
Nextcloud Setup: Complete Tutorial (2024 Edition)
Показать описание
Below you will find the content that needs to be copied and pasted into your terminal window. Note that you will have to replace all angled brackets, such as < or > with the ones on your keyboard. The ones I have used for this description are special characters due to technical reasons.
1)
apt install php8.3-gd php8.3-mysql php8.3-curl php8.3-mbstring php8.3-apcu php8.3-intl php8.3-gmp php8.3-bcmath php8.3-xml libapache2-mod-php8.3 php8.3-zip php8.3-bz2 imagemagick php-imagick redis-server php-redis php8.3-redis
2)
<VirtualHost *:80>
DocumentRoot /var/www/nextcloud
<Directory /var/www/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
RewriteEngine On
</Directory>
</VirtualHost>
3)
'trusted_domains' =>
array(
0 => ‘192.168.1.187’,
2 => ‘localhost’,
),
4)
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
),
5)
‘maintenance’ => false,'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\TXT',
1 => 'OC\\Preview\\MarkDown',
2 => 'OC\\Preview\\OpenDocument',
3 => 'OC\\Preview\\PDF',
4 => 'OC\\Preview\\MSOffice2003',
5 => 'OC\\Preview\\MSOfficeDoc',
6 => 'OC\\Preview\\Image',
7 => 'OC\\Preview\\Photoshop',
8 => 'OC\\Preview\\TIFF',
9 => 'OC\\Preview\\SVG',
10 => 'OC\\Preview\\Font',
11 => 'OC\\Preview\\MP3',
12 => 'OC\\Preview\\Movie',
13 => 'OC\\Preview\\MKV',
14 => 'OC\\Preview\\MP4',
15 => 'OC\\Preview\\AVI',
16 => 'OC\\Preview\\HEIC',
),
1)
apt install php8.3-gd php8.3-mysql php8.3-curl php8.3-mbstring php8.3-apcu php8.3-intl php8.3-gmp php8.3-bcmath php8.3-xml libapache2-mod-php8.3 php8.3-zip php8.3-bz2 imagemagick php-imagick redis-server php-redis php8.3-redis
2)
<VirtualHost *:80>
DocumentRoot /var/www/nextcloud
<Directory /var/www/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
RewriteEngine On
</Directory>
</VirtualHost>
3)
'trusted_domains' =>
array(
0 => ‘192.168.1.187’,
2 => ‘localhost’,
),
4)
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
),
5)
‘maintenance’ => false,'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\TXT',
1 => 'OC\\Preview\\MarkDown',
2 => 'OC\\Preview\\OpenDocument',
3 => 'OC\\Preview\\PDF',
4 => 'OC\\Preview\\MSOffice2003',
5 => 'OC\\Preview\\MSOfficeDoc',
6 => 'OC\\Preview\\Image',
7 => 'OC\\Preview\\Photoshop',
8 => 'OC\\Preview\\TIFF',
9 => 'OC\\Preview\\SVG',
10 => 'OC\\Preview\\Font',
11 => 'OC\\Preview\\MP3',
12 => 'OC\\Preview\\Movie',
13 => 'OC\\Preview\\MKV',
14 => 'OC\\Preview\\MP4',
15 => 'OC\\Preview\\AVI',
16 => 'OC\\Preview\\HEIC',
),
Комментарии