0% found this document useful (0 votes)
38 views2 pages

Create Database Nextcloud

Create Database Nextcloud

Uploaded by

Tatang Smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views2 pages

Create Database Nextcloud

Create Database Nextcloud

Uploaded by

Tatang Smith
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

CREATE DATABASE nextcloud;

CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'password';


GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

│ ╤ IPv4 CONFIGURATION <Manual> <Hide> ▒│


│ │ Addresses 10.63.23.100/27__________ <Remove> ▒│
│ │ <Add...> ▒│
│ │ Gateway 10.63.23.97______________ ▒│
│ │ DNS servers 10.63.16.1_______________ <Remove> ▒│
│ │ <Add...> ▒│
│ │ Search domains <Add...> ▒│
│ │

wget https://download.nextcloud.com/server/releases/latest.tar.bz2
sudo tar -xvf latest.tar.bz2 -C /var/www/html/
sudo chown -R apache:apache /var/www/html/nextcloud

sudo dnf install php php-ctype php-curl php-dom php-fileinfo php-filter php-gd
php-hash php-json php-libxml php-mbstring php-openssl php-posix php-session php-
simplexml php-xmlreader php-xmlwriter php-zip php-zlib php-pdo_sqlite php-pdo_mysql
php-pdo_pgsql php-bz2 php-intl php-ldap php-ftp php-bcmath php-gmpphp php-mysqlnd
php-json php-gd php-curl php-mbstring php-intl php-xml php-zip

sudo dnf install php php-ctype php-curl php-dom php-fileinfo php-filter php-gd
php-hash php-json php-libxml php-mbstring php-openssl php-posix php-session php-
simplexml php-xmlreader php-xmlwriter php-zip php-zlib php-pdo_sqlite php-pdo_mysql
php-pdo_pgsql php-bz2 php-intl php-ldap php-ftp php-bcmath php-mysqlnd php-json
php-gd php-curl php-mbstring php-intl php-xml php-zip

# Once logged in to the MariaDB shell, run the following commands:


CREATE DATABASE nextcloud;
CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'your_password';
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';
FLUSH PRIVILEGES;
EXIT;

CREATE USER syseng WITH PASSWORD 'password';


GRANT ALL PRIVILEGES ON DATABASE nextcloud TO syseng;

'memcache.local' => '\\OC\\Memcache\\APCu',


'memcache.distributed' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '10.63.23.104',
'port' => '6379',
'timeout' => 0.0,
),

test
TestPassword2023!!

sudo dnf install php:remi-8.0-php-redis


extension=redis.so

'trusted_domains' =>
[
'10.63.23.103',
'10.63.23.105',
],

frontend my_frontend
bind *:80
default_backend my_backend

backend my_backend
server my_server 10.63.23.101:80 # IP address and port to forward requests to

You might also like