Mageia Bugzilla – Attachment 6123 Details for
Bug 15533
owncloud new security issues fixed upstream in 6.0.7 and 7.0.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Reviewed owncloud installation procedure
owncloud_test_installation.txt (text/plain), 1.87 KB, created by
olivier charles
on 2015-03-23 00:42:58 CET
(
hide
)
Description:
Reviewed owncloud installation procedure
Filename:
MIME Type:
Creator:
olivier charles
Created:
2015-03-23 00:42:58 CET
Size:
1.87 KB
patch
obsolete
>Owncloud procedure. > >Preparation : > >In firewall settings, allow web server. >Preferably, set a hostname (in this example : zitounmga4) > ># urpmi owncloud > >To be able to generate an ssl certificate : ># urpmi apache-mod_ssl >Generating a 1024 bit RSA private key >.++++++ >.....++++++ >writing new private key to '/etc/pki/tls/private/httpd.pem' > ># openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out /etc/pki/tls/certs/httpd.cert -keyout /etc/pki/tls/private/httpd.key > ># nano /etc/httpd/conf/httpd.conf >ServerName zitounmga4:80 > ># nano /etc/httpd/conf/sites.d/00_default_ssl_vhost.conf ><VirtualHost _default_:443> > # general configuration > ServerAdmin root@localhost > ServerName zitounmga4 > > # SSL configuration > SSLEngine on > SSLCertificateFile /etc/pki/tls/certs/httpd.cert > SSLCertificateKeyFile /etc/pki/tls/private/httpd.key > CustomLog logs/ssl_request_log \ > "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" > ></VirtualHost> > ># nano /etc/httpd/conf/sites.d/00_default_vhosts.conf ><VirtualHost _default_:80> > ServerAdmin root@localhost > ServerName zitounmga4 > >redirect / https://zitounmga4/ ></VirtualHost> > ># systemctl restart httpd > >To use sqlite >Browse to : https://zitounmga4/owncloud/ >and just enter a login and a password on opening page. >(To remove owncloud sqlite database afterwards : delete /usr/share/owncloud/data ) > > >To use mysql, > >set up database and user : ># mysql -uroot -p >MariaDB [(none)]> CREATE USER 'zitoun'@'localhost' IDENTIFIED BY 'password'; >MariaDB [(none)]> CREATE DATABASE owncloud; >MariaDB [(none)]> GRANT ALL PRIVILEGES ON owncloud.* TO 'zitoun'@'localhost' IDENTIFIED BY 'password'; >exit; > >Browse to : https://zitounmga4/owncloud/ >Click on advanced settings >enter a login and a password on top half >and fill information on mysql database on bottom half. > >To connect to owncloud server from remote through lan : https://zitounmga4/owncloud/ > >
Owncloud procedure. Preparation : In firewall settings, allow web server. Preferably, set a hostname (in this example : zitounmga4) # urpmi owncloud To be able to generate an ssl certificate : # urpmi apache-mod_ssl Generating a 1024 bit RSA private key .++++++ .....++++++ writing new private key to '/etc/pki/tls/private/httpd.pem' # openssl req -x509 -nodes -days 365 -newkey rsa:2048 -out /etc/pki/tls/certs/httpd.cert -keyout /etc/pki/tls/private/httpd.key # nano /etc/httpd/conf/httpd.conf ServerName zitounmga4:80 # nano /etc/httpd/conf/sites.d/00_default_ssl_vhost.conf <VirtualHost _default_:443> # general configuration ServerAdmin root@localhost ServerName zitounmga4 # SSL configuration SSLEngine on SSLCertificateFile /etc/pki/tls/certs/httpd.cert SSLCertificateKeyFile /etc/pki/tls/private/httpd.key CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost> # nano /etc/httpd/conf/sites.d/00_default_vhosts.conf <VirtualHost _default_:80> ServerAdmin root@localhost ServerName zitounmga4 redirect / https://zitounmga4/ </VirtualHost> # systemctl restart httpd To use sqlite Browse to : https://zitounmga4/owncloud/ and just enter a login and a password on opening page. (To remove owncloud sqlite database afterwards : delete /usr/share/owncloud/data ) To use mysql, set up database and user : # mysql -uroot -p MariaDB [(none)]> CREATE USER 'zitoun'@'localhost' IDENTIFIED BY 'password'; MariaDB [(none)]> CREATE DATABASE owncloud; MariaDB [(none)]> GRANT ALL PRIVILEGES ON owncloud.* TO 'zitoun'@'localhost' IDENTIFIED BY 'password'; exit; Browse to : https://zitounmga4/owncloud/ Click on advanced settings enter a login and a password on top half and fill information on mysql database on bottom half. To connect to owncloud server from remote through lan : https://zitounmga4/owncloud/
View Attachment As Raw
Actions:
View
Attachments on
bug 15533
:
6122
| 6123