![]() ![]() Restorecon '/home/-data'įor the Nextcloud config and app directory. Semanage fcontext -a -t httpd_sys_rw_content_t '/home/-data' Now change to the webservers root directory and download Nextcloud it with:Įxtract the download archive to the Nexcloud installation folder. SSLCertificateChainFile /etc/letsencrypt/live//chain.pemĪnd redirect your http requests to https.Į.g. SSLCertificateFile /etc/letsencrypt/live//cert.pem ![]() Header always set Strict-Transport-Security "max-age=15552000 includeSubDomains preload" Configure ApacheĬreate a Apache configuration-file for your domain and the Nextcloud installation.Į.g. ![]() In each of the two steps, we have to change the owner of the folders to the Apache webserver user. Mkdir /home/-dataĬhown apache:apache /home/-data Setsebool -P httpd_can_network_connect onĬreate the folder for the Nextcloud installation folder where we extract the files later.Ĭhown apache:apache /var/Also create a folder for the Nextcloud user data. Now we need to add two network p olicies to SELinux. * TO 'your_domain_com_cloud' 'localhost' Grant all access to the Contao database for this created user. ![]() your_domain_com_cloudĬREATE USER 'your_domain_com_cloud' 'localhost' IDENTIFIED BY 'new_password' your_domain_com_cloudĬREATE DATABASE your_domain_com_cloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci Ĭreate a user with password for the Contao database for connections on localhost e.g. Login to mysql or mariadb as root and your root-password. Yum install php-soap php-gd php-imap php-json php-mbstring php-mcrypt php-mysqlnd php-opcache php-pdo php-pear php-pspell php-xml php-xmlrpc php-curl php-dom php-simplexml php-zip Nextcloud installation Install required packages ![]()
0 Comments
Leave a Reply. |