This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualisation:nextcloud [2018/02/28 08:19] buettner |
virtualisation:nextcloud [2018/03/01 09:19] (current) buettner |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====How to setup Nextcloud on a NB2800 router===== | + | ======How to setup Nextcloud on a NB2800 router====== |
This article describes how to setup a Nextcloud server on your NB2800 router. | This article describes how to setup a Nextcloud server on your NB2800 router. | ||
- | [[https://nextcloud.com/|Nextcloud]] is a free and open source cloud hosting software. It lets you easily provide files for and share them with others, and lets you customize your cloud with a lot of tools and additional apps. | + | [[https://nextcloud.com/|Nextcloud]] is a free and open source cloud hosting software. It lets you easily share your files with others, hosts your own calenders and contact lists and lets you customize your cloud with a lot of tools and additional apps. |
===Preparations=== | ===Preparations=== | ||
Line 28: | Line 28: | ||
<code> | <code> | ||
apt-get update | apt-get update | ||
- | </code> | ||
- | and | ||
- | <code> | ||
apt-get upgrade | apt-get upgrade | ||
</code> | </code> | ||
Line 52: | Line 49: | ||
===Installations=== | ===Installations=== | ||
- | Before Nextcloud can be installed, some other programs need to be installed and set up. In the first step, install all necessary programs by entering | + | Before Nextcloud can be installed, a web server (here: Nginx), a SQL program (here: MariaDB) and PHP need to be installed and set up. In the first step, install these programs by entering |
<code> | <code> | ||
apt-get update | apt-get update | ||
Line 65: | Line 62: | ||
===Configuring PHP=== | ===Configuring PHP=== | ||
- | For setting up PHP, several values in three files have to be edited. First, go to /etc/php/7.0/fpm/pool.d/www.conf and edit the following values (Note: all values described here have to be edited, decommented or added): | + | For setting up PHP, several values in three files have to be edited. First, go to /etc/php/7.0/fpm/pool.d/www.conf and edit the following values (Note: all values described here have to be edited, decommented, or added): |
<code c /etc/php/7.0/fpm/pool.d/www.conf> | <code c /etc/php/7.0/fpm/pool.d/www.conf> | ||
user = www-data | user = www-data | ||
Line 127: | Line 124: | ||
Note that you have to enter your own credentials for 'user' and 'password'. | Note that you have to enter your own credentials for 'user' and 'password'. | ||
- | Now all necessary right have to be granted to this new user: | + | Now all necessary rights have to be granted to this new user: |
<code> | <code> | ||
grant all privileges on nextcloud_db.* to 'user'@localhost; | grant all privileges on nextcloud_db.* to 'user'@localhost; |