Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
systems:owncloud:owncloud_setup_and_configuration [2016/08/09 15:29] smayr |
systems:owncloud:owncloud_setup_and_configuration [2017/12/08 15:51] (current) smayr [Upgrading] |
||
---|---|---|---|
Line 10: | Line 10: | ||
Add the ownCloud repository as follows: | Add the ownCloud repository as follows: | ||
- | $ ### sudo sh -c "echo 'deb http:// | + | $ ### sh -c "echo 'deb http:// |
$ sh -c "echo 'deb http:// | $ sh -c "echo 'deb http:// | ||
Update the package database and install ownCloud: | Update the package database and install ownCloud: | ||
- | $ sudo apt-get update | + | $ apt-get update |
- | $ sudo apt-get install owncloud | + | $ apt-get install owncloud |
| | ||
== Configuration == | == Configuration == | ||
Install Mariadb (or Mysql) to get the configurations as follows: | Install Mariadb (or Mysql) to get the configurations as follows: | ||
- | $ sudo apt-get install mariadb-server | + | $ apt-get install mariadb-server |
It will ask for password input, just enter your desired password there. | It will ask for password input, just enter your desired password there. | ||
We will be configuring our ownCloud server to take advantage of the more robust MySQL database instead of the SQLite default implementation. To do so, we must configure MySQL first as: | We will be configuring our ownCloud server to take advantage of the more robust MySQL database instead of the SQLite default implementation. To do so, we must configure MySQL first as: | ||
- | $ sudo mysql -u root -p | + | $ mysql -u root -p |
Put the mariadb password which you selected before, & create a database for ownCloud in Mariadb prompt: | Put the mariadb password which you selected before, & create a database for ownCloud in Mariadb prompt: | ||
Line 50: | Line 50: | ||
Open browser and visit domain name such as '' | Open browser and visit domain name such as '' | ||
+ | |||
+ | == Upgrading == | ||
+ | * Upgrade with your OS package manager so that it install the latest OwnCloud package. In Ubuntu: <code bash>$ apt-get update | ||
+ | $ apt-get upgrade</ | ||
+ | * Go to command line and manually run '' | ||
+ | $ sudo -u www-data php occ upgrade</ | ||
+ | * After upgrade, switch off maintenance mode: <code bash>$ cd / | ||
+ | $ sudo -u www-data php occ maintenance: | ||
+ | |||
== References == | == References == | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// |