3/17/2023 0 Comments Reinstall owncloud![]() That is it, the OwnCloud 8 installation is now complete. Open in your favorite web browser, create an admin account (set admin username and password), change the ‘data’ directory to ‘/data’ (do not leave the default setting ‘/var/www/html/owncloud/data’), click ‘Storage & database’, select MySQL/MariaDB, enter database info (MariaDB user, password, database and hostname) and click ‘Finish setup’. Set PHP-FPM and Nginx to start on server boot: systemctl enable php-fpm Restart PHP-FPM and Nginx services for the changes to take effect: systemctl restart php-fpm vi /etc/php-fpm.d/listen = /var/run/php5-fpm.sock ![]() You can purchase a trusted SSL Certificate, or create a self-signed SSL certificate using: openssl req -new -x509 -days 365 -nodes -out /etc/nginx/ -keyout /etc/nginx/Ĭreate a new Nginx server block with the following content: vi /etc/nginx/sites-available/ server block.Įdit the ‘/etc/php-fpm.d/to ‘listen = /var/run/php5-fpm.sock’. It is recommended to secure ownCloud with SSL certificate and force ownCloud using HTTPS to encrypt ownCloud traffic. MariaDB > GRANT ALL PRIVILEGES ON ownclouddb.* TO IDENTIFIED BY 'your-password' OwnCloud 8 requires a database, so create a new database using the following commands: mysql -uroot -p The webserver user (nginx) needs to be able to write to files and directories inside the ‘/var/‘data’ directory outside the document root, so that it is not accessible from the web: mkdir -p /data Install Nginx and PHP-FPM: yum install nginx php-fpm php-cli php-gd php-mcrypt php-mysql php-pear php-xml bzip2ĭownload the latest version of ownCloud available at and extract it to a directory on your server: cd /opt/ Stop the Apache service and disable it to start on server boot: systemctl stop httpd ![]() The installation of ownCloud 8 on a CentOS 7 VPS should take about ten minutes if you follow the very easy steps described below. The latest version of ownCloud brings improved sharing and collaboration and introduces an improved search, faster ways of getting at your files with favorites and provides extremely quick and easy access to important files. OwnCloud is an open source web application for data synchronization and file sharing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |