0167: Installing ownCloud on Linux (Debian 10)
This commit is contained in:
parent
bfe70db023
commit
7d203e6a50
1 changed files with 19 additions and 16 deletions
35
0167.html
35
0167.html
|
@ -33,9 +33,13 @@
|
|||
$(document).on('click','input.copy-text',function(){
|
||||
theButton = $(this);
|
||||
$('input.copy-text').attr('src','images/clipboard.png');
|
||||
$('span.copy-animation').removeClass('copy-animation');
|
||||
$('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
|
||||
try {
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation');
|
||||
if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
|
||||
} else {
|
||||
$('#'+ theButton.attr('rel')).addClass('copy-animation');
|
||||
}
|
||||
navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
|
||||
theButton.attr('src','images/clipboard_active.png');
|
||||
} catch(err) {
|
||||
|
@ -57,8 +61,8 @@
|
|||
});
|
||||
|
||||
if(window.self !== window.top){
|
||||
window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
||||
}
|
||||
window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<link href="css/steps.css" rel="stylesheet" type="text/css" />
|
||||
|
@ -115,18 +119,17 @@
|
|||
</li>
|
||||
<li>Paste the following configuration into owncloud.conf
|
||||
<p>Alias /owncloud "/var/www/owncloud/"<br />
|
||||
<br />
|
||||
<directory owncloud="" var="" www=""><br />
|
||||
Options +FollowSymlinks<br />
|
||||
AllowOverride All<br />
|
||||
<br />
|
||||
<ifmodule mod_dav.c=""><br />
|
||||
Dav off<br />
|
||||
</ifmodule><br />
|
||||
<br />
|
||||
SetEnv HOME /var/www/owncloud<br />
|
||||
SetEnv HTTP_HOME /var/www/owncloud</directory><br />
|
||||
</p>
|
||||
<Directory /var/www/owncloud/><br />
|
||||
Options +FollowSymlinks<br />
|
||||
AllowOverride All<br />
|
||||
<br />
|
||||
<IfModule mod_dav.c><br />
|
||||
Dav off<br />
|
||||
</IfModule><br />
|
||||
<br />
|
||||
SetEnv HOME /var/www/owncloud<br />
|
||||
SetEnv HTTP_HOME /var/www/owncloud<br />
|
||||
</Directory></p>
|
||||
</li>
|
||||
<li>Press CTRL+O, Enter, CTRL+X to write the changes to owncloud.conf</li>
|
||||
<li>Continue with the following commands to enable the site and restart Apache:
|
||||
|
|
Loading…
Add table
Reference in a new issue