Welcome to http://www.marssoft.de/
Tuesday, 11th December 2018 21:23:28 (GMT+1) 


Setting up a Basic OwnClound installation

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_15.04/ /' >> /etc/apt/sources.list.d/owncloud.list"
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_15.04/Release.key
sudo apt-key add - < Release.key

sudo chmod 664 /etc/apt/sources.list.d/owncloud.list
sudo apt-get update
sudo apt-get install owncloud

sudo mkdir -p /home/www/de.biodataanalysis/pages/owncloud/data
sudo chown -R www-mario:www-mario /home/www/de.biodataanalysis/pages/owncloud
sudo chmod -R g+rwx,o-rwx /home/www/de.biodataanalysis/pages/owncloud

Set up the MySQL user

# list mySQL databases
mysql --user='root' --password -e "SHOW DATABASES;"
# show all mySQL users:
mysql --user='root' --password -e "SELECT User FROM mysql.user;"

# create a new mysql database:
mysql --user='root' --password -e "CREATE DATABASE emmenlau_biodat_ocloud DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;"
# create a user for this database:
mysql --user='root' --password -e "CREATE USER 'emmenlau_ocloud'@'localhost' IDENTIFIED BY 'z5fK0a_Q';"
# grant required permissions for table:
mysql --user='root' --password -e "GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, LOCK TABLES, CREATE TEMPORARY TABLES ON emmenlau_biodat_ocloud.* TO 'emmenlau_ocloud'@'localhost';"

Configure Web Interface

guides/owncloud.txt · Last modified: 2015/07/12 15:34 by mario