Difference between revisions of "Owncloud"

From Alpine Linux
Jump to: navigation, search
(Created page with "== What is ownCloud?== ownCloud gives you easy and universal access to all of your files. It also provides a platform to easily view, sync and share your contacts, calendars, bo...")
 
(deprecated info)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== What is ownCloud?==
+
#REDIRECT [[OwnCloud]]
 
 
ownCloud gives you easy and universal access to all of your files.
 
It also provides a platform to easily view, sync and share your contacts, calendars, bookmarks and files across all your devices.
 
ownCloud 3 brings loads of new features and hundred of fixes…
 
 
 
* Sharing at the click of a button
 
 
 
We like to share things, so we made sure you can do that easily. You can share files with other users in your ownCloud instance or through a public link that you can send to anyone.
 
 
 
* Explore your photos
 
 
 
ownCloud features a photo gallery application to help, view and organize photos of different file types. Photo albums are automatically created for uploaded photos and make it easy to scroll through your pictures.
 
 
 
* Edit your files on the go
 
 
 
With ownCloud, you can access and edit your documents in multiple ways. You can edit text files directly in your browser with the online text editor, or mount your files locally via WebDAV, viewing and editing them with the desktop apps you are used to.
 
 
 
== Set up ownCloud on Alpine Linux ==
 
This document will be a quick c/p guide to setup this file sharing system on Alpine linux. What we will setup is the following:
 
 
 
* Lighttpd with PHP
 
* MySql
 
* ownCloud
 
 
 
== Install lighttpd, PHP, and MySql ==
 
{{:Setting Up Lighttpd With FastCGI}}
 
 
 
Install extra packages:
 
{{Cmd|apk add php-mysql mysql mysql-client}}
 
 
 
== Installing and configuring  ownCloud ==
 
 
 
'''Install ownCloud'''
 
 
 
* Make webapps folder
 
 
 
{{Cmd|mkdir /usr/share/webapps/ -p}}
 
 
 
* Download
 
 
 
{{Cmd|cd /usr/share/webapps/
 
wget wget http://owncloud.org/releases/owncloud-3.0.2.tar.bz2}}
 
 
 
* Unpack
 
 
 
{{Cmd|tar xfj owncloud-3.0.2.tar.bz2
 
rm owncloud-3.0.2.tar.bz2}}
 
 
 
* Change Folder Persmissions
 
 
 
{{Cmd|chown -R lighttpd:lighttpd /usr/share/webapps/owncloud}}
 
 
 
* Make symlinks to ownCloud
 
 
 
{{Cmd|ln -s /usr/share/webapps/owncloud/ /var/www/localhost/htdocs/owncloud}}
 
 
 
== Config and start MySql ==
 
 
 
{{Cmd|<nowiki>/usr/bin/mysql_install_db --user=mysql
 
/etc/init.d/mysql start && rc-update add mysql default
 
/usr/bin/mysqladmin -u root password 'password'</nowiki>}}
 
 
 
'''Create the ownCloud database'''
 
 
 
{{Cmd|mysql -u root -p}}
 
 
 
{{Cmd|CREATE DATABASE owncloud;
 
GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY 'owncloud password';
 
FLUSH PRIVILEGES;
 
EXIT}}
 
 
 
== Config your ownCloud ==
 
 
 
* Browse
 
 
 
http://WEBSERVER_IP_ADDRESS/ownCloud/
 
 
 
* "Create a administrator account"
 
 
 
:* User Name: <username> - new admin username
 
:* Password: <password> - new admin password
 
 
 
* "Set the storage folder:"
 
 
 
:* </usr/share/webapps/owncloud/data> - Storage folder
 
 
 
* "Configure the database"
 
 
 
:* User Name: <username> - db admin username
 
:* Password: <password> - db admin password
 
:* Database Name: owncloud - db name
 
:* Database Host: localhost - db host
 
 
 
 
 
After you've done that, click "Complete Installation"
 
 
 
You have ownCloud working, to access go to http://WEBSERVER_IP_ADDRESS/owncloud and enjoy!
 
 
 
[[Category:SQL]]
 
[[Category:PHP]]
 
[[Category:Server]]
 

Latest revision as of 19:09, 5 August 2014

Redirect to: