apt-get install cdrskin
cdrskin –devices
mkdir /mnt/cdrom
sudo mount /dev/sr0 /mnt/cdrom
admin on August 3rd 2016 in IT, Linux
I already made once a tutorial how to install OwnCloud on Debian. But since then you can find it in the repository of aptitude and is therefore much easier to install.
- apt-get update
- apt-get install owncloud
- apt-get install mysql-server mysql-client
- Create DB and User
mysql –u root –p
CREATE DATABASE owncloud;
CREATE USER owncloud@localhost IDENTIFIED BY ‘password’;
GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost;
flush privileges;
quit
- Create Directories
mkdir /var/owncloud
chown www-data:www-data /var/owncloud
chmod 750 /var/owncloud
- Run owncloud
http://yourip/owncloud/
- Username: owncloud
Password: Password you have picked for the DB.
DB Name: owncloud
Hostname: localhost
- Activate HTTPS
a2enmod ssl
a2ensite default-ssl
service apache2 restart
After that you just need to install the OwnCloud clients on your devices and then you are ready to go.
admin on August 1st 2016 in Cloud, Internet, IT, Linux