In diesem Artikel wollen wir uns anschauen, wie wir eine Owncloud Instanz auf unserem 1&1 Cloud Server installieren. Der Artikel geht von einer Serverkonfiguration entsprechend der Artikelserie „Mein 1&1 cloud server“ aus.
Vor ein paar Tagen wurde zwar die neue Owncloud Version 9.0.0 released, ich möchte jedoch zunächst den stabilen Versionszweig 8.2.x benutzen, aktuell Version 8.2.3. Dazu müssen wir das entsprechende Package Repository zu unseren Paketquellen hinzufügen.
1 2 3 4 5 | $ wget -nv https://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/Release.key -O Release.key 2016-03-18 13:04:07 URL:https://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/Release.key [1358/1358] -> "Release.key" [1] $ apt-key add - < Release.key OK $ sh -c "echo 'deb http://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/ /' >> /etc/apt/sources.list.d/owncloud.list" |
Danach aktualisieren wir die Paketquellen und installieren owncloud.
1 2 | $ apt-get update $ apt-get install owncloud |
Bei der Installation von owncloud werden noch einige zusätzliche Abhänigkeiten installiert.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | $ apt-get install owncloud Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libicu52 libpq5 owncloud-config-apache owncloud-server php-xml-parser php5 php5-cgi php5-curl php5-intl php5-ldap php5-pgsql php5-sqlite Suggested packages: clamav clamav-daemon smbclient libreoffice-writer php5-apcu php-apc The following NEW packages will be installed: libicu52 libpq5 owncloud owncloud-config-apache owncloud-server php-xml-parser php5 php5-cgi php5-curl php5-intl php5-ldap php5-pgsql php5-sqlite 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 33.0 MB of archives. After this operation, 125 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-cgi amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [4,194 kB] Get:2 http://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/ owncloud-server 8.2.3-2.1 [21.6 MB] Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libicu52 amd64 52.1-3ubuntu0.4 [6,752 kB] Get:4 http://de.archive.ubuntu.com/ubuntu/ trusty/universe php-xml-parser all 1.3.4-6 [24.8 kB] Get:5 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.11-0ubuntu0.14.04 [80.6 kB] Get:6 http://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/ owncloud 8.2.3-2.1 [32.8 kB] Get:7 http://download.owncloud.org/download/repositories/8.2/Ubuntu_14.04/ owncloud-config-apache 8.2.3-2.1 [9,806 B] Get:8 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5 all 5.6.19+dfsg-1+deb.sury.org~trusty+1 [1,270 B] Get:9 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-sqlite amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [24.5 kB] Get:10 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-pgsql amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [56.7 kB] Get:11 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-intl amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [109 kB] Get:12 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-curl amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [27.6 kB] Get:13 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-ldap amd64 5.6.19+dfsg-1+deb.sury.org~trusty+1 [22.0 kB] Fetched 33.0 MB in 9s (3,529 kB/s) Selecting previously unselected package libicu52:amd64. (Reading database ... 174557 files and directories currently installed.) Preparing to unpack .../libicu52_52.1-3ubuntu0.4_amd64.deb ... Unpacking libicu52:amd64 (52.1-3ubuntu0.4) ... Selecting previously unselected package php-xml-parser. Preparing to unpack .../php-xml-parser_1.3.4-6_all.deb ... Unpacking php-xml-parser (1.3.4-6) ... Selecting previously unselected package libpq5. Preparing to unpack .../libpq5_9.3.11-0ubuntu0.14.04_amd64.deb ... Unpacking libpq5 (9.3.11-0ubuntu0.14.04) ... Selecting previously unselected package php5-cgi. Preparing to unpack .../php5-cgi_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-cgi (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5. Preparing to unpack .../php5_5.6.19+dfsg-1+deb.sury.org~trusty+1_all.deb ... Unpacking php5 (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5-sqlite. Preparing to unpack .../php5-sqlite_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-sqlite (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5-pgsql. Preparing to unpack .../php5-pgsql_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-pgsql (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5-intl. Preparing to unpack .../php5-intl_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-intl (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5-curl. Preparing to unpack .../php5-curl_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-curl (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5-ldap. Preparing to unpack .../php5-ldap_5.6.19+dfsg-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-ldap (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Selecting previously unselected package owncloud-server. Preparing to unpack .../owncloud-server_8.2.3-2.1_all.deb ... Unpacking owncloud-server (8.2.3-2.1) ... Selecting previously unselected package owncloud. Preparing to unpack .../owncloud_8.2.3-2.1_all.deb ... Unpacking owncloud (8.2.3-2.1) ... Selecting previously unselected package owncloud-config-apache. Preparing to unpack .../owncloud-config-apache_8.2.3-2.1_all.deb ... Unpacking owncloud-config-apache (8.2.3-2.1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for libapache2-mod-php5 (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Setting up libicu52:amd64 (52.1-3ubuntu0.4) ... Setting up php-xml-parser (1.3.4-6) ... Setting up libpq5 (9.3.11-0ubuntu0.14.04) ... Setting up php5-cgi (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... update-alternatives: using /usr/bin/php5-cgi to provide /usr/bin/php-cgi (php-cgi) in auto mode update-alternatives: using /usr/lib/cgi-bin/php5 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode Creating config file /etc/php5/cgi/php.ini with new version php5_invoke: Enable module pdo_mysql for cgi SAPI php5_invoke: Enable module mcrypt for cgi SAPI php5_invoke: Enable module json for cgi SAPI php5_invoke: Enable module mysql for cgi SAPI php5_invoke: Enable module opcache for cgi SAPI php5_invoke: Enable module gd for cgi SAPI php5_invoke: Enable module pdo for cgi SAPI php5_invoke: Enable module readline for cgi SAPI php5_invoke: Enable module mysqli for cgi SAPI Setting up php5 (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Setting up php5-sqlite (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Creating config file /etc/php5/mods-available/sqlite3.ini with new version php5_invoke: Enable module sqlite3 for cli SAPI php5_invoke: Enable module sqlite3 for cgi SAPI php5_invoke: Enable module sqlite3 for apache2 SAPI Creating config file /etc/php5/mods-available/pdo_sqlite.ini with new version php5_invoke: Enable module pdo_sqlite for cli SAPI php5_invoke: Enable module pdo_sqlite for cgi SAPI php5_invoke: Enable module pdo_sqlite for apache2 SAPI Setting up php5-pgsql (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Creating config file /etc/php5/mods-available/pgsql.ini with new version php5_invoke: Enable module pgsql for cli SAPI php5_invoke: Enable module pgsql for cgi SAPI php5_invoke: Enable module pgsql for apache2 SAPI Creating config file /etc/php5/mods-available/pdo_pgsql.ini with new version php5_invoke: Enable module pdo_pgsql for cli SAPI php5_invoke: Enable module pdo_pgsql for cgi SAPI php5_invoke: Enable module pdo_pgsql for apache2 SAPI Setting up php5-intl (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Creating config file /etc/php5/mods-available/intl.ini with new version php5_invoke: Enable module intl for cli SAPI php5_invoke: Enable module intl for cgi SAPI php5_invoke: Enable module intl for apache2 SAPI Setting up php5-curl (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Creating config file /etc/php5/mods-available/curl.ini with new version php5_invoke: Enable module curl for cli SAPI php5_invoke: Enable module curl for cgi SAPI php5_invoke: Enable module curl for apache2 SAPI Setting up php5-ldap (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... Creating config file /etc/php5/mods-available/ldap.ini with new version php5_invoke: Enable module ldap for cli SAPI php5_invoke: Enable module ldap for cgi SAPI php5_invoke: Enable module ldap for apache2 SAPI Setting up owncloud-server (8.2.3-2.1) ... Setting up owncloud (8.2.3-2.1) ... Setting up owncloud-config-apache (8.2.3-2.1) ... Enabling conf owncloud. To activate the new configuration, you need to run: service apache2 reload * Reloading web server apache2 * apache2_invoke rewrite: already enabled * Restarting web server apache2 [ OK ] apache2_invoke owncloud: already enabled * Reloading web server apache2 * Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Processing triggers for libapache2-mod-php5 (5.6.19+dfsg-1+deb.sury.org~trusty+1) ... |
Zusätzlich installieren wir noch drei der empfohlenen Pakete.
1 | $ apt-get install libreoffice-writer php5-apcu php-apc |
Dabei wird eine große Anzahl an Abhängigkeiten mitinstalliert.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 | $ apt-get install libreoffice-writer php5-apcu php-apc Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dictionaries-common fontconfig fonts-opensymbol gconf-service gconf-service-backend gconf2-common hicolor-icon-theme hunspell-en-us libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libboost-date-time1.54.0 libcairo2 libclucene-contribs1 libclucene-core1 libcmis-0.4-4 libcolamd2.8.0 libcups2 libdatrie1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libexttextcat-2.0-0 libexttextcat-data libfontenc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglu1-mesa libgraphite2-3 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz-icu0 libharfbuzz0b libhunspell-1.3-0 libhyphen0 libice6 libjasper1 liblangtag-common liblangtag1 liblcms2-2 libllvm3.4 libmhash2 libmythes-1.2-0 libneon27-gnutls libnspr4 libnss3 libnss3-nssdb libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpixman-1-0 libpython3.4 libraptor2-0 librasqal3 librdf0 libreoffice-base-core libreoffice-common libreoffice-core libreoffice-math libreoffice-style-galaxy libsm6 libthai-data libthai0 libtxc-dxtn-s2tc0 libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxi6 libxinerama1 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 libyajl2 lp-solve python3-uno uno-libs3 ure x11-common xfonts-encodings xfonts-mathml xfonts-utils Suggested packages: ispell aspell hunspell wordlist emacsen-common jed-extra openoffice.org-hunspell openoffice.org-core cups-common libglide3 librsvg2-common gvfs libjasper-runtime liblcms2-utils ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp raptor2-utils rasqal-utils librdf-storage-postgresql librdf-storage-mysql librdf-storage-sqlite librdf-storage-virtuoso redland-utils libreoffice-base libreoffice-style-crystal libreoffice-style-hicontrast libreoffice-style-human libreoffice-style-oxygen libreoffice-style-sifr libreoffice-style-tango libreoffice-gcj libreoffice-java-common default-jre gcj-jre openjdk-7-jre openjdk-6-jre sun-java5-jre sun-java6-jre java5-runtime jre fonts-lyx fonts-stix The following NEW packages will be installed: dictionaries-common fontconfig fonts-opensymbol gconf-service gconf-service-backend gconf2-common hicolor-icon-theme hunspell-en-us libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libboost-date-time1.54.0 libcairo2 libclucene-contribs1 libclucene-core1 libcmis-0.4-4 libcolamd2.8.0 libcups2 libdatrie1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libexttextcat-2.0-0 libexttextcat-data libfontenc1 libgconf-2-4 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglu1-mesa libgraphite2-3 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libharfbuzz-icu0 libharfbuzz0b libhunspell-1.3-0 libhyphen0 libice6 libjasper1 liblangtag-common liblangtag1 liblcms2-2 libllvm3.4 libmhash2 libmythes-1.2-0 libneon27-gnutls libnspr4 libnss3 libnss3-nssdb libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpixman-1-0 libpython3.4 libraptor2-0 librasqal3 librdf0 libreoffice-base-core libreoffice-common libreoffice-core libreoffice-math libreoffice-style-galaxy libreoffice-writer libsm6 libthai-data libthai0 libtxc-dxtn-s2tc0 libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxi6 libxinerama1 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 libyajl2 lp-solve php-apc php5-apcu python3-uno uno-libs3 ure x11-common xfonts-encodings xfonts-mathml xfonts-utils 0 upgraded, 107 newly installed, 0 to remove and 0 not upgraded. Need to get 86.0 MB of archives. After this operation, 354 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-apcu amd64 4.0.10-1+deb.sury.org~trusty+2 [67.0 kB] Get:2 http://de.archive.ubuntu.com/ubuntu/ trusty/main libatk1.0-data all 2.10.0-2ubuntu2 [13.7 kB] Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty/main libatk1.0-0 amd64 2.10.0-2ubuntu2 [50.9 kB] Get:4 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php-apc all 4.0.10-1+deb.sury.org~trusty+2 [4,720 B] Get:5 http://de.archive.ubuntu.com/ubuntu/ trusty/main libavahi-common-data amd64 0.6.31-4ubuntu1 [21.2 kB] Get:6 http://de.archive.ubuntu.com/ubuntu/ trusty/main libavahi-common3 amd64 0.6.31-4ubuntu1 [21.7 kB] Get:7 http://de.archive.ubuntu.com/ubuntu/ trusty/main libavahi-client3 amd64 0.6.31-4ubuntu1 [25.1 kB] Get:8 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libboost-date-time1.54.0 amd64 1.54.0-4ubuntu3.1 [20.8 kB] Get:9 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpixman-1-0 amd64 0.30.2-2ubuntu1.1 [225 kB] Get:10 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-render0 amd64 1.10-2ubuntu1 [11.0 kB] Get:11 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-shm0 amd64 1.10-2ubuntu1 [5,432 B] Get:12 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libxrender1 amd64 1:0.9.8-1build0.14.04.1 [17.9 kB] Get:13 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libcairo2 amd64 1.13.0~20140204-0ubuntu1.1 [535 kB] Get:14 http://de.archive.ubuntu.com/ubuntu/ trusty/main libclucene-core1 amd64 2.3.3.4-4build1 [584 kB] Get:15 http://de.archive.ubuntu.com/ubuntu/ trusty/main libclucene-contribs1 amd64 2.3.3.4-4build1 [111 kB] Get:16 http://de.archive.ubuntu.com/ubuntu/ trusty/main libcolamd2.8.0 amd64 1:4.2.1-3ubuntu1 [17.7 kB] Get:17 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libcups2 amd64 1.7.2-0ubuntu1.7 [179 kB] Get:18 http://de.archive.ubuntu.com/ubuntu/ trusty/main libdatrie1 amd64 0.2.8-1 [16.7 kB] Get:19 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpciaccess0 amd64 0.13.2-1 [20.4 kB] Get:20 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-intel1 amd64 2.4.64-1~ubuntu14.04.1 [54.2 kB] Get:21 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-nouveau2 amd64 2.4.64-1~ubuntu14.04.1 [13.9 kB] Get:22 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libdrm-radeon1 amd64 2.4.64-1~ubuntu14.04.1 [21.2 kB] Get:23 http://de.archive.ubuntu.com/ubuntu/ trusty/main libfontenc1 amd64 1:1.1.2-1 [15.6 kB] Get:24 http://de.archive.ubuntu.com/ubuntu/ trusty/main gconf2-common all 3.2.6-0ubuntu2 [20.2 kB] Get:25 http://de.archive.ubuntu.com/ubuntu/ trusty/main libgconf-2-4 amd64 3.2.6-0ubuntu2 [80.8 kB] Get:26 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libjasper1 amd64 1.900.1-14ubuntu3.3 [130 kB] Get:27 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgdk-pixbuf2.0-common all 2.30.7-0ubuntu1.2 [8,826 B] Get:28 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgdk-pixbuf2.0-0 amd64 2.30.7-0ubuntu1.2 [160 kB] Get:29 http://de.archive.ubuntu.com/ubuntu/ trusty/main libllvm3.4 amd64 1:3.4-1ubuntu3 [6,540 kB] Get:30 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mesa-dri amd64 10.1.3-0ubuntu0.6 [4,823 kB] Get:31 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libglapi-mesa amd64 10.1.3-0ubuntu0.6 [21.0 kB] Get:32 http://de.archive.ubuntu.com/ubuntu/ trusty/main libx11-xcb1 amd64 2:1.6.2-1ubuntu2 [9,426 B] Get:33 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-dri2-0 amd64 1.10-2ubuntu1 [6,710 B] Get:34 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-dri3-0 amd64 1.10-2ubuntu1 [5,118 B] Get:35 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-glx0 amd64 1.10-2ubuntu1 [20.0 kB] Get:36 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-present0 amd64 1.10-2ubuntu1 [5,254 B] Get:37 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcb-sync1 amd64 1.10-2ubuntu1 [8,090 B] Get:38 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxdamage1 amd64 1:1.1.4-1ubuntu1 [7,612 B] Get:39 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libxfixes3 amd64 1:5.0.1-1ubuntu1.1 [10.4 kB] Get:40 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxshmfence1 amd64 1.1-2 [4,644 B] Get:41 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxxf86vm1 amd64 1:1.1.3-1 [11.7 kB] Get:42 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgl1-mesa-glx amd64 10.1.3-0ubuntu0.6 [113 kB] Get:43 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgraphite2-3 amd64 1.3.6-1ubuntu0.14.04.1 [71.3 kB] Get:44 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgtk2.0-common all 2.24.23-0ubuntu1.4 [121 kB] Get:45 http://de.archive.ubuntu.com/ubuntu/ trusty/main libthai-data all 0.1.20-3 [130 kB] Get:46 http://de.archive.ubuntu.com/ubuntu/ trusty/main libthai0 amd64 0.1.20-3 [16.9 kB] Get:47 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main fontconfig amd64 2.11.0-0ubuntu4.1 [176 kB] Get:48 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpango-1.0-0 amd64 1.36.3-1ubuntu1.1 [149 kB] Get:49 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libharfbuzz0b amd64 0.9.27-1ubuntu1 [127 kB] Get:50 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpangoft2-1.0-0 amd64 1.36.3-1ubuntu1.1 [32.7 kB] Get:51 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpangocairo-1.0-0 amd64 1.36.3-1ubuntu1.1 [20.0 kB] Get:52 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcomposite1 amd64 1:0.4.4-1 [7,714 B] Get:53 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxcursor1 amd64 1:1.1.14-1 [22.8 kB] Get:54 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libxi6 amd64 2:1.7.1.901-1ubuntu1.1 [27.9 kB] Get:55 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxinerama1 amd64 2:1.1.3-1 [7,908 B] Get:56 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxrandr2 amd64 2:1.4.2-1 [16.6 kB] Get:57 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgtk2.0-0 amd64 2.24.23-0ubuntu1.4 [1,739 kB] Get:58 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libharfbuzz-icu0 amd64 0.9.27-1ubuntu1 [5,120 B] Get:59 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libhunspell-1.3-0 amd64 1.3.2-6ubuntu2.1 [108 kB] Get:60 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main x11-common all 1:7.7+1ubuntu8.1 [49.5 kB] Get:61 http://de.archive.ubuntu.com/ubuntu/ trusty/main libice6 amd64 2:1.0.8-2 [47.0 kB] Get:62 http://de.archive.ubuntu.com/ubuntu/ trusty/main liblcms2-2 amd64 2.5-0ubuntu4 [132 kB] Get:63 http://de.archive.ubuntu.com/ubuntu/ trusty/main libmhash2 amd64 0.9.9.9-4 [102 kB] Get:64 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libnspr4 amd64 2:4.10.10-0ubuntu0.14.04.1 [111 kB] Get:65 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3-nssdb all 2:3.21-0ubuntu0.14.04.2 [10.6 kB] Get:66 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libnss3 amd64 2:3.21-0ubuntu0.14.04.2 [1,103 kB] Get:67 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libpython3.4 amd64 3.4.3-1ubuntu1~14.04.3 [1,308 kB] Get:68 http://de.archive.ubuntu.com/ubuntu/ trusty/main libyajl2 amd64 2.0.4-4 [20.8 kB] Get:69 http://de.archive.ubuntu.com/ubuntu/ trusty/main libraptor2-0 amd64 2.0.13-1 [153 kB] Get:70 http://de.archive.ubuntu.com/ubuntu/ trusty/main librasqal3 amd64 0.9.32-1 [163 kB] Get:71 http://de.archive.ubuntu.com/ubuntu/ trusty/main librdf0 amd64 1.0.17-1 [94.5 kB] Get:72 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/universe libreoffice-style-galaxy all 1:4.2.8-0ubuntu4 [1,589 kB] Get:73 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main uno-libs3 amd64 4.2.8-0ubuntu4 [619 kB] Get:74 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main ure amd64 4.2.8-0ubuntu4 [1,647 kB] Get:75 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-common all 1:4.2.8-0ubuntu4 [19.9 MB] Get:76 http://de.archive.ubuntu.com/ubuntu/ trusty/main libsm6 amd64 2:1.2.1-2 [18.1 kB] Get:77 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libxfont1 amd64 1:1.4.7-1ubuntu0.2 [95.0 kB] Get:78 http://de.archive.ubuntu.com/ubuntu/ trusty/main libxt6 amd64 1:1.1.4-1 [185 kB] Get:79 http://de.archive.ubuntu.com/ubuntu/ trusty/main libglu1-mesa amd64 9.0.0-2 [195 kB] Get:80 http://de.archive.ubuntu.com/ubuntu/ trusty/main libtxc-dxtn-s2tc0 amd64 0~git20131104-1.1 [51.8 kB] Get:81 http://de.archive.ubuntu.com/ubuntu/ trusty/main dictionaries-common all 1.20.5 [232 kB] Get:82 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main fonts-opensymbol all 2:102.6+LibO4.2.8-0ubuntu4 [110 kB] Get:83 http://de.archive.ubuntu.com/ubuntu/ trusty/main gconf-service-backend amd64 3.2.6-0ubuntu2 [56.3 kB] Get:84 http://de.archive.ubuntu.com/ubuntu/ trusty/main gconf-service amd64 3.2.6-0ubuntu2 [2,046 B] Get:85 http://de.archive.ubuntu.com/ubuntu/ trusty/main hicolor-icon-theme all 0.13-1 [7,140 B] Get:86 http://de.archive.ubuntu.com/ubuntu/ trusty/main hunspell-en-us all 20070829-4ubuntu3 [248 kB] Get:87 http://de.archive.ubuntu.com/ubuntu/ trusty/main libcmis-0.4-4 amd64 0.4.1-3ubuntu4 [361 kB] Get:88 http://de.archive.ubuntu.com/ubuntu/ trusty/main libexttextcat-data all 3.4.3-1ubuntu1 [155 kB] Get:89 http://de.archive.ubuntu.com/ubuntu/ trusty/main libexttextcat-2.0-0 amd64 3.4.3-1ubuntu1 [13.0 kB] Get:90 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgtk2.0-bin amd64 2.24.23-0ubuntu1.4 [9,774 B] Get:91 http://de.archive.ubuntu.com/ubuntu/ trusty/main libhyphen0 amd64 2.8.6-3ubuntu2 [18.4 kB] Get:92 http://de.archive.ubuntu.com/ubuntu/ trusty/main liblangtag-common all 0.5.1-2 [134 kB] Get:93 http://de.archive.ubuntu.com/ubuntu/ trusty/main liblangtag1 amd64 0.5.1-2 [54.5 kB] Get:94 http://de.archive.ubuntu.com/ubuntu/ trusty/main libmythes-1.2-0 amd64 2:1.2.2-1ubuntu2 [8,174 B] Get:95 http://de.archive.ubuntu.com/ubuntu/ trusty/main libneon27-gnutls amd64 0.30.0-1ubuntu1 [64.9 kB] Get:96 http://de.archive.ubuntu.com/ubuntu/ trusty/main lp-solve amd64 5.5.0.13-7build1 [272 kB] Get:97 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-core amd64 1:4.2.8-0ubuntu4 [27.9 MB] Get:98 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-base-core amd64 1:4.2.8-0ubuntu4 [733 kB] Get:99 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-math amd64 1:4.2.8-0ubuntu4 [356 kB] Get:100 http://de.archive.ubuntu.com/ubuntu/ trusty/main libwpd-0.9-9 amd64 0.9.9-1 [319 kB] Get:101 http://de.archive.ubuntu.com/ubuntu/ trusty/main libwpg-0.2-2 amd64 0.2.2-1ubuntu1 [61.1 kB] Get:102 http://de.archive.ubuntu.com/ubuntu/ trusty/main libwps-0.2-2 amd64 0.2.9-2ubuntu1 [240 kB] Get:103 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libreoffice-writer amd64 1:4.2.8-0ubuntu4 [9,452 kB] Get:104 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main python3-uno amd64 1:4.2.8-0ubuntu4 [120 kB] Get:105 http://de.archive.ubuntu.com/ubuntu/ trusty/main xfonts-encodings all 1:1.0.4-1ubuntu1 [583 kB] Get:106 http://de.archive.ubuntu.com/ubuntu/ trusty/main xfonts-utils amd64 1:7.7+1 [73.9 kB] Get:107 http://de.archive.ubuntu.com/ubuntu/ trusty/main xfonts-mathml all 6ubuntu1 [42.5 kB] Fetched 86.0 MB in 26s (3,248 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package libatk1.0-data. (Reading database ... 185700 files and directories currently installed.) Preparing to unpack .../libatk1.0-data_2.10.0-2ubuntu2_all.deb ... Unpacking libatk1.0-data (2.10.0-2ubuntu2) ... Selecting previously unselected package libatk1.0-0:amd64. Preparing to unpack .../libatk1.0-0_2.10.0-2ubuntu2_amd64.deb ... Unpacking libatk1.0-0:amd64 (2.10.0-2ubuntu2) ... Selecting previously unselected package libavahi-common-data:amd64. Preparing to unpack .../libavahi-common-data_0.6.31-4ubuntu1_amd64.deb ... Unpacking libavahi-common-data:amd64 (0.6.31-4ubuntu1) ... Selecting previously unselected package libavahi-common3:amd64. Preparing to unpack .../libavahi-common3_0.6.31-4ubuntu1_amd64.deb ... Unpacking libavahi-common3:amd64 (0.6.31-4ubuntu1) ... Selecting previously unselected package libavahi-client3:amd64. Preparing to unpack .../libavahi-client3_0.6.31-4ubuntu1_amd64.deb ... Unpacking libavahi-client3:amd64 (0.6.31-4ubuntu1) ... Selecting previously unselected package libboost-date-time1.54.0:amd64. Preparing to unpack .../libboost-date-time1.54.0_1.54.0-4ubuntu3.1_amd64.deb ... Unpacking libboost-date-time1.54.0:amd64 (1.54.0-4ubuntu3.1) ... Selecting previously unselected package libpixman-1-0:amd64. Preparing to unpack .../libpixman-1-0_0.30.2-2ubuntu1.1_amd64.deb ... Unpacking libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) ... Selecting previously unselected package libxcb-render0:amd64. Preparing to unpack .../libxcb-render0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-render0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxcb-shm0:amd64. Preparing to unpack .../libxcb-shm0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-shm0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxrender1:amd64. Preparing to unpack .../libxrender1_1%3a0.9.8-1build0.14.04.1_amd64.deb ... Unpacking libxrender1:amd64 (1:0.9.8-1build0.14.04.1) ... Selecting previously unselected package libcairo2:amd64. Preparing to unpack .../libcairo2_1.13.0~20140204-0ubuntu1.1_amd64.deb ... Unpacking libcairo2:amd64 (1.13.0~20140204-0ubuntu1.1) ... Selecting previously unselected package libclucene-core1:amd64. Preparing to unpack .../libclucene-core1_2.3.3.4-4build1_amd64.deb ... Unpacking libclucene-core1:amd64 (2.3.3.4-4build1) ... Selecting previously unselected package libclucene-contribs1:amd64. Preparing to unpack .../libclucene-contribs1_2.3.3.4-4build1_amd64.deb ... Unpacking libclucene-contribs1:amd64 (2.3.3.4-4build1) ... Selecting previously unselected package libcolamd2.8.0:amd64. Preparing to unpack .../libcolamd2.8.0_1%3a4.2.1-3ubuntu1_amd64.deb ... Unpacking libcolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Selecting previously unselected package libcups2:amd64. Preparing to unpack .../libcups2_1.7.2-0ubuntu1.7_amd64.deb ... Unpacking libcups2:amd64 (1.7.2-0ubuntu1.7) ... Selecting previously unselected package libdatrie1:amd64. Preparing to unpack .../libdatrie1_0.2.8-1_amd64.deb ... Unpacking libdatrie1:amd64 (0.2.8-1) ... Selecting previously unselected package libpciaccess0:amd64. Preparing to unpack .../libpciaccess0_0.13.2-1_amd64.deb ... Unpacking libpciaccess0:amd64 (0.13.2-1) ... Selecting previously unselected package libdrm-intel1:amd64. Preparing to unpack .../libdrm-intel1_2.4.64-1~ubuntu14.04.1_amd64.deb ... Unpacking libdrm-intel1:amd64 (2.4.64-1~ubuntu14.04.1) ... Selecting previously unselected package libdrm-nouveau2:amd64. Preparing to unpack .../libdrm-nouveau2_2.4.64-1~ubuntu14.04.1_amd64.deb ... Unpacking libdrm-nouveau2:amd64 (2.4.64-1~ubuntu14.04.1) ... Selecting previously unselected package libdrm-radeon1:amd64. Preparing to unpack .../libdrm-radeon1_2.4.64-1~ubuntu14.04.1_amd64.deb ... Unpacking libdrm-radeon1:amd64 (2.4.64-1~ubuntu14.04.1) ... Selecting previously unselected package libfontenc1:amd64. Preparing to unpack .../libfontenc1_1%3a1.1.2-1_amd64.deb ... Unpacking libfontenc1:amd64 (1:1.1.2-1) ... Selecting previously unselected package gconf2-common. Preparing to unpack .../gconf2-common_3.2.6-0ubuntu2_all.deb ... Unpacking gconf2-common (3.2.6-0ubuntu2) ... Selecting previously unselected package libgconf-2-4:amd64. Preparing to unpack .../libgconf-2-4_3.2.6-0ubuntu2_amd64.deb ... Unpacking libgconf-2-4:amd64 (3.2.6-0ubuntu2) ... Selecting previously unselected package libjasper1:amd64. Preparing to unpack .../libjasper1_1.900.1-14ubuntu3.3_amd64.deb ... Unpacking libjasper1:amd64 (1.900.1-14ubuntu3.3) ... Selecting previously unselected package libgdk-pixbuf2.0-common. Preparing to unpack .../libgdk-pixbuf2.0-common_2.30.7-0ubuntu1.2_all.deb ... Unpacking libgdk-pixbuf2.0-common (2.30.7-0ubuntu1.2) ... Selecting previously unselected package libgdk-pixbuf2.0-0:amd64. Preparing to unpack .../libgdk-pixbuf2.0-0_2.30.7-0ubuntu1.2_amd64.deb ... Unpacking libgdk-pixbuf2.0-0:amd64 (2.30.7-0ubuntu1.2) ... Selecting previously unselected package libllvm3.4:amd64. Preparing to unpack .../libllvm3.4_1%3a3.4-1ubuntu3_amd64.deb ... Unpacking libllvm3.4:amd64 (1:3.4-1ubuntu3) ... Selecting previously unselected package libgl1-mesa-dri:amd64. Preparing to unpack .../libgl1-mesa-dri_10.1.3-0ubuntu0.6_amd64.deb ... Unpacking libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.6) ... Selecting previously unselected package libglapi-mesa:amd64. Preparing to unpack .../libglapi-mesa_10.1.3-0ubuntu0.6_amd64.deb ... Unpacking libglapi-mesa:amd64 (10.1.3-0ubuntu0.6) ... Selecting previously unselected package libx11-xcb1:amd64. Preparing to unpack .../libx11-xcb1_2%3a1.6.2-1ubuntu2_amd64.deb ... Unpacking libx11-xcb1:amd64 (2:1.6.2-1ubuntu2) ... Selecting previously unselected package libxcb-dri2-0:amd64. Preparing to unpack .../libxcb-dri2-0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-dri2-0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxcb-dri3-0:amd64. Preparing to unpack .../libxcb-dri3-0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-dri3-0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxcb-glx0:amd64. Preparing to unpack .../libxcb-glx0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-glx0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxcb-present0:amd64. Preparing to unpack .../libxcb-present0_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-present0:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxcb-sync1:amd64. Preparing to unpack .../libxcb-sync1_1.10-2ubuntu1_amd64.deb ... Unpacking libxcb-sync1:amd64 (1.10-2ubuntu1) ... Selecting previously unselected package libxdamage1:amd64. Preparing to unpack .../libxdamage1_1%3a1.1.4-1ubuntu1_amd64.deb ... Unpacking libxdamage1:amd64 (1:1.1.4-1ubuntu1) ... Selecting previously unselected package libxfixes3:amd64. Preparing to unpack .../libxfixes3_1%3a5.0.1-1ubuntu1.1_amd64.deb ... Unpacking libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ... Selecting previously unselected package libxshmfence1:amd64. Preparing to unpack .../libxshmfence1_1.1-2_amd64.deb ... Unpacking libxshmfence1:amd64 (1.1-2) ... Selecting previously unselected package libxxf86vm1:amd64. Preparing to unpack .../libxxf86vm1_1%3a1.1.3-1_amd64.deb ... Unpacking libxxf86vm1:amd64 (1:1.1.3-1) ... Selecting previously unselected package libgl1-mesa-glx:amd64. Preparing to unpack .../libgl1-mesa-glx_10.1.3-0ubuntu0.6_amd64.deb ... Unpacking libgl1-mesa-glx:amd64 (10.1.3-0ubuntu0.6) ... Selecting previously unselected package libgraphite2-3:amd64. Preparing to unpack .../libgraphite2-3_1.3.6-1ubuntu0.14.04.1_amd64.deb ... Unpacking libgraphite2-3:amd64 (1.3.6-1ubuntu0.14.04.1) ... Selecting previously unselected package libgtk2.0-common. Preparing to unpack .../libgtk2.0-common_2.24.23-0ubuntu1.4_all.deb ... Unpacking libgtk2.0-common (2.24.23-0ubuntu1.4) ... Selecting previously unselected package libthai-data. Preparing to unpack .../libthai-data_0.1.20-3_all.deb ... Unpacking libthai-data (0.1.20-3) ... Selecting previously unselected package libthai0:amd64. Preparing to unpack .../libthai0_0.1.20-3_amd64.deb ... Unpacking libthai0:amd64 (0.1.20-3) ... Selecting previously unselected package fontconfig. Preparing to unpack .../fontconfig_2.11.0-0ubuntu4.1_amd64.deb ... Unpacking fontconfig (2.11.0-0ubuntu4.1) ... Selecting previously unselected package libpango-1.0-0:amd64. Preparing to unpack .../libpango-1.0-0_1.36.3-1ubuntu1.1_amd64.deb ... Unpacking libpango-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Selecting previously unselected package libharfbuzz0b:amd64. Preparing to unpack .../libharfbuzz0b_0.9.27-1ubuntu1_amd64.deb ... Unpacking libharfbuzz0b:amd64 (0.9.27-1ubuntu1) ... Selecting previously unselected package libpangoft2-1.0-0:amd64. Preparing to unpack .../libpangoft2-1.0-0_1.36.3-1ubuntu1.1_amd64.deb ... Unpacking libpangoft2-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Selecting previously unselected package libpangocairo-1.0-0:amd64. Preparing to unpack .../libpangocairo-1.0-0_1.36.3-1ubuntu1.1_amd64.deb ... Unpacking libpangocairo-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Selecting previously unselected package libxcomposite1:amd64. Preparing to unpack .../libxcomposite1_1%3a0.4.4-1_amd64.deb ... Unpacking libxcomposite1:amd64 (1:0.4.4-1) ... Selecting previously unselected package libxcursor1:amd64. Preparing to unpack .../libxcursor1_1%3a1.1.14-1_amd64.deb ... Unpacking libxcursor1:amd64 (1:1.1.14-1) ... Selecting previously unselected package libxi6:amd64. Preparing to unpack .../libxi6_2%3a1.7.1.901-1ubuntu1.1_amd64.deb ... Unpacking libxi6:amd64 (2:1.7.1.901-1ubuntu1.1) ... Selecting previously unselected package libxinerama1:amd64. Preparing to unpack .../libxinerama1_2%3a1.1.3-1_amd64.deb ... Unpacking libxinerama1:amd64 (2:1.1.3-1) ... Selecting previously unselected package libxrandr2:amd64. Preparing to unpack .../libxrandr2_2%3a1.4.2-1_amd64.deb ... Unpacking libxrandr2:amd64 (2:1.4.2-1) ... Selecting previously unselected package libgtk2.0-0:amd64. Preparing to unpack .../libgtk2.0-0_2.24.23-0ubuntu1.4_amd64.deb ... Unpacking libgtk2.0-0:amd64 (2.24.23-0ubuntu1.4) ... Selecting previously unselected package libharfbuzz-icu0:amd64. Preparing to unpack .../libharfbuzz-icu0_0.9.27-1ubuntu1_amd64.deb ... Unpacking libharfbuzz-icu0:amd64 (0.9.27-1ubuntu1) ... Selecting previously unselected package libhunspell-1.3-0:amd64. Preparing to unpack .../libhunspell-1.3-0_1.3.2-6ubuntu2.1_amd64.deb ... Unpacking libhunspell-1.3-0:amd64 (1.3.2-6ubuntu2.1) ... Selecting previously unselected package x11-common. Preparing to unpack .../x11-common_1%3a7.7+1ubuntu8.1_all.deb ... Unpacking x11-common (1:7.7+1ubuntu8.1) ... Selecting previously unselected package libice6:amd64. Preparing to unpack .../libice6_2%3a1.0.8-2_amd64.deb ... Unpacking libice6:amd64 (2:1.0.8-2) ... Selecting previously unselected package liblcms2-2:amd64. Preparing to unpack .../liblcms2-2_2.5-0ubuntu4_amd64.deb ... Unpacking liblcms2-2:amd64 (2.5-0ubuntu4) ... Selecting previously unselected package libmhash2:amd64. Preparing to unpack .../libmhash2_0.9.9.9-4_amd64.deb ... Unpacking libmhash2:amd64 (0.9.9.9-4) ... Selecting previously unselected package libnspr4:amd64. Preparing to unpack .../libnspr4_2%3a4.10.10-0ubuntu0.14.04.1_amd64.deb ... Unpacking libnspr4:amd64 (2:4.10.10-0ubuntu0.14.04.1) ... Selecting previously unselected package libnss3-nssdb. Preparing to unpack .../libnss3-nssdb_2%3a3.21-0ubuntu0.14.04.2_all.deb ... Unpacking libnss3-nssdb (2:3.21-0ubuntu0.14.04.2) ... Selecting previously unselected package libnss3:amd64. Preparing to unpack .../libnss3_2%3a3.21-0ubuntu0.14.04.2_amd64.deb ... Unpacking libnss3:amd64 (2:3.21-0ubuntu0.14.04.2) ... Selecting previously unselected package libpython3.4:amd64. Preparing to unpack .../libpython3.4_3.4.3-1ubuntu1~14.04.3_amd64.deb ... Unpacking libpython3.4:amd64 (3.4.3-1ubuntu1~14.04.3) ... Selecting previously unselected package libyajl2:amd64. Preparing to unpack .../libyajl2_2.0.4-4_amd64.deb ... Unpacking libyajl2:amd64 (2.0.4-4) ... Selecting previously unselected package libraptor2-0:amd64. Preparing to unpack .../libraptor2-0_2.0.13-1_amd64.deb ... Unpacking libraptor2-0:amd64 (2.0.13-1) ... Selecting previously unselected package librasqal3:amd64. Preparing to unpack .../librasqal3_0.9.32-1_amd64.deb ... Unpacking librasqal3:amd64 (0.9.32-1) ... Selecting previously unselected package librdf0:amd64. Preparing to unpack .../librdf0_1.0.17-1_amd64.deb ... Unpacking librdf0:amd64 (1.0.17-1) ... Selecting previously unselected package libreoffice-style-galaxy. Preparing to unpack .../libreoffice-style-galaxy_1%3a4.2.8-0ubuntu4_all.deb ... Unpacking libreoffice-style-galaxy (1:4.2.8-0ubuntu4) ... Selecting previously unselected package uno-libs3. Preparing to unpack .../uno-libs3_4.2.8-0ubuntu4_amd64.deb ... Unpacking uno-libs3 (4.2.8-0ubuntu4) ... Selecting previously unselected package ure. Preparing to unpack .../ure_4.2.8-0ubuntu4_amd64.deb ... Unpacking ure (4.2.8-0ubuntu4) ... Selecting previously unselected package libreoffice-common. Preparing to unpack .../libreoffice-common_1%3a4.2.8-0ubuntu4_all.deb ... Unpacking libreoffice-common (1:4.2.8-0ubuntu4) ... Selecting previously unselected package libsm6:amd64. Preparing to unpack .../libsm6_2%3a1.2.1-2_amd64.deb ... Unpacking libsm6:amd64 (2:1.2.1-2) ... Selecting previously unselected package libxfont1:amd64. Preparing to unpack .../libxfont1_1%3a1.4.7-1ubuntu0.2_amd64.deb ... Unpacking libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ... Selecting previously unselected package libxt6:amd64. Preparing to unpack .../libxt6_1%3a1.1.4-1_amd64.deb ... Unpacking libxt6:amd64 (1:1.1.4-1) ... Selecting previously unselected package libglu1-mesa:amd64. Preparing to unpack .../libglu1-mesa_9.0.0-2_amd64.deb ... Unpacking libglu1-mesa:amd64 (9.0.0-2) ... Selecting previously unselected package libtxc-dxtn-s2tc0:amd64. Preparing to unpack .../libtxc-dxtn-s2tc0_0~git20131104-1.1_amd64.deb ... Unpacking libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ... Selecting previously unselected package dictionaries-common. Preparing to unpack .../dictionaries-common_1.20.5_all.deb ... Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' Unpacking dictionaries-common (1.20.5) ... Selecting previously unselected package fonts-opensymbol. Preparing to unpack .../fonts-opensymbol_2%3a102.6+LibO4.2.8-0ubuntu4_all.deb ... Unpacking fonts-opensymbol (2:102.6+LibO4.2.8-0ubuntu4) ... Selecting previously unselected package gconf-service-backend. Preparing to unpack .../gconf-service-backend_3.2.6-0ubuntu2_amd64.deb ... Unpacking gconf-service-backend (3.2.6-0ubuntu2) ... Selecting previously unselected package gconf-service. Preparing to unpack .../gconf-service_3.2.6-0ubuntu2_amd64.deb ... Unpacking gconf-service (3.2.6-0ubuntu2) ... Selecting previously unselected package hicolor-icon-theme. Preparing to unpack .../hicolor-icon-theme_0.13-1_all.deb ... Unpacking hicolor-icon-theme (0.13-1) ... Selecting previously unselected package hunspell-en-us. Preparing to unpack .../hunspell-en-us_20070829-4ubuntu3_all.deb ... Unpacking hunspell-en-us (20070829-4ubuntu3) ... Selecting previously unselected package libcmis-0.4-4. Preparing to unpack .../libcmis-0.4-4_0.4.1-3ubuntu4_amd64.deb ... Unpacking libcmis-0.4-4 (0.4.1-3ubuntu4) ... Selecting previously unselected package libexttextcat-data. Preparing to unpack .../libexttextcat-data_3.4.3-1ubuntu1_all.deb ... Unpacking libexttextcat-data (3.4.3-1ubuntu1) ... Selecting previously unselected package libexttextcat-2.0-0. Preparing to unpack .../libexttextcat-2.0-0_3.4.3-1ubuntu1_amd64.deb ... Unpacking libexttextcat-2.0-0 (3.4.3-1ubuntu1) ... Selecting previously unselected package libgtk2.0-bin. Preparing to unpack .../libgtk2.0-bin_2.24.23-0ubuntu1.4_amd64.deb ... Unpacking libgtk2.0-bin (2.24.23-0ubuntu1.4) ... Selecting previously unselected package libhyphen0. Preparing to unpack .../libhyphen0_2.8.6-3ubuntu2_amd64.deb ... Unpacking libhyphen0 (2.8.6-3ubuntu2) ... Selecting previously unselected package liblangtag-common. Preparing to unpack .../liblangtag-common_0.5.1-2_all.deb ... Unpacking liblangtag-common (0.5.1-2) ... Selecting previously unselected package liblangtag1. Preparing to unpack .../liblangtag1_0.5.1-2_amd64.deb ... Unpacking liblangtag1 (0.5.1-2) ... Selecting previously unselected package libmythes-1.2-0. Preparing to unpack .../libmythes-1.2-0_2%3a1.2.2-1ubuntu2_amd64.deb ... Unpacking libmythes-1.2-0 (2:1.2.2-1ubuntu2) ... Selecting previously unselected package libneon27-gnutls. Preparing to unpack .../libneon27-gnutls_0.30.0-1ubuntu1_amd64.deb ... Unpacking libneon27-gnutls (0.30.0-1ubuntu1) ... Selecting previously unselected package lp-solve. Preparing to unpack .../lp-solve_5.5.0.13-7build1_amd64.deb ... Unpacking lp-solve (5.5.0.13-7build1) ... Selecting previously unselected package libreoffice-core. Preparing to unpack .../libreoffice-core_1%3a4.2.8-0ubuntu4_amd64.deb ... Unpacking libreoffice-core (1:4.2.8-0ubuntu4) ... Selecting previously unselected package libreoffice-base-core. Preparing to unpack .../libreoffice-base-core_1%3a4.2.8-0ubuntu4_amd64.deb ... Unpacking libreoffice-base-core (1:4.2.8-0ubuntu4) ... Selecting previously unselected package libreoffice-math. Preparing to unpack .../libreoffice-math_1%3a4.2.8-0ubuntu4_amd64.deb ... Unpacking libreoffice-math (1:4.2.8-0ubuntu4) ... Selecting previously unselected package libwpd-0.9-9. Preparing to unpack .../libwpd-0.9-9_0.9.9-1_amd64.deb ... Unpacking libwpd-0.9-9 (0.9.9-1) ... Selecting previously unselected package libwpg-0.2-2. Preparing to unpack .../libwpg-0.2-2_0.2.2-1ubuntu1_amd64.deb ... Unpacking libwpg-0.2-2 (0.2.2-1ubuntu1) ... Selecting previously unselected package libwps-0.2-2. Preparing to unpack .../libwps-0.2-2_0.2.9-2ubuntu1_amd64.deb ... Unpacking libwps-0.2-2 (0.2.9-2ubuntu1) ... Selecting previously unselected package libreoffice-writer. Preparing to unpack .../libreoffice-writer_1%3a4.2.8-0ubuntu4_amd64.deb ... Unpacking libreoffice-writer (1:4.2.8-0ubuntu4) ... Selecting previously unselected package php5-apcu. Preparing to unpack .../php5-apcu_4.0.10-1+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5-apcu (4.0.10-1+deb.sury.org~trusty+2) ... Selecting previously unselected package python3-uno. Preparing to unpack .../python3-uno_1%3a4.2.8-0ubuntu4_amd64.deb ... Unpacking python3-uno (1:4.2.8-0ubuntu4) ... Selecting previously unselected package xfonts-encodings. Preparing to unpack .../xfonts-encodings_1%3a1.0.4-1ubuntu1_all.deb ... Unpacking xfonts-encodings (1:1.0.4-1ubuntu1) ... Selecting previously unselected package xfonts-utils. Preparing to unpack .../xfonts-utils_1%3a7.7+1_amd64.deb ... Unpacking xfonts-utils (1:7.7+1) ... Selecting previously unselected package php-apc. Preparing to unpack .../php-apc_4.0.10-1+deb.sury.org~trusty+2_all.deb ... Unpacking php-apc (4.0.10-1+deb.sury.org~trusty+2) ... Selecting previously unselected package xfonts-mathml. Preparing to unpack .../xfonts-mathml_6ubuntu1_all.deb ... Unpacking xfonts-mathml (6ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... ureadahead will be reprofiled on next reboot Processing triggers for mime-support (3.54ubuntu1.1) ... Processing triggers for shared-mime-info (1.2-0ubuntu3) ... Setting up libatk1.0-data (2.10.0-2ubuntu2) ... Setting up libatk1.0-0:amd64 (2.10.0-2ubuntu2) ... Setting up libavahi-common-data:amd64 (0.6.31-4ubuntu1) ... Setting up libavahi-common3:amd64 (0.6.31-4ubuntu1) ... Setting up libavahi-client3:amd64 (0.6.31-4ubuntu1) ... Setting up libboost-date-time1.54.0:amd64 (1.54.0-4ubuntu3.1) ... Setting up libpixman-1-0:amd64 (0.30.2-2ubuntu1.1) ... Setting up libxcb-render0:amd64 (1.10-2ubuntu1) ... Setting up libxcb-shm0:amd64 (1.10-2ubuntu1) ... Setting up libxrender1:amd64 (1:0.9.8-1build0.14.04.1) ... Setting up libcairo2:amd64 (1.13.0~20140204-0ubuntu1.1) ... Setting up libclucene-core1:amd64 (2.3.3.4-4build1) ... Setting up libclucene-contribs1:amd64 (2.3.3.4-4build1) ... Setting up libcolamd2.8.0:amd64 (1:4.2.1-3ubuntu1) ... Setting up libcups2:amd64 (1.7.2-0ubuntu1.7) ... Setting up libdatrie1:amd64 (0.2.8-1) ... Setting up libpciaccess0:amd64 (0.13.2-1) ... Setting up libdrm-intel1:amd64 (2.4.64-1~ubuntu14.04.1) ... Setting up libdrm-nouveau2:amd64 (2.4.64-1~ubuntu14.04.1) ... Setting up libdrm-radeon1:amd64 (2.4.64-1~ubuntu14.04.1) ... Setting up libfontenc1:amd64 (1:1.1.2-1) ... Setting up gconf2-common (3.2.6-0ubuntu2) ... Creating config file /etc/gconf/2/path with new version Setting up libgconf-2-4:amd64 (3.2.6-0ubuntu2) ... Setting up libjasper1:amd64 (1.900.1-14ubuntu3.3) ... Setting up libgdk-pixbuf2.0-common (2.30.7-0ubuntu1.2) ... Setting up libgdk-pixbuf2.0-0:amd64 (2.30.7-0ubuntu1.2) ... Setting up libllvm3.4:amd64 (1:3.4-1ubuntu3) ... Setting up libgl1-mesa-dri:amd64 (10.1.3-0ubuntu0.6) ... Setting up libglapi-mesa:amd64 (10.1.3-0ubuntu0.6) ... Setting up libx11-xcb1:amd64 (2:1.6.2-1ubuntu2) ... Setting up libxcb-dri2-0:amd64 (1.10-2ubuntu1) ... Setting up libxcb-dri3-0:amd64 (1.10-2ubuntu1) ... Setting up libxcb-glx0:amd64 (1.10-2ubuntu1) ... Setting up libxcb-present0:amd64 (1.10-2ubuntu1) ... Setting up libxcb-sync1:amd64 (1.10-2ubuntu1) ... Setting up libxdamage1:amd64 (1:1.1.4-1ubuntu1) ... Setting up libxfixes3:amd64 (1:5.0.1-1ubuntu1.1) ... Setting up libxshmfence1:amd64 (1.1-2) ... Setting up libxxf86vm1:amd64 (1:1.1.3-1) ... Setting up libgl1-mesa-glx:amd64 (10.1.3-0ubuntu0.6) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode Setting up libgraphite2-3:amd64 (1.3.6-1ubuntu0.14.04.1) ... Setting up libgtk2.0-common (2.24.23-0ubuntu1.4) ... Setting up libthai-data (0.1.20-3) ... Setting up libthai0:amd64 (0.1.20-3) ... Setting up fontconfig (2.11.0-0ubuntu4.1) ... Regenerating fonts cache... done. Setting up libpango-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Setting up libharfbuzz0b:amd64 (0.9.27-1ubuntu1) ... Setting up libpangoft2-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Setting up libpangocairo-1.0-0:amd64 (1.36.3-1ubuntu1.1) ... Setting up libxcomposite1:amd64 (1:0.4.4-1) ... Setting up libxcursor1:amd64 (1:1.1.14-1) ... Setting up libxi6:amd64 (2:1.7.1.901-1ubuntu1.1) ... Setting up libxinerama1:amd64 (2:1.1.3-1) ... Setting up libxrandr2:amd64 (2:1.4.2-1) ... Setting up libgtk2.0-0:amd64 (2.24.23-0ubuntu1.4) ... Setting up libharfbuzz-icu0:amd64 (0.9.27-1ubuntu1) ... Setting up libhunspell-1.3-0:amd64 (1.3.2-6ubuntu2.1) ... Setting up x11-common (1:7.7+1ubuntu8.1) ... * Setting up X socket directories... [ OK ] Setting up liblcms2-2:amd64 (2.5-0ubuntu4) ... Setting up libmhash2:amd64 (0.9.9.9-4) ... Setting up libnspr4:amd64 (2:4.10.10-0ubuntu0.14.04.1) ... Setting up libpython3.4:amd64 (3.4.3-1ubuntu1~14.04.3) ... Setting up libyajl2:amd64 (2.0.4-4) ... Setting up libraptor2-0:amd64 (2.0.13-1) ... Setting up librasqal3:amd64 (0.9.32-1) ... Setting up librdf0:amd64 (1.0.17-1) ... Setting up libreoffice-style-galaxy (1:4.2.8-0ubuntu4) ... Setting up uno-libs3 (4.2.8-0ubuntu4) ... Setting up ure (4.2.8-0ubuntu4) ... Setting up libreoffice-common (1:4.2.8-0ubuntu4) ... Setting up libxfont1:amd64 (1:1.4.7-1ubuntu0.2) ... Setting up libglu1-mesa:amd64 (9.0.0-2) ... Setting up libtxc-dxtn-s2tc0:amd64 (0~git20131104-1.1) ... update-alternatives: using /usr/lib/x86_64-linux-gnu/libtxc_dxtn_s2tc.so.0 to provide /usr/lib/x86_64-linux-gnu/libtxc_dxtn.so (libtxc-dxtn-x86_64-linux-gnu) in auto mode Setting up dictionaries-common (1.20.5) ... Setting up fonts-opensymbol (2:102.6+LibO4.2.8-0ubuntu4) ... Setting up hicolor-icon-theme (0.13-1) ... Setting up libcmis-0.4-4 (0.4.1-3ubuntu4) ... Setting up libexttextcat-data (3.4.3-1ubuntu1) ... Setting up libexttextcat-2.0-0 (3.4.3-1ubuntu1) ... Setting up libgtk2.0-bin (2.24.23-0ubuntu1.4) ... Setting up libhyphen0 (2.8.6-3ubuntu2) ... Setting up liblangtag-common (0.5.1-2) ... Setting up liblangtag1 (0.5.1-2) ... Setting up libmythes-1.2-0 (2:1.2.2-1ubuntu2) ... Setting up libneon27-gnutls (0.30.0-1ubuntu1) ... Setting up lp-solve (5.5.0.13-7build1) ... Setting up libwpd-0.9-9 (0.9.9-1) ... Setting up libwpg-0.2-2 (0.2.2-1ubuntu1) ... Setting up libwps-0.2-2 (0.2.9-2ubuntu1) ... Setting up php5-apcu (4.0.10-1+deb.sury.org~trusty+2) ... php5_invoke: Enable module apcu for cli SAPI php5_invoke: Enable module apcu for cgi SAPI php5_invoke: Enable module apcu for apache2 SAPI Setting up php-apc (4.0.10-1+deb.sury.org~trusty+2) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ... Setting up xfonts-utils (1:7.7+1) ... Setting up xfonts-mathml (6ubuntu1) ... Setting up libice6:amd64 (2:1.0.8-2) ... Setting up libsm6:amd64 (2:1.2.1-2) ... Setting up libxt6:amd64 (1:1.1.4-1) ... Processing triggers for dictionaries-common (1.20.5) ... Setting up hunspell-en-us (20070829-4ubuntu3) ... Setting up libnss3-nssdb (2:3.21-0ubuntu0.14.04.2) ... Setting up libnss3:amd64 (2:3.21-0ubuntu0.14.04.2) ... Setting up gconf-service-backend (3.2.6-0ubuntu2) ... Setting up gconf-service (3.2.6-0ubuntu2) ... Setting up libreoffice-core (1:4.2.8-0ubuntu4) ... Setting up libreoffice-base-core (1:4.2.8-0ubuntu4) ... Setting up libreoffice-math (1:4.2.8-0ubuntu4) ... Setting up libreoffice-writer (1:4.2.8-0ubuntu4) ... Setting up python3-uno (1:4.2.8-0ubuntu4) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... |
Zunächst deaktivieren wir die Apachekonfiguration für Owncloud wieder.
1 2 3 4 5 6 7 | $ a2disconf owncloud Conf owncloud disabled. To activate the new configuration, you need to run: service apache2 reload $ service apache2 reload * Reloading web server apache2 * |
Dann legen wir eine Virtualhostkonfiguration für unsere Owncloud Instanz an.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | $ cat /etc/apache2/sites-available/003-owncloud-le-ssl.conf <IfModule mod_ssl.c> <VirtualHost mysubdomain.mydomian.tld:443> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. ServerName mysubdomain.mydomain.tld ServerAlias www.mysubdomain.mydomain.tld ServerAdmin webmaster@mydomain.tld DocumentRoot /var/www/owncloud <Directory "/var/www/owncloud"> Options FollowSymLinks AllowOverride All # Require all granted Require local Include /etc/apache2/misc/my-current-admin-host.conf <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/owncloud SetEnv HTTP_HOME /var/www/owncloud </Directory> <Directory "/var/www/owncloud/data/"> # just in case if .htaccess gets disabled Require all denied </Directory> # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with "a2disconf". #Include conf-available/serve-cgi-bin.conf SSLCertificateFile /etc/letsencrypt/live/mysubdomain.mydomain.tld/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/mysubdomain.mydomain.tld/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateChainFile /etc/letsencrypt/live/mysubdomain.mydomain.tld/chain.pem </VirtualHost> # vim: syntax=apache ts=4 sw=4 sts=4 sr noet </IfModule> |
Zunächst ist hier eine Einschränkung des Zugriffs von unserem Admin-Host bzw. unseres Heimnetzwerks konfiguriert. Diese werden wir erst entfernen, wenn unsere Owncloud Instanz fertig konfiguriert und getestet ist. Details hierzu und zur Erstellung der Let’s Encrypt SSL-Zertifikate könnt Ihr in meiner Artikelserie Mein 1&1 cloud server nachlesen.
Bevor wir die Apachekonfiguration für unsere Owncloud Instanz aktivieren, haben wir vorher noch eine Paar Dinge zu erledigen.
Owncloud benötigt für Transactional File Locking den Memory Cache Redis. Da die offiziell aus den Ubuntu Repositories verfügbaren Versionen zu alt sind werden wir die erforderlichen Pakete aus Personal Package Archiven (PPA) auf Launchpad installieren. Das php5-redis Modul ist in der Version 2.2.7 aus dem PHP 5.6 PPA von Ondřej Surý verfügbar, das wir bereits zu einem früheren Zeitpunkt unseren Paketquellen hinzugefügt haben. Das folgende Kommando zeigt die verfügbaren Versionen.
1 2 3 4 5 6 7 8 9 | $ apt-cache policy php5-redis php5-redis: Installed: (none) Candidate: 2.2.7-1+deb.sury.org~trusty+1 Version table: 2.2.7-1+deb.sury.org~trusty+1 0 500 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main amd64 Packages 2.2.4-1build2 0 500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages |
Für den Memory Cache Redis benutzen wir redis-server PPA von Chris Lea. Das PPA fügen wir wie folgt zu unseren Paketquellen hinzu.
1 2 3 4 5 6 7 8 9 10 11 12 13 | $ add-apt-repository ppa:chris-lea/redis-server Redis is an open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. More info: https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpfbd5br6c/secring.gpg' created gpg: keyring `/tmp/tmpfbd5br6c/pubring.gpg' created gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpfbd5br6c/trustdb.gpg: trustdb created gpg: key C7917B12: public key "Launchpad chrislea" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK |
Anschließend aktualisieren wir unsere Paketquellen mit dem Kommando „apt-get update“ und installieren zum Schluss die benötigten redis Pakete.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | $ apt-get install php5-redis redis-server redis-tools Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libjemalloc1 The following NEW packages will be installed: libjemalloc1 php5-redis redis-server redis-tools 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 587 kB of archives. After this operation, 1,792 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main php5-redis amd64 2.2.7-1+deb.sury.org~trusty+1 [88.8 kB] Get:2 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main libjemalloc1 amd64 3.6.0-1chl1~trusty1 [77.2 kB] Get:3 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main redis-tools amd64 3:3.0.7-1chl1~trusty1 [84.5 kB] Get:4 http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/ trusty/main redis-server amd64 3:3.0.7-1chl1~trusty1 [336 kB] Fetched 587 kB in 0s (2,591 kB/s) Selecting previously unselected package php5-redis. (Reading database ... 112943 files and directories currently installed.) Preparing to unpack .../php5-redis_2.2.7-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php5-redis (2.2.7-1+deb.sury.org~trusty+1) ... Selecting previously unselected package libjemalloc1. Preparing to unpack .../libjemalloc1_3.6.0-1chl1~trusty1_amd64.deb ... Unpacking libjemalloc1 (3.6.0-1chl1~trusty1) ... Selecting previously unselected package redis-tools. Preparing to unpack .../redis-tools_3%3a3.0.7-1chl1~trusty1_amd64.deb ... Unpacking redis-tools (3:3.0.7-1chl1~trusty1) ... Selecting previously unselected package redis-server. Preparing to unpack .../redis-server_3%3a3.0.7-1chl1~trusty1_amd64.deb ... Unpacking redis-server (3:3.0.7-1chl1~trusty1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up php5-redis (2.2.7-1+deb.sury.org~trusty+1) ... php5_invoke: Enable module redis for cgi SAPI php5_invoke: Enable module redis for cli SAPI php5_invoke: Enable module redis for apache2 SAPI Setting up libjemalloc1 (3.6.0-1chl1~trusty1) ... Setting up redis-tools (3:3.0.7-1chl1~trusty1) ... Setting up redis-server (3:3.0.7-1chl1~trusty1) ... Starting redis-server: redis-server. Processing triggers for libc-bin (2.19-0ubuntu6.7) ... Processing triggers for ureadahead (0.100.0-16) ... |
Der Redis Server wird automatisch gestartet. Wir werfen einen Blick in das Server Log.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | $ cat /var/log/redis/redis-server.log 34606:M 24 Mar 15:48:38.042 # You requested maxclients of 10000 requiring at least 10032 max file descriptors. 34606:M 24 Mar 15:48:38.042 # Redis can't set maximum open files to 10032 because of OS error: Operation not permitted. 34606:M 24 Mar 15:48:38.042 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 3.0.7 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 34606 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 34606:M 24 Mar 15:48:38.042 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 34606:M 24 Mar 15:48:38.042 # Server started, Redis version 3.0.7 34606:M 24 Mar 15:48:38.042 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. 34606:M 24 Mar 15:48:38.042 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. 34606:M 24 Mar 15:48:38.042 * The server is now ready to accept connections on port 6379 |
Das Log verrät uns, dass wir ein paar Optimierungen durchführen sollten. Zunächst passen wir die Redis Konfigurationsdatei /etc/redis/redis.conf an. Da ich momentan keine große Anzahl an Clients benötige können wir das TCP Backlog und die maximale Anzahl der Clients reduzieren. Hinter der Zeile für die Portkonfiguration fügen wir den folgenden Block ein.
1 2 3 4 5 6 7 8 | # TCP listen() backlog. # # In high requests-per-second environments you need an high backlog in order # to avoid slow clients connections issues. Note that the Linux kernel # will silently truncate it to the value of /proc/sys/net/core/somaxconn so # make sure to raise both the value of somaxconn and tcp_max_syn_backlog # in order to get the desired effect. tcp-backlog 127 |
Die maximale Anzahl der Clients setzen wir auf 900.
1 2 3 4 5 6 7 8 9 10 | # Set the max number of connected clients at the same time. By default # this limit is set to 10000 clients, however if the Redis server is not # able to configure the process file limit to allow for the specified limit # the max number of allowed clients is set to the current file limit # minus 32 (as Redis reserves a few file descriptors for internal uses). # # Once the limit is reached Redis will close all the new connections sending # an error 'max number of clients reached'. # maxclients 900 |
Zum aktivieren des Memory Overcommit führen wir das folgende Kommando aus und fügen wir eine Zeile zur Konfigurationsdatei /etc/sysctl.conf hinzu, um sicherzustellen, dass Memory Overcommit bei jedem Boot aktiviert wird.
1 2 3 | $ sysctl vm.overcommit_memory=1 vm.overcommit_memory = 1 $ echo "vm.overcommit_memory = 1" >>/etc/sysctl.conf |
Zum Deaktivieren der Transparent Huge Pages führen wir das folgende Kommando aus.
1 | echo never > /sys/kernel/mm/transparent_hugepage/enabled |
Wenn wir den Redis Server nun mit „service redis-server restart“ neu starten und ins Server Log schauen, sehen wir, dass die Warnungen verschwunden sind. Nun müssen wir noch sicherstellen, dass die Tranparent Huge Pages bei jedem Start des Servers deaktiviert werden, bevor der Redis Server startet. Hierzu legen wir im Verzeichnis /etc/init.d eine neue Datei boot.local mit dem folgenden Inhalt an.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | $ cat /etc/init.d/boot.local #! /bin/sh ### BEGIN INIT INFO # Provides: boot.local # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: # Short-Description: Set some kernel variables. ### END INIT INFO PATH=/sbin:/usr/sbin:/bin:/usr/bin . /lib/init/vars.sh . /lib/lsb/init-functions do_start() { echo never > /sys/kernel/mm/transparent_hugepage/enabled } case "$1" in start) do_start ;; restart|reload|force-reload) echo "Error: argument '$1' not supported" >&2 exit 3 ;; stop) ;; *) echo "Usage: $0 start|stop" >&2 exit 3 ;; esac |
Anschließend müssen wir die Ausführung beim Boot noch aktivieren indem wir update-rc.d ausführen, um die symbolischen Links für die verschiedenen Runlevel anlegen zu lassen.
1 2 3 4 5 6 7 8 9 10 | $ update-rc.d boot.local defaults update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match boot.local Default-Stop values (none) Adding system startup for /etc/init.d/boot.local ... /etc/rc0.d/K20boot.local -> ../init.d/boot.local /etc/rc1.d/K20boot.local -> ../init.d/boot.local /etc/rc6.d/K20boot.local -> ../init.d/boot.local /etc/rc2.d/S20boot.local -> ../init.d/boot.local /etc/rc3.d/S20boot.local -> ../init.d/boot.local /etc/rc4.d/S20boot.local -> ../init.d/boot.local /etc/rc5.d/S20boot.local -> ../init.d/boot.local |
Nun installieren wir noch einige php Module.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | $ apt-get install php5.6-bz2 php5.6-gmp php5.6-imap php5.6-mbstring php5.6-xml php5.6-zip php-memcached php-imagick Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ghostscript gsfonts imagemagick-common libc-client2007e libcupsfilters1 libcupsimage2 libfftw3-double3 libgs9 libgs9-common libijs-0.35 libjbig2dec0 liblqr-1-0 libmagickcore5 libmagickwand5 libmemcached11 libpaper-utils libpaper1 libzip4 mlock php-igbinary php-msgpack php5.6-common poppler-data ttf-dejavu-core Suggested packages: ghostscript-x hpijs uw-mailutils libfftw3-bin libfftw3-dev fonts-droid libmagickcore5-extra poppler-utils fonts-japanese-mincho fonts-ipafont-mincho fonts-japanese-gothic fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-unfonts-core The following NEW packages will be installed: ghostscript gsfonts imagemagick-common libc-client2007e libcupsfilters1 libcupsimage2 libfftw3-double3 libgs9 libgs9-common libijs-0.35 libjbig2dec0 liblqr-1-0 libmagickcore5 libmagickwand5 libmemcached11 libpaper-utils libpaper1 libzip4 mlock php-igbinary php-imagick php-memcached php-msgpack php5.6-bz2 php5.6-common php5.6-gmp php5.6-imap php5.6-mbstring php5.6-xml php5.6-zip poppler-data ttf-dejavu-core 0 upgraded, 32 newly installed, 0 to remove and 0 not upgraded. Need to get 14.0 MB of archives. After this operation, 55.0 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libmemcached11 amd64 1.0.18-5+deb.sury.org~trusty+2 [94.6 kB] Get:2 http://de.archive.ubuntu.com/ubuntu/ trusty/main imagemagick-common all 8:6.7.7.10-6ubuntu3 [37.2 kB] Get:3 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libcupsfilters1 amd64 1.0.52-0ubuntu1.7 [73.8 kB] Get:4 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main libzip4 amd64 1.1.1-1.1+deb.sury.org~trusty+2 [37.7 kB] Get:5 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libcupsimage2 amd64 1.7.2-0ubuntu1.7 [15.4 kB] Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php-igbinary amd64 1.2.1-10-ge0e66b9+1.2.1-2+deb.sury.org~trusty+6 [34.7 kB] Get:7 http://de.archive.ubuntu.com/ubuntu/ trusty/main libfftw3-double3 amd64 3.3.3-7ubuntu3 [702 kB] Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php-imagick amd64 3.4.0-1+deb.sury.org~trusty+1 [140 kB] Get:9 http://de.archive.ubuntu.com/ubuntu/ trusty/main liblqr-1-0 amd64 0.4.1-2ubuntu1 [23.4 kB] Get:10 http://de.archive.ubuntu.com/ubuntu/ trusty/main libmagickcore5 amd64 8:6.7.7.10-6ubuntu3 [1,469 kB] Get:11 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php-msgpack amd64 2.0.1+0.5.7-1+deb.sury.org~trusty+1 [52.2 kB] Get:12 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php-memcached amd64 3.0.0a1-10-gffd1c64+2.2.0-1+deb.sury.org~trusty+1 [58.8 kB] Get:13 http://de.archive.ubuntu.com/ubuntu/ trusty/main libmagickwand5 amd64 8:6.7.7.10-6ubuntu3 [266 kB] Get:14 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-common amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [709 kB] Get:15 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpaper1 amd64 1.1.24+nmu2ubuntu3 [13.4 kB] Get:16 http://de.archive.ubuntu.com/ubuntu/ trusty/main poppler-data all 0.4.6-4 [1,479 kB] Get:17 http://de.archive.ubuntu.com/ubuntu/ trusty/main libijs-0.35 amd64 0.35-8build1 [16.8 kB] Get:18 http://de.archive.ubuntu.com/ubuntu/ trusty/main libjbig2dec0 amd64 0.11+20120125-1ubuntu1 [48.6 kB] Get:19 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9-common all 9.10~dfsg-0ubuntu10.4 [2,066 kB] Get:20 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-bz2 amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [10.4 kB] Get:21 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-gmp amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [21.5 kB] Get:22 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main libgs9 amd64 9.10~dfsg-0ubuntu10.4 [1,943 kB] Get:23 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-imap amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [30.6 kB] Get:24 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-mbstring amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [460 kB] Get:25 http://de.archive.ubuntu.com/ubuntu/ trusty/main gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB] Get:26 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main ghostscript amd64 9.10~dfsg-0ubuntu10.4 [40.8 kB] Get:27 http://de.archive.ubuntu.com/ubuntu/ trusty/universe mlock amd64 8:2007f~dfsg-2 [12.2 kB] Get:28 http://de.archive.ubuntu.com/ubuntu/ trusty/universe libc-client2007e amd64 8:2007f~dfsg-2 [575 kB] Get:29 http://de.archive.ubuntu.com/ubuntu/ trusty/main libpaper-utils amd64 1.1.24+nmu2ubuntu3 [8,244 B] Get:30 http://de.archive.ubuntu.com/ubuntu/ trusty/main ttf-dejavu-core all 2.34-1ubuntu1 [2,956 B] Get:31 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-xml amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [116 kB] Get:32 http://ppa.launchpad.net/ondrej/php/ubuntu/ trusty/main php5.6-zip amd64 5.6.19+dfsg-7+deb.sury.org~trusty+2 [19.8 kB] Fetched 14.0 MB in 5s (2,730 kB/s) Extracting templates from packages: 100% Preconfiguring packages ... Selecting previously unselected package imagemagick-common. (Reading database ... 191459 files and directories currently installed.) Preparing to unpack .../imagemagick-common_8%3a6.7.7.10-6ubuntu3_all.deb ... Unpacking imagemagick-common (8:6.7.7.10-6ubuntu3) ... Selecting previously unselected package libcupsfilters1:amd64. Preparing to unpack .../libcupsfilters1_1.0.52-0ubuntu1.7_amd64.deb ... Unpacking libcupsfilters1:amd64 (1.0.52-0ubuntu1.7) ... Selecting previously unselected package libcupsimage2:amd64. Preparing to unpack .../libcupsimage2_1.7.2-0ubuntu1.7_amd64.deb ... Unpacking libcupsimage2:amd64 (1.7.2-0ubuntu1.7) ... Selecting previously unselected package libfftw3-double3:amd64. Preparing to unpack .../libfftw3-double3_3.3.3-7ubuntu3_amd64.deb ... Unpacking libfftw3-double3:amd64 (3.3.3-7ubuntu3) ... Selecting previously unselected package liblqr-1-0:amd64. Preparing to unpack .../liblqr-1-0_0.4.1-2ubuntu1_amd64.deb ... Unpacking liblqr-1-0:amd64 (0.4.1-2ubuntu1) ... Selecting previously unselected package libmagickcore5:amd64. Preparing to unpack .../libmagickcore5_8%3a6.7.7.10-6ubuntu3_amd64.deb ... Unpacking libmagickcore5:amd64 (8:6.7.7.10-6ubuntu3) ... Selecting previously unselected package libmagickwand5:amd64. Preparing to unpack .../libmagickwand5_8%3a6.7.7.10-6ubuntu3_amd64.deb ... Unpacking libmagickwand5:amd64 (8:6.7.7.10-6ubuntu3) ... Selecting previously unselected package libmemcached11:amd64. Preparing to unpack .../libmemcached11_1.0.18-5+deb.sury.org~trusty+2_amd64.deb ... Unpacking libmemcached11:amd64 (1.0.18-5+deb.sury.org~trusty+2) ... Selecting previously unselected package libpaper1:amd64. Preparing to unpack .../libpaper1_1.1.24+nmu2ubuntu3_amd64.deb ... Unpacking libpaper1:amd64 (1.1.24+nmu2ubuntu3) ... Selecting previously unselected package libzip4:amd64. Preparing to unpack .../libzip4_1.1.1-1.1+deb.sury.org~trusty+2_amd64.deb ... Unpacking libzip4:amd64 (1.1.1-1.1+deb.sury.org~trusty+2) ... Selecting previously unselected package poppler-data. Preparing to unpack .../poppler-data_0.4.6-4_all.deb ... Unpacking poppler-data (0.4.6-4) ... Selecting previously unselected package libijs-0.35. Preparing to unpack .../libijs-0.35_0.35-8build1_amd64.deb ... Unpacking libijs-0.35 (0.35-8build1) ... Selecting previously unselected package libjbig2dec0. Preparing to unpack .../libjbig2dec0_0.11+20120125-1ubuntu1_amd64.deb ... Unpacking libjbig2dec0 (0.11+20120125-1ubuntu1) ... Selecting previously unselected package libgs9-common. Preparing to unpack .../libgs9-common_9.10~dfsg-0ubuntu10.4_all.deb ... Unpacking libgs9-common (9.10~dfsg-0ubuntu10.4) ... Selecting previously unselected package libgs9. Preparing to unpack .../libgs9_9.10~dfsg-0ubuntu10.4_amd64.deb ... Unpacking libgs9 (9.10~dfsg-0ubuntu10.4) ... Selecting previously unselected package gsfonts. Preparing to unpack .../gsfonts_1%3a8.11+urwcyr1.0.7~pre44-4.2ubuntu1_all.deb ... Unpacking gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ... Selecting previously unselected package ghostscript. Preparing to unpack .../ghostscript_9.10~dfsg-0ubuntu10.4_amd64.deb ... Unpacking ghostscript (9.10~dfsg-0ubuntu10.4) ... Selecting previously unselected package mlock. Preparing to unpack .../mlock_8%3a2007f~dfsg-2_amd64.deb ... Unpacking mlock (8:2007f~dfsg-2) ... Selecting previously unselected package libc-client2007e. Preparing to unpack .../libc-client2007e_8%3a2007f~dfsg-2_amd64.deb ... Unpacking libc-client2007e (8:2007f~dfsg-2) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../libpaper-utils_1.1.24+nmu2ubuntu3_amd64.deb ... Unpacking libpaper-utils (1.1.24+nmu2ubuntu3) ... Selecting previously unselected package php-igbinary. Preparing to unpack .../php-igbinary_1.2.1-10-ge0e66b9+1.2.1-2+deb.sury.org~trusty+6_amd64.deb ... Unpacking php-igbinary (1.2.1-10-ge0e66b9+1.2.1-2+deb.sury.org~trusty+6) ... Selecting previously unselected package php-imagick. Preparing to unpack .../php-imagick_3.4.0-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php-imagick (3.4.0-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php-msgpack. Preparing to unpack .../php-msgpack_2.0.1+0.5.7-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php-msgpack (2.0.1+0.5.7-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php-memcached. Preparing to unpack .../php-memcached_3.0.0a1-10-gffd1c64+2.2.0-1+deb.sury.org~trusty+1_amd64.deb ... Unpacking php-memcached (3.0.0a1-10-gffd1c64+2.2.0-1+deb.sury.org~trusty+1) ... Selecting previously unselected package php5.6-common. Preparing to unpack .../php5.6-common_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-common (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-bz2. Preparing to unpack .../php5.6-bz2_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-bz2 (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-gmp. Preparing to unpack .../php5.6-gmp_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-gmp (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-imap. Preparing to unpack .../php5.6-imap_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-imap (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-mbstring. Preparing to unpack .../php5.6-mbstring_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-mbstring (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-xml. Preparing to unpack .../php5.6-xml_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-xml (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package php5.6-zip. Preparing to unpack .../php5.6-zip_5.6.19+dfsg-7+deb.sury.org~trusty+2_amd64.deb ... Unpacking php5.6-zip (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Selecting previously unselected package ttf-dejavu-core. Preparing to unpack .../ttf-dejavu-core_2.34-1ubuntu1_all.deb ... Unpacking ttf-dejavu-core (2.34-1ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for fontconfig (2.11.0-0ubuntu4.1) ... Setting up imagemagick-common (8:6.7.7.10-6ubuntu3) ... Setting up libcupsfilters1:amd64 (1.0.52-0ubuntu1.7) ... Setting up libcupsimage2:amd64 (1.7.2-0ubuntu1.7) ... Setting up libfftw3-double3:amd64 (3.3.3-7ubuntu3) ... Setting up liblqr-1-0:amd64 (0.4.1-2ubuntu1) ... Setting up libmagickcore5:amd64 (8:6.7.7.10-6ubuntu3) ... Setting up libmagickwand5:amd64 (8:6.7.7.10-6ubuntu3) ... Setting up libmemcached11:amd64 (1.0.18-5+deb.sury.org~trusty+2) ... Setting up libpaper1:amd64 (1.1.24+nmu2ubuntu3) ... Creating config file /etc/papersize with new version Setting up libzip4:amd64 (1.1.1-1.1+deb.sury.org~trusty+2) ... Setting up poppler-data (0.4.6-4) ... Setting up libijs-0.35 (0.35-8build1) ... Setting up libjbig2dec0 (0.11+20120125-1ubuntu1) ... Setting up libgs9-common (9.10~dfsg-0ubuntu10.4) ... update-alternatives: using /usr/share/ghostscript/9.10 to provide /usr/share/ghostscript/current (ghostscript-current) in auto mode Setting up libgs9 (9.10~dfsg-0ubuntu10.4) ... Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ... Setting up ghostscript (9.10~dfsg-0ubuntu10.4) ... Setting up mlock (8:2007f~dfsg-2) ... Setting up libc-client2007e (8:2007f~dfsg-2) ... Setting up libpaper-utils (1.1.24+nmu2ubuntu3) ... Setting up php-igbinary (1.2.1-10-ge0e66b9+1.2.1-2+deb.sury.org~trusty+6) ... Setting up php-imagick (3.4.0-1+deb.sury.org~trusty+1) ... Setting up php-msgpack (2.0.1+0.5.7-1+deb.sury.org~trusty+1) ... Setting up php-memcached (3.0.0a1-10-gffd1c64+2.2.0-1+deb.sury.org~trusty+1) ... Setting up php5.6-common (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/calendar.ini with new version Creating config file /etc/php/5.6/mods-available/ctype.ini with new version Creating config file /etc/php/5.6/mods-available/exif.ini with new version Creating config file /etc/php/5.6/mods-available/fileinfo.ini with new version Creating config file /etc/php/5.6/mods-available/ftp.ini with new version Creating config file /etc/php/5.6/mods-available/gettext.ini with new version Creating config file /etc/php/5.6/mods-available/iconv.ini with new version Creating config file /etc/php/5.6/mods-available/pdo.ini with new version Creating config file /etc/php/5.6/mods-available/phar.ini with new version Creating config file /etc/php/5.6/mods-available/posix.ini with new version Creating config file /etc/php/5.6/mods-available/shmop.ini with new version Creating config file /etc/php/5.6/mods-available/sockets.ini with new version Creating config file /etc/php/5.6/mods-available/sysvmsg.ini with new version Creating config file /etc/php/5.6/mods-available/sysvsem.ini with new version Creating config file /etc/php/5.6/mods-available/sysvshm.ini with new version Creating config file /etc/php/5.6/mods-available/tokenizer.ini with new version Setting up php5.6-bz2 (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/bz2.ini with new version Setting up php5.6-gmp (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/gmp.ini with new version Setting up php5.6-imap (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/imap.ini with new version Setting up php5.6-mbstring (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/mbstring.ini with new version Setting up php5.6-xml (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/dom.ini with new version Creating config file /etc/php/5.6/mods-available/simplexml.ini with new version Creating config file /etc/php/5.6/mods-available/wddx.ini with new version Creating config file /etc/php/5.6/mods-available/xml.ini with new version Creating config file /etc/php/5.6/mods-available/xmlreader.ini with new version Creating config file /etc/php/5.6/mods-available/xmlwriter.ini with new version Creating config file /etc/php/5.6/mods-available/xsl.ini with new version Setting up php5.6-zip (5.6.19+dfsg-7+deb.sury.org~trusty+2) ... Creating config file /etc/php/5.6/mods-available/zip.ini with new version Setting up ttf-dejavu-core (2.34-1ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.7) ... |
Nun aktivieren wir den Vhost für unsere Owncloud Instanz.
1 2 3 4 5 6 7 | $ a2ensite 003-owncloud-le-ssl Enabling site 003-owncloud-le-ssl. To activate the new configuration, you need to run: service apache2 reload $ service apache2 reload * Reloading web server apache2 * |
Danach öffnen wir die URL unserer Owncloud Instanz mit einem Web-Browser. Hier sehen wir zunächst den Installation Wizzard.
Im Installation Wizzard klicken wir auf „Speicher & Datenbank“ und wählen dann „MySQL/MariaDB„.
Jetzt müssen wir die Eingabefelder noch mit Daten füllen. Oben vergeben wir einen Namen und ein Passwort für das Owncloud Administrator Konto. Unter „Datenbank-Benutzer“ und „Datenbank-Passwort“ tragen wir ein Datenbank-Administrator Konto ein. Der Installations Wizzard benutzt den Account nur zum anlegen der Owncloud Datenbank. Danach wird ein ebenfalls angelegter Datenbank-Benutzer mit einem zufälligen gewählten Passwort für die Datenbankanbindung verwendet. Den Datenbankaccount finden wir anschließend in der config.php Datei der Owncloud-Installation. Zuletzt geben wir noch einen Namen für unsere Owncloud-Datenbank an und klicken auf „Installation abschließen„. Daraufhin wird die Datenbank angelegt und der Owncloud-Administrations-Account geöffnet.
Den Einrichtungsassistenten schliessen wir mit einm Klick auf das X in der rechten oberen Ecke.
Hier sehen wir nun die Owncloud Start Seite. In der rechten oberen Ecke finden wir den Accountnamen unter dem wir eingeloggt sind, hier geschwärzt. Wenn wir auf den Accountnamen oder das kleine Dreieck dahinter klicken öffnet sich ein Menü.
Hier wählen wir zunächst „Persönlich“ und tragen auf dieser Seite unsere E-Mail-Adresse ein, damit wir Benachrichtigungen erhalten können.
Danach wählen wir in dem Menü den Punkt „Administrator“ und gelangen auf die Administrationsseite.
Hier sehen wir unter „Sicherheits- & Einrichtungswarnungen“, dass noch kein Memory Cache konfiguriert ist. Das wollen wir nun nachholen, indem wir die folgenden Zeilen in das CONFIG array in der Konfigurationsdatei config/config.php unterhalb unserer Dokument Root eintragen.
1 2 3 4 5 6 7 8 | 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => 'localhost', 'port' => 6379, 'timeout' => 0, ), |
Wenn wir die Seite im Browser nun neu laden, erhalten wir unter „Sicherheits- & Einrichtungswarnungen“ die Meldung „All checks passed.“
Abschließend tragen wir noch eine Absenderadresse für E-Mail-Benachrichtigungen ein und wählen „Cron“ für den systemeigenen Cron-Dienst.
Den zugehörigen cronjob tragen wir mit dem Kommando „crontab -u www-data -e“ wir folgt in die Crontab Datei ein.
1 | */15 * * * * php5 -f /var/www/owncloud/cron.php >/dev/null 2>&1 |
Damit ist die Grundlegende Owncloud-Konfiguration abgeschlossen.