• Смс рассылка android средствами телефона?

    @sunnmas Автор вопроса
    Посмотрим на блокировку оператора. Это Теле2
  • Смс рассылка android средствами телефона?

    @sunnmas Автор вопроса
    Артём: могут, но нужно попробовать)
  • Можно ли на Яндекс картах отобразить метку для ретина дисплеев?

    @sunnmas Автор вопроса
    Можно пожалуйста пример или ссылку на пример? Тогда размеры картинки и смещение указывать не нужно? Пока не использовал svg. Хотя исходник моей иконки как раз в svg формате, рисовал в программе Inkscape
  • Где можно получить ssl сертификат для доменного имени рф?

    @sunnmas Автор вопроса
    сертификат получен. Но пока не установил
  • Как на ruby красиво удалить элементы массива?

    @sunnmas Автор вопроса
    пока придумал так: arr = arr.select {|x| x[:a] != 1}
  • Можно ли получить ssl сертификат под nginx?

    @sunnmas Автор вопроса
    Lets encrypt не поддерживает домены в рф(((. Попробую другие
  • Как создать свой почтовый сервер?

    @sunnmas Автор вопроса
    настроился без шума и пыли и бесплатно))
  • Гемы devise и backup не понимают кириллицу?

    @sunnmas Автор вопроса
    production.rb:
    Rails.application.default_url_options = {host: ENV['host_production']}

    application.yml:
    time_zone: Moscow
    host_test: '127.0.0.1:3000'
    host_development: '127.0.0.1:3000'
    faye_host_development: 'localhost:9292'
    host_staging: '185.95.67.32:4000'
    host_production: 'xn----mlcc9ajg5df.xn--1ai' <- здесь вместо русских буковок
  • Как настроить мой ubuntu server? Или что я делаю не так?

    @sunnmas Автор вопроса
    Выставьте правильные права на файл /var/log/nginx/error.log - проблема не в этом, а в unknown directive "passenger_ruby"
  • Как настроить мой ubuntu server? Или что я делаю не так?

    @sunnmas Автор вопроса
    Установите nginx-extras c поддержкой passenger. В этом весь вопрос
  • Как настроить мой ubuntu server? Или что я делаю не так?

    @sunnmas Автор вопроса
    deployer@4e4o:~$ sudo sh soft.sh
    install ntpdate:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    ntpdate
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 49.4 kB of archives.
    After this operation, 172 kB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ntpdate amd64 1:4.2.8p4+dfsg-3ubuntu5 [49.4 kB]
    Fetched 49.4 kB in 0s (288 kB/s)
    Selecting previously unselected package ntpdate.
    (Reading database ... 95157 files and directories currently installed.)
    Preparing to unpack .../ntpdate_1%3a4.2.8p4+dfsg-3ubuntu5_amd64.deb ...
    Unpacking ntpdate (1:4.2.8p4+dfsg-3ubuntu5) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up ntpdate (1:4.2.8p4+dfsg-3ubuntu5) ...
    install nodejs:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libuv1
    The following NEW packages will be installed:
    libuv1 nodejs
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 3,219 kB of archives.
    After this operation, 13.4 MB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 libuv1 amd64 1.8.0-1 [57.4 kB]
    Get:2 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 nodejs amd64 4.2.6~dfsg-1ubuntu4 [3,162 kB]
    Fetched 3,219 kB in 0s (4,630 kB/s)
    Selecting previously unselected package libuv1:amd64.
    (Reading database ... 95171 files and directories currently installed.)
    Preparing to unpack .../libuv1_1.8.0-1_amd64.deb ...
    Unpacking libuv1:amd64 (1.8.0-1) ...
    Selecting previously unselected package nodejs.
    Preparing to unpack .../nodejs_4.2.6~dfsg-1ubuntu4_amd64.deb ...
    Unpacking nodejs (4.2.6~dfsg-1ubuntu4) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for man-db (2.7.5-1) ...
    Setting up libuv1:amd64 (1.8.0-1) ...
    Setting up nodejs (4.2.6~dfsg-1ubuntu4) ...
    update-alternatives: using /usr/bin/nodejs to provide /usr/bin/js (js) in auto mode
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    install unzip:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9
    libkdb5-8 libpq5
    Suggested packages:
    doc-base krb5-doc krb5-user postgresql-doc-9.5
    The following NEW packages will be installed:
    comerr-dev krb5-multidev libgssrpc4 libkadm5clnt-mit9 libkadm5srv-mit9
    libkdb5-8 libpq-dev libpq5
    0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
    Need to get 562 kB of archives.
    After this operation, 2,786 kB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libgssrpc4 amd64 1.13.2+dfsg-5 [54.4 kB]
    Get:2 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libkdb5-8 amd64 1.13.2+dfsg-5 [37.1 kB]
    Get:3 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libkadm5srv-mit9 amd64 1.13.2+dfsg-5 [51.1 kB]
    Get:4 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libkadm5clnt-mit9 amd64 1.13.2+dfsg-5 [36.5 kB]
    Get:5 ru.archive.ubuntu.com/ubuntu xenial/main amd64 comerr-dev amd64 2.1-1.42.13-1ubuntu1 [38.2 kB]
    Get:6 ru.archive.ubuntu.com/ubuntu xenial/main amd64 krb5-multidev amd64 1.13.2+dfsg-5 [113 kB]
    Get:7 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libpq5 amd64 9.5.2-1 [76.9 kB]
    Get:8 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libpq-dev amd64 9.5.2-1 [154 kB]
    Fetched 562 kB in 0s (2,156 kB/s)
    Selecting previously unselected package libgssrpc4:amd64.
    (Reading database ... 95233 files and directories currently installed.)
    Preparing to unpack .../libgssrpc4_1.13.2+dfsg-5_amd64.deb ...
    Unpacking libgssrpc4:amd64 (1.13.2+dfsg-5) ...
    Selecting previously unselected package libkdb5-8:amd64.
    Preparing to unpack .../libkdb5-8_1.13.2+dfsg-5_amd64.deb ...
    Unpacking libkdb5-8:amd64 (1.13.2+dfsg-5) ...
    Selecting previously unselected package libkadm5srv-mit9:amd64.
    Preparing to unpack .../libkadm5srv-mit9_1.13.2+dfsg-5_amd64.deb ...
    Unpacking libkadm5srv-mit9:amd64 (1.13.2+dfsg-5) ...
    Selecting previously unselected package libkadm5clnt-mit9:amd64.
    Preparing to unpack .../libkadm5clnt-mit9_1.13.2+dfsg-5_amd64.deb ...
    Unpacking libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5) ...
    Selecting previously unselected package comerr-dev.
    Preparing to unpack .../comerr-dev_2.1-1.42.13-1ubuntu1_amd64.deb ...
    Unpacking comerr-dev (2.1-1.42.13-1ubuntu1) ...
    Selecting previously unselected package krb5-multidev.
    Preparing to unpack .../krb5-multidev_1.13.2+dfsg-5_amd64.deb ...
    Unpacking krb5-multidev (1.13.2+dfsg-5) ...
    Selecting previously unselected package libpq5:amd64.
    Preparing to unpack .../libpq5_9.5.2-1_amd64.deb ...
    Unpacking libpq5:amd64 (9.5.2-1) ...
    Selecting previously unselected package libpq-dev.
    Preparing to unpack .../libpq-dev_9.5.2-1_amd64.deb ...
    Unpacking libpq-dev (9.5.2-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for install-info (6.1.0.dfsg.1-5) ...
    Setting up libgssrpc4:amd64 (1.13.2+dfsg-5) ...
    Setting up libkdb5-8:amd64 (1.13.2+dfsg-5) ...
    Setting up libkadm5srv-mit9:amd64 (1.13.2+dfsg-5) ...
    Setting up libkadm5clnt-mit9:amd64 (1.13.2+dfsg-5) ...
    Setting up comerr-dev (2.1-1.42.13-1ubuntu1) ...
    Setting up krb5-multidev (1.13.2+dfsg-5) ...
    Setting up libpq5:amd64 (9.5.2-1) ...
    Setting up libpq-dev (9.5.2-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    install java8:
    Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK7 / JDK8 / JDK9). There are no actual Java files in this PPA.

    More info (and Ubuntu installation instructions):
    - for Oracle Java 7: www.webupd8.org/2012/01/install-oracle-java-jdk-7-...
    - for Oracle Java 8: www.webupd8.org/2012/09/install-oracle-java-8-in-u...

    Debian installation instructions:
    - Oracle Java 7: www.webupd8.org/2012/06/how-to-install-oracle-java...
    - Oracle Java 8: www.webupd8.org/2014/03/how-to-install-oracle-java...

    Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You shoul d only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options we re removed in JDK9, so you may encounter issues with various Java apps. More inf ormation and installation instructions (Ubuntu / Linux Mint / Debian): ww w.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
    More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java
    Press [ENTER] to continue or ctrl-c to cancel adding it

    gpg: keyring `/tmp/tmp_e8kdsz1/secring.gpg' created
    gpg: keyring `/tmp/tmp_e8kdsz1/pubring.gpg' created
    gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
    gpg: /tmp/tmp_e8kdsz1/trustdb.gpg: trustdb created
    gpg: key EEA14886: public key "Launchpad VLC" imported
    gpg: no ultimately trusted keys found
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    OK
    Hit:1 ru.archive.ubuntu.com/ubuntu xenial InRelease
    Hit:2 ru.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:3 ru.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Get:4 ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease [17.6 kB ]
    Get:5 security.ubuntu.com/ubuntu xenial-security InRelease [93.3 kB]
    Get:6 ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 Package s [2,868 B]
    Get:7 ppa.launchpad.net/webupd8team/java/ubuntu xenial/main i386 Packages [2,868 B]
    Get:8 ppa.launchpad.net/webupd8team/java/ubuntu xenial/main Translation-e n [1,260 B]
    Fetched 118 kB in 0s (235 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    gsfonts gsfonts-x11 java-common libfontenc1 libxfont1 x11-common
    xfonts-encodings xfonts-utils
    Suggested packages:
    binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core
    ttf-kochi-gothic | ttf-sazanami-gothic ttf-kochi-mincho
    | ttf-sazanami-mincho ttf-arphic-uming firefox | firefox-2 | iceweasel
    | mozilla-firefox | iceape-browser | mozilla-browser | epiphany-gecko
    | epiphany-webkit | epiphany-browser | galeon | midbrowser
    | moblin-web-browser | xulrunner | xulrunner-1.9 | konqueror
    | chromium-browser | midori | google-chrome
    The following NEW packages will be installed:
    gsfonts gsfonts-x11 java-common libfontenc1 libxfont1 oracle-java8-installer
    x11-common xfonts-encodings xfonts-utils
    0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
    Need to get 4,192 kB of archives.
    After this operation, 6,811 kB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libfontenc1 amd64 1:1.1.3-1 [13.9 kB]
    Get:2 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libxfont1 amd64 1:1.5.1-1 [94.7 kB]
    Get:3 ru.archive.ubuntu.com/ubuntu xenial/main amd64 java-common all 0.56ubuntu2 [7,742 B]
    Get:4 ru.archive.ubuntu.com/ubuntu xenial/main amd64 gsfonts all 1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1 [3,374 kB]
    Get:5 ppa.launchpad.net/webupd8team/java/ubuntu xenial/main amd64 oracle-java8-installer all 8u92+8u91arm-2~really8u91~webupd8~0 [23.1 kB]
    Get:6 ru.archive.ubuntu.com/ubuntu xenial/main amd64 x11-common all 1:7.7+13ubuntu3 [22.4 kB]
    Get:7 ru.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-encodings all 1:1.0.4-2 [573 kB]
    Get:8 ru.archive.ubuntu.com/ubuntu xenial/main amd64 xfonts-utils amd64 1:7.7+3 [75.3 kB]
    Get:9 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 gsfonts-x11 all 0.24 [7,314 B]
    Fetched 4,192 kB in 0s (4,370 kB/s)
    Preconfiguring packages ...
    Selecting previously unselected package libfontenc1:amd64.
    (Reading database ... 95381 files and directories currently installed.)
    Preparing to unpack .../libfontenc1_1%3a1.1.3-1_amd64.deb ...
    Unpacking libfontenc1:amd64 (1:1.1.3-1) ...
    Selecting previously unselected package libxfont1:amd64.
    Preparing to unpack .../libxfont1_1%3a1.5.1-1_amd64.deb ...
    Unpacking libxfont1:amd64 (1:1.5.1-1) ...
    Selecting previously unselected package java-common.
    Preparing to unpack .../java-common_0.56ubuntu2_all.deb ...
    Unpacking java-common (0.56ubuntu2) ...
    Selecting previously unselected package oracle-java8-installer.
    Preparing to unpack .../oracle-java8-installer_8u92+8u91arm-2~really8u91~webupd8 ~0_all.deb ...
    Unpacking oracle-java8-installer (8u92+8u91arm-2~really8u91~webupd8~0) ...
    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 x11-common.
    Preparing to unpack .../x11-common_1%3a7.7+13ubuntu3_all.deb ...
    Unpacking x11-common (1:7.7+13ubuntu3) ...
    Selecting previously unselected package xfonts-encodings.
    Preparing to unpack .../xfonts-encodings_1%3a1.0.4-2_all.deb ...
    Unpacking xfonts-encodings (1:1.0.4-2) ...
    Selecting previously unselected package xfonts-utils.
    Preparing to unpack .../xfonts-utils_1%3a7.7+3_amd64.deb ...
    Unpacking xfonts-utils (1:7.7+3) ...
    Selecting previously unselected package gsfonts-x11.
    Preparing to unpack .../gsfonts-x11_0.24_all.deb ...
    Unpacking gsfonts-x11 (0.24) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for mime-support (3.59ubuntu1) ...
    Processing triggers for shared-mime-info (1.5-2) ...
    Processing triggers for systemd (229-4ubuntu5) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    ureadahead will be reprofiled on next reboot
    Setting up libfontenc1:amd64 (1:1.1.3-1) ...
    Setting up libxfont1:amd64 (1:1.5.1-1) ...
    Setting up java-common (0.56ubuntu2) ...
    Setting up oracle-java8-installer (8u92+8u91arm-2~really8u91~webupd8~0) ...
    No /var/cache/oracle-jdk8-installer/wgetrc file found.
    Creating /var/cache/oracle-jdk8-installer/wgetrc and
    using default oracle-java8-installer wgetrc settings for it.
    Downloading Oracle Java 8...
    --2016-05-19 20:21:14-- download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-...
    Resolving download.oracle.com (download.oracle.com)... 77.67.29.170, 77.67.29.241
    Connecting to download.oracle.com (download.oracle.com)|77.67.29.170|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u91... [following]
    --2016-05-19 20:21:14-- https://edelivery.oracle.com/otn-pub/java/jdk/8u91...
    Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.61.230.140
    Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.61.230.140|:443... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: https://edelivery.oracle.com/osdc-otn/otn-pub/java... [following]
    --2016-05-19 20:21:15-- https://edelivery.oracle.com/osdc-otn/otn-pub/java...
    Reusing existing connection to edelivery.oracle.com:443.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-... [following]
    --2016-05-19 20:21:15-- download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-...
    Connecting to download.oracle.com (download.oracle.com)|77.67.29.170|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 181367942 (173M) [application/x-gzip]
    Saving to: ‘jdk-8u91-linux-x64.tar.gz’

    0K ........ ........ ........ ........ ........ ........ 1% 2.84M 60s
    3072K ........ ........ ........ ........ ........ ........ 3% 3.85M 51s
    6144K ........ ........ ........ ........ ........ ........ 5% 850K 99s
    9216K ........ ........ ........ ........ ........ ........ 6% 595K 2m22s
    12288K ........ ........ ........ ........ ........ ........ 8% 460K 3m2s
    15360K ........ ........ ........ ........ ........ ........ 10% 489K 3m23s
    18432K ........ ........ ........ ........ ........ ........ 12% 390K 3m48s
    21504K ........ ........ ........ ........ ........ ........ 13% 361K 4m8s
    24576K ........ ........ ........ ........ ........ ........ 15% 375K 4m20s
    27648K ........ ........ ........ ........ ........ ........ 17% 339K 4m33s
    30720K ........ ........ ........ ........ ........ ........ 19% 436K 4m33s
    33792K ........ ........ ........ ........ ........ ........ 20% 455K 4m30s
    36864K ........ ........ ........ ........ ........ ........ 22% 504K 4m25s
    39936K ........ ........ ........ ........ ........ ........ 24% 413K 4m24s
    43008K ........ ........ ........ ........ ........ ........ 26% 436K 4m20s
    46080K ........ ........ ........ ........ ........ ........ 27% 347K 4m21s
    49152K ........ ........ ........ ........ ........ ........ 29% 379K 4m20s
    52224K ........ ........ ........ ........ ........ ........ 31% 532K 4m12s
    55296K ........ ........ ........ ........ ........ ........ 32% 537K 4m4s
    58368K ........ ........ ........ ........ ........ ........ 34% 501K 3m58s
    61440K ........ ........ ........ ........ ........ ........ 36% 432K 3m53s
    64512K ........ ........ ........ ........ ........ ........ 38% 352K 3m50s
    67584K ........ ........ ........ ........ ........ ........ 39% 454K 3m44s
    70656K ........ ........ ........ ........ ........ ........ 41% 330K 3m42s
    73728K ........ ........ ........ ........ ........ ........ 43% 356K 3m38s
    76800K ........ ........ ........ ........ ........ ........ 45% 274K 3m37s
    79872K ........ ........ ........ ........ ........ ........ 46% 335K 3m32s
    82944K ........ ........ ........ ........ ........ ........ 48% 323K 3m28s
    86016K ........ ........ ........ ........ ........ ........ 50% 434K 3m21s
    89088K ........ ........ ........ ........ ........ ........ 52% 425K 3m14s
    92160K ........ ........ ........ ........ ........ ........ 53% 373K 3m8s
    95232K ........ ........ ........ ........ ........ ........ 55% 396K 3m2s
    98304K ........ ........ ........ ........ ........ ........ 57% 474K 2m54s
    101376K ........ ........ ........ ........ ........ ........ 58% 434K 2m47s
    104448K ........ ........ ........ ........ ........ ........ 60% 518K 2m39s
    107520K ........ ........ ........ ........ ........ ........ 62% 816K 2m30s
    110592K ........ ........ ........ ........ ........ ........ 64% 423K 2m24s
    113664K ........ ........ ........ ........ ........ ........ 65% 477K 2m16s
    116736K ........ ........ ........ ........ ........ ........ 67% 428K 2m10s
    119808K ........ ........ ........ ........ ........ ........ 69% 307K 2m4s
    122880K ........ ........ ........ ........ ........ ........ 71% 453K 1m57s
    125952K ........ ........ ........ ........ ........ ........ 72% 332K 1m51s
    129024K ........ ........ ........ ........ ........ ........ 74% 363K 1m44s
    132096K ........ ........ ........ ........ ........ ........ 76% 500K 97s
    135168K ........ ........ ........ ........ ........ ........ 78% 345K 90s
    138240K ........ ........ ........ ........ ........ ........ 79% 430K 83s
    141312K ........ ........ ........ ........ ........ ........ 81% 433K 76s
    144384K ........ ........ ........ ........ ........ ........ 83% 323K 69s
    147456K ........ ........ ........ ........ ........ ........ 84% 241K 63s
    150528K ........ ........ ........ ........ ........ ........ 86% 425K 56s
    153600K ........ ........ ........ ........ ........ ........ 88% 533K 48s
    156672K ........ ........ ........ ........ ........ ........ 90% 319K 41s
    159744K ........ ........ ........ ........ ........ ........ 91% 533K 34s
    162816K ........ ........ ........ ........ ........ ........ 93% 363K 27s
    165888K ........ ........ ........ ........ ........ ........ 95% 584K 19s
    168960K ........ ........ ........ ........ ........ ........ 97% 312K 12s
    172032K ........ ........ ........ ........ ........ ........ 98% 300K 5s
    175104K ........ ........ ........ ....... 100% 421K=7m4s

    2016-05-19 20:28:20 (418 KB/s) - ‘jdk-8u91-linux-x64.tar.gz’ saved [181367942/18 1367942]

    Download done.
    Removing outdated cached downloads...
    update-alternatives: error: no alternatives for java
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/java to provide /usr/bin/java (java) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/jjs to provide /usr/bin/jjs (jjs) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/keytool to provide /usr/bin/keytool (keytool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/orbd to provide /usr/bin/orbd (orbd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/pack200 to provide /usr/bin/pack200 (pack200) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmid to provide /usr/bin/rmid (rmid) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/rmiregistry to provide /usr/bin/rmiregistry (rmiregistry) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/servertool to provide /usr/bin/servertool (servertool) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/tnameserv to provide /usr/bin/tnameserv (tnameserv) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/bin/unpack200 to provide /usr/bin/unpack200 (unpack200) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/extcheck to provide /usr/bin/extcheck (extcheck) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/idlj to provide /usr/bin/idlj (idlj) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jar to provide /usr/bin/jar (jar) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jarsigner to provide /usr/bin/jarsigner (jarsigner) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javac to provide /usr/bin/javac (javac) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javadoc to provide /usr/bin/javadoc (javadoc) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javafxpackager to provide /usr/bin/javafxpackager (javafxpackager) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javah to provide /usr/bin/javah (javah) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javap to provide /usr/bin/javap (javap) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/javapackager to provide /usr/bin/javapackager (javapackager) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jcmd to provide /usr/bin/jcmd (jcmd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdb to provide /usr/bin/jdb (jdb) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jdeps to provide /usr/bin/jdeps (jdeps) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jhat to provide /usr/bin/jhat (jhat) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jinfo to provide /usr/bin/jinfo (jinfo) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmap to provide /usr/bin/jmap (jmap) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jmc to provide /usr/bin/jmc (jmc) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jps to provide /usr/bin/jps (jps) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jrunscript to provide /usr/bin/jrunscript (jrunscript) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jsadebugd to provide /usr/bin/jsadebugd (jsadebugd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstack to provide /usr/bin/jstack (jstack) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstat to provide /usr/bin/jstat (jstat) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jstatd to provide /usr/bin/jstatd (jstatd) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/jvisualvm to provide /usr/bin/jvisualvm (jvisualvm) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/native2ascii to provide /usr/bin/native2ascii (native2ascii) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/rmic to provide /usr/bin/rmic (rmic) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/schemagen to provide /usr/bin/schemagen (schemagen) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/serialver to provide /usr/bin/serialver (serialver) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsgen to provide /usr/bin/wsgen (wsgen) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/wsimport to provide /usr/bin/wsimport (wsimport) in auto mode
    update-alternatives: using /usr/lib/jvm/java-8-oracle/bin/xjc to provide /usr/bin/xjc (xjc) in auto mode
    Oracle JDK 8 installed
    update-alternatives: using /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so to provide /usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in auto mode
    Oracle JRE 8 browser plugin installed
    Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...
    Setting up x11-common (1:7.7+13ubuntu3) ...
    update-rc.d: warning: start and stop actions are no longer supported; falling ba ck to defaults
    Setting up xfonts-encodings (1:1.0.4-2) ...
    Setting up xfonts-utils (1:7.7+3) ...
    Setting up gsfonts-x11 (0.24) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for systemd (229-4ubuntu5) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    install postgresql:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    libsensors4 libxslt1.1 postgresql-9.5 postgresql-client-9.5
    postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat
    Suggested packages:
    lm-sensors postgresql-doc locales-all postgresql-doc-9.5 libdbd-pg-perl isag
    The following NEW packages will be installed:
    libsensors4 libxslt1.1 postgresql postgresql-9.5 postgresql-client-9.5
    postgresql-client-common postgresql-common postgresql-contrib-9.5 sysstat
    0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
    Need to get 4,902 kB of archives.
    After this operation, 19.7 MB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libsensors4 amd64 1:3.4.0-2 [28.4 kB]
    Get:2 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libxslt1.1 amd64 1.1.28-2.1 [145 kB]
    Get:3 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql-client-common all 173 [28.3 kB]
    Get:4 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql-client-9.5 amd64 9.5.2-1 [858 kB]
    Get:5 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql-common all 173 [153 kB]
    Get:6 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql-9.5 amd64 9.5.2-1 [3,000 kB]
    Get:7 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql all 9.5+173 [5,336 B]
    Get:8 ru.archive.ubuntu.com/ubuntu xenial/main amd64 postgresql-contrib-9.5 amd64 9.5.2-1 [446 kB]
    Get:9 ru.archive.ubuntu.com/ubuntu xenial/main amd64 sysstat amd64 11.2.0-1 [239 kB]
    Fetched 4,902 kB in 0s (5,382 kB/s)
    Preconfiguring packages ...
    Selecting previously unselected package libsensors4:amd64.
    (Reading database ... 95714 files and directories currently installed.)
    Preparing to unpack .../libsensors4_1%3a3.4.0-2_amd64.deb ...
    Unpacking libsensors4:amd64 (1:3.4.0-2) ...
    Selecting previously unselected package libxslt1.1:amd64.
    Preparing to unpack .../libxslt1.1_1.1.28-2.1_amd64.deb ...
    Unpacking libxslt1.1:amd64 (1.1.28-2.1) ...
    Selecting previously unselected package postgresql-client-common.
    Preparing to unpack .../postgresql-client-common_173_all.deb ...
    Unpacking postgresql-client-common (173) ...
    Selecting previously unselected package postgresql-client-9.5.
    Preparing to unpack .../postgresql-client-9.5_9.5.2-1_amd64.deb ...
    Unpacking postgresql-client-9.5 (9.5.2-1) ...
    Selecting previously unselected package postgresql-common.
    Preparing to unpack .../postgresql-common_173_all.deb ...
    Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postg resql-common'
    Unpacking postgresql-common (173) ...
    Selecting previously unselected package postgresql-9.5.
    Preparing to unpack .../postgresql-9.5_9.5.2-1_amd64.deb ...
    Unpacking postgresql-9.5 (9.5.2-1) ...
    Selecting previously unselected package postgresql.
    Preparing to unpack .../postgresql_9.5+173_all.deb ...
    Unpacking postgresql (9.5+173) ...
    Selecting previously unselected package postgresql-contrib-9.5.
    Preparing to unpack .../postgresql-contrib-9.5_9.5.2-1_amd64.deb ...
    Unpacking postgresql-contrib-9.5 (9.5.2-1) ...
    Selecting previously unselected package sysstat.
    Preparing to unpack .../sysstat_11.2.0-1_amd64.deb ...
    Unpacking sysstat (11.2.0-1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for systemd (229-4ubuntu5) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Setting up libsensors4:amd64 (1:3.4.0-2) ...
    Setting up libxslt1.1:amd64 (1.1.28-2.1) ...
    Setting up postgresql-client-common (173) ...
    Setting up postgresql-client-9.5 (9.5.2-1) ...
    update-alternatives: using /usr/share/postgresql/9.5/man/man1/psql.1.gz to provi de /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode
    Setting up postgresql-common (173) ...
    Adding user postgres to group ssl-cert

    Creating config file /etc/postgresql-common/createcluster.conf with new version

    Creating config file /etc/logrotate.d/postgresql-common with new version
    Building PostgreSQL dictionaries from installed myspell/hunspell packages...
    Removing obsolete dictionary files:
    Setting up postgresql-9.5 (9.5.2-1) ...
    Unescaped left brace in regex is deprecated, passed through in regex; marked by-- HERE in m/(?" import ed
    gpg: Total number processed: 1
    gpg: imported: 1 (RSA: 1)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    apt-transport-https is already the newest version (1.2.10ubuntu1).
    ca-certificates is already the newest version (20160104ubuntu1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Hit:1 ru.archive.ubuntu.com/ubuntu xenial InRelease
    Hit:2 ru.archive.ubuntu.com/ubuntu xenial-updates InRelease
    Hit:3 ru.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Hit:4 ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
    Get:5 security.ubuntu.com/ubuntu xenial-security InRelease [93.3 kB]
    Ign:6 https://oss-binaries.phusionpassenger.com/apt/passenger xenial InRelease
    Get:7 https://oss-binaries.phusionpassenger.com/apt/passenger xenial Release [13.1 kB]
    Get:8 https://oss-binaries.phusionpassenger.com/apt/passenger xenial Release.gpg [836 B]
    Get:9 https://oss-binaries.phusionpassenger.com/apt/passenger xenial/main amd64 Packages [14 B]
    Get:10 https://oss-binaries.phusionpassenger.com/apt/passenger xenial/main i386 Packages [14 B]
    Fetched 107 kB in 6s (15.8 kB/s)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    All packages are up to date.
    W: https://oss-binaries.phusionpassenger.com/apt/pass... gpg: Signature by key 16378A33A6EF16762922526E561F9B9CAC40B2F7 uses weak digest algorithm (SHA1)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    fonts-lato javascript-common libcurl3 libgd3 libjs-jquery libluajit-5.1-2
    libluajit-5.1-common libruby2.3 libvpx3 libxpm4 nginx-common rake ruby
    ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-rack
    ruby-test-unit ruby2.3 rubygems-integration unzip zip
    Suggested packages:
    libgd-tools fcgiwrap nginx-doc passenger-doc python rails ri ruby-dev
    bundler
    The following NEW packages will be installed:
    fonts-lato javascript-common libcurl3 libgd3 libjs-jquery libluajit-5.1-2
    libluajit-5.1-common libruby2.3 libvpx3 libxpm4 nginx-common nginx-extras
    passenger rake ruby ruby-did-you-mean ruby-minitest ruby-net-telnet
    ruby-power-assert ruby-rack ruby-test-unit ruby2.3 rubygems-integration
    unzip zip
    0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
    Need to get 9,566 kB of archives.
    After this operation, 39.9 MB of additional disk space will be used.
    Get:1 ru.archive.ubuntu.com/ubuntu xenial/main amd64 fonts-lato all 2.0-1 [2,693 kB]
    Get:2 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libxpm4 amd64 1:3.5.11-1 [33.1 kB]
    Get:3 ru.archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
    Get:4 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libcurl3 amd64 7.47.0-1ubuntu2 [185 kB]
    Get:5 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libvpx3 amd64 1.5.0-2ubuntu1 [732 kB]
    Get:6 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libgd3 amd64 2.1.1-4build2 [124 kB]
    Get:7 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
    Get:8 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 libluajit-5.1-common all 2.0.4+dfsg-1 [35.3 kB]
    Get:9 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 libluajit-5.1-2 amd64 2.0.4+dfsg-1 [205 kB]
    Get:10 ru.archive.ubuntu.com/ubuntu xenial-updates/main amd64 nginx-common all 1.10.0-0ubuntu0.16.04.1 [26.0 kB]
    Get:11 ru.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 nginx-extras amd64 1.10.0-0ubuntu0.16.04.1 [629 kB]
    Get:12 ru.archive.ubuntu.com/ubuntu xenial/main amd64 rubygems-integration all 1.10 [4,966 B]
    Get:13 ru.archive.ubuntu.com/ubuntu xenial/main amd64 rake all 10.5.0-2 [48.2 kB]
    Get:14 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby-did-you-mean all 1.0.0-2 [8,390 B]
    Get:15 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby-minitest all 5.8.4-2 [36.6 kB]
    Get:16 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby-net-telnet all 0.1.1-2 [12.6 kB]
    Get:17 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby-power-assert all 0.2.7-1 [7,668 B]
    Get:18 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby-test-unit all 3.1.7-2 [60.3 kB]
    Get:19 ru.archive.ubuntu.com/ubuntu xenial/main amd64 libruby2.3 amd64 2.3.0-5ubuntu1 [2,964 kB]
    Get:20 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby2.3 amd64 2.3.0-5ubuntu1 [40.9 kB]
    Get:21 ru.archive.ubuntu.com/ubuntu xenial/main amd64 ruby all 1:2.3.0+1 [5,530 B]
    Get:22 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 ruby-rack all 1.6.4-3 [81.3 kB]
    Get:23 ru.archive.ubuntu.com/ubuntu xenial/universe amd64 passenger amd64 5.0.27-2 [1,149 kB]
    Get:24 ru.archive.ubuntu.com/ubuntu xenial/main amd64 unzip amd64 6.0-20ubuntu1 [158 kB]
    Get:25 ru.archive.ubuntu.com/ubuntu xenial/main amd64 zip amd64 3.0-11 [158 kB]
    Fetched 9,566 kB in 2s (4,662 kB/s)
    Selecting previously unselected package fonts-lato.
    (Reading database ... 99007 files and directories currently installed.)
    Preparing to unpack .../fonts-lato_2.0-1_all.deb ...
    Unpacking fonts-lato (2.0-1) ...
    Selecting previously unselected package libxpm4:amd64.
    Preparing to unpack .../libxpm4_1%3a3.5.11-1_amd64.deb ...
    Unpacking libxpm4:amd64 (1:3.5.11-1) ...
    Selecting previously unselected package javascript-common.
    Preparing to unpack .../javascript-common_11_all.deb ...
    Unpacking javascript-common (11) ...
    Selecting previously unselected package libcurl3:amd64.
    Preparing to unpack .../libcurl3_7.47.0-1ubuntu2_amd64.deb ...
    Unpacking libcurl3:amd64 (7.47.0-1ubuntu2) ...
    Selecting previously unselected package libvpx3:amd64.
    Preparing to unpack .../libvpx3_1.5.0-2ubuntu1_amd64.deb ...
    Unpacking libvpx3:amd64 (1.5.0-2ubuntu1) ...
    Selecting previously unselected package libgd3:amd64.
    Preparing to unpack .../libgd3_2.1.1-4build2_amd64.deb ...
    Unpacking libgd3:amd64 (2.1.1-4build2) ...
    Selecting previously unselected package libjs-jquery.
    Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
    Unpacking libjs-jquery (1.11.3+dfsg-4) ...
    Selecting previously unselected package libluajit-5.1-common.
    Preparing to unpack .../libluajit-5.1-common_2.0.4+dfsg-1_all.deb ...
    Unpacking libluajit-5.1-common (2.0.4+dfsg-1) ...
    Selecting previously unselected package libluajit-5.1-2:amd64.
    Preparing to unpack .../libluajit-5.1-2_2.0.4+dfsg-1_amd64.deb ...
    Unpacking libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
    Selecting previously unselected package nginx-common.
    Preparing to unpack .../nginx-common_1.10.0-0ubuntu0.16.04.1_all.deb ...
    Unpacking nginx-common (1.10.0-0ubuntu0.16.04.1) ...
    Selecting previously unselected package nginx-extras.
    Preparing to unpack .../nginx-extras_1.10.0-0ubuntu0.16.04.1_amd64.deb ...
    Unpacking nginx-extras (1.10.0-0ubuntu0.16.04.1) ...
    Selecting previously unselected package rubygems-integration.
    Preparing to unpack .../rubygems-integration_1.10_all.deb ...
    Unpacking rubygems-integration (1.10) ...
    Selecting previously unselected package rake.
    Preparing to unpack .../archives/rake_10.5.0-2_all.deb ...
    Unpacking rake (10.5.0-2) ...
    Selecting previously unselected package ruby-did-you-mean.
    Preparing to unpack .../ruby-did-you-mean_1.0.0-2_all.deb ...
    Unpacking ruby-did-you-mean (1.0.0-2) ...
    Selecting previously unselected package ruby-minitest.
    Preparing to unpack .../ruby-minitest_5.8.4-2_all.deb ...
    Unpacking ruby-minitest (5.8.4-2) ...
    Selecting previously unselected package ruby-net-telnet.
    Preparing to unpack .../ruby-net-telnet_0.1.1-2_all.deb ...
    Unpacking ruby-net-telnet (0.1.1-2) ...
    Selecting previously unselected package ruby-power-assert.
    Preparing to unpack .../ruby-power-assert_0.2.7-1_all.deb ...
    Unpacking ruby-power-assert (0.2.7-1) ...
    Selecting previously unselected package ruby-test-unit.
    Preparing to unpack .../ruby-test-unit_3.1.7-2_all.deb ...
    Unpacking ruby-test-unit (3.1.7-2) ...
    Selecting previously unselected package libruby2.3:amd64.
    Preparing to unpack .../libruby2.3_2.3.0-5ubuntu1_amd64.deb ...
    Unpacking libruby2.3:amd64 (2.3.0-5ubuntu1) ...
    Selecting previously unselected package ruby2.3.
    Preparing to unpack .../ruby2.3_2.3.0-5ubuntu1_amd64.deb ...
    Unpacking ruby2.3 (2.3.0-5ubuntu1) ...
    Selecting previously unselected package ruby.
    Preparing to unpack .../ruby_1%3a2.3.0+1_all.deb ...
    Unpacking ruby (1:2.3.0+1) ...
    Selecting previously unselected package ruby-rack.
    Preparing to unpack .../ruby-rack_1.6.4-3_all.deb ...
    Unpacking ruby-rack (1.6.4-3) ...
    Selecting previously unselected package passenger.
    Preparing to unpack .../passenger_5.0.27-2_amd64.deb ...
    Unpacking passenger (5.0.27-2) ...
    Selecting previously unselected package unzip.
    Preparing to unpack .../unzip_6.0-20ubuntu1_amd64.deb ...
    Unpacking unzip (6.0-20ubuntu1) ...
    Selecting previously unselected package zip.
    Preparing to unpack .../archives/zip_3.0-11_amd64.deb ...
    Unpacking zip (3.0-11) ...
    Processing triggers for fontconfig (2.11.94-0ubuntu1) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for ufw (0.35-0ubuntu2) ...
    Processing triggers for systemd (229-4ubuntu5) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for mime-support (3.59ubuntu1) ...
    Setting up fonts-lato (2.0-1) ...
    Setting up libxpm4:amd64 (1:3.5.11-1) ...
    Setting up javascript-common (11) ...
    Setting up libcurl3:amd64 (7.47.0-1ubuntu2) ...
    Setting up libvpx3:amd64 (1.5.0-2ubuntu1) ...
    Setting up libgd3:amd64 (2.1.1-4build2) ...
    Setting up libjs-jquery (1.11.3+dfsg-4) ...
    Setting up libluajit-5.1-common (2.0.4+dfsg-1) ...
    Setting up libluajit-5.1-2:amd64 (2.0.4+dfsg-1) ...
    Setting up nginx-common (1.10.0-0ubuntu0.16.04.1) ...
    Setting up nginx-extras (1.10.0-0ubuntu0.16.04.1) ...
    Setting up rubygems-integration (1.10) ...
    Setting up ruby-did-you-mean (1.0.0-2) ...
    Setting up ruby-minitest (5.8.4-2) ...
    Setting up ruby-net-telnet (0.1.1-2) ...
    Setting up ruby-power-assert (0.2.7-1) ...
    Setting up ruby-test-unit (3.1.7-2) ...
    Setting up unzip (6.0-20ubuntu1) ...
    Setting up zip (3.0-11) ...
    Setting up rake (10.5.0-2) ...
    Setting up libruby2.3:amd64 (2.3.0-5ubuntu1) ...
    Setting up ruby2.3 (2.3.0-5ubuntu1) ...
    Setting up ruby (1:2.3.0+1) ...
    Setting up ruby-rack (1.6.4-3) ...
    Setting up passenger (5.0.27-2) ...
    Processing triggers for libc-bin (2.23-0ubuntu3) ...
    Processing triggers for systemd (229-4ubuntu5) ...
    Processing triggers for ureadahead (0.100.0-19) ...
    Processing triggers for ufw (0.35-0ubuntu2) ...
    deployer@4e4o:~$ nginx -V
    nginx version: nginx/1.10.0 (Ubuntu)
    built with OpenSSL 1.0.2g-fips 1 Mar 2016
    TLS SNI support enabled
    configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wform at -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,- Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/ngin x --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log -- error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-p ath=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastc gi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/ uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-htt p_stub_status_module --with-http_realip_module --with-http_auth_request_module - -with-http_addition_module --with-http_dav_module --with-http_flv_module --with- http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --wit h-http_image_filter_module --with-http_mp4_module --with-http_perl_module --with -http_random_index_module --with-http_secure_link_module --with-http_v2_module - -with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module --with-stream --with-stream_ssl_module --with-threads --add-module=/build/nginx -nfWkVF/nginx-1.10.0/debian/modules/headers-more-nginx-module --add-module=/buil d/nginx-nfWkVF/nginx-1.10.0/debian/modules/nginx-auth-pam --add-module=/build/ng inx-nfWkVF/nginx-1.10.0/debian/modules/nginx-cache-purge --add-module=/build/ngi nx-nfWkVF/nginx-1.10.0/debian/modules/nginx-dav-ext-module --add-module=/build/n ginx-nfWkVF/nginx-1.10.0/debian/modules/nginx-development-kit --add-module=/buil d/nginx-nfWkVF/nginx-1.10.0/debian/modules/nginx-echo --add-module=/build/nginx- nfWkVF/nginx-1.10.0/debian/modules/ngx-fancyindex --add-module=/build/nginx-nfWk VF/nginx-1.10.0/debian/modules/nginx-http-push --add-module=/build/nginx-nfWkVF/ nginx-1.10.0/debian/modules/nginx-lua --add-module=/build/nginx-nfWkVF/nginx-1.1 0.0/debian/modules/nginx-upload-progress --add-module=/build/nginx-nfWkVF/nginx- 1.10.0/debian/modules/nginx-upstream-fair --add-module=/build/nginx-nfWkVF/nginx -1.10.0/debian/modules/ngx_http_substitutions_filter_module
  • Как установить nginx на Ubuntu server 16.04 x64?

    @sunnmas Автор вопроса
    Владимир Мусихин: lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04 LTS
    Release: 16.04
    Codename: xenial
  • Как установить nginx на Ubuntu server 16.04 x64?

    @sunnmas Автор вопроса
    Владимир Мусихин: deployer@4e4o:~$ cat /proc/version
    Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
  • Как установить nginx на Ubuntu server 16.04 x64?

    @sunnmas Автор вопроса
    Владимир Мусихин: #

    # deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main rest$

    # deb cdrom:[Ubuntu-Server 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.3)]/ xenial main rest$

    # See help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb ru.archive.ubuntu.com/ubuntu xenial main restricted
    # deb-src ru.archive.ubuntu.com/ubuntu xenial main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb ru.archive.ubuntu.com/ubuntu xenial-updates main restricted
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb ru.archive.ubuntu.com/ubuntu xenial universe
    # deb-src ru.archive.ubuntu.com/ubuntu xenial universe
    deb ru.archive.ubuntu.com/ubuntu xenial-updates universe
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb ru.archive.ubuntu.com/ubuntu xenial multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial multiverse
    deb ru.archive.ubuntu.com/ubuntu xenial-updates multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-updates multiverse

    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb ru.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb archive.canonical.com/ubuntu xenial partner
    # deb-src archive.canonical.com/ubuntu xenial partner

    deb security.ubuntu.com/ubuntu xenial-security main restricted
    # deb-src security.ubuntu.com/ubuntu xenial-security main restricted
    deb security.ubuntu.com/ubuntu xenial-security universe
    # deb-src security.ubuntu.com/ubuntu xenial-security universe

    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb ru.archive.ubuntu.com/ubuntu xenial multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial multiverse
    deb ru.archive.ubuntu.com/ubuntu xenial-updates multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-updates multiverse

    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb ru.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
    # deb-src ru.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb archive.canonical.com/ubuntu xenial partner
    # deb-src archive.canonical.com/ubuntu xenial partner

    deb security.ubuntu.com/ubuntu xenial-security main restricted
    # deb-src security.ubuntu.com/ubuntu xenial-security main restricted
    deb security.ubuntu.com/ubuntu xenial-security universe
    # deb-src security.ubuntu.com/ubuntu xenial-security universe
    deb security.ubuntu.com/ubuntu xenial-security multiverse
    # deb-src security.ubuntu.com/ubuntu xenial-security multiverse
    deb nginx.org/packages/ubuntu xenial nginx
    deb-src nginx.org/packages/ubuntu xenial nginx
  • Как установить nginx на Ubuntu server 16.04 x64?

    @sunnmas Автор вопроса
    deployer@4e4o:~$ sudo apt-get update
    Hit:1 ru.archive.ubuntu.com/ubuntu xenial InRelease
    Get:2 ru.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
    Hit:3 ru.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Ign:4 nginx.org/packages/ubuntu xenial InRelease
    Get:5 security.ubuntu.com/ubuntu xenial-security InRelease [93.3 kB]
    Get:6 nginx.org/packages/ubuntu xenial Release [2,300 B]
    Get:7 nginx.org/packages/ubuntu xenial Release.gpg [287 B]
    Ign:7 nginx.org/packages/ubuntu xenial Release.gpg
    Get:8 nginx.org/packages/ubuntu xenial/nginx Sources [739 B]
    Get:9 nginx.org/packages/ubuntu xenial/nginx amd64 Packages [2,353 B]
    Get:10 nginx.org/packages/ubuntu xenial/nginx i386 Packages [2,358 B]
    Ign:11 https://oss-binaries.phusionpassenger.com/apt/passenger trusty InRelease
    Hit:12 https://oss-binaries.phusionpassenger.com/apt/passenger trusty Release
    Hit:14 ppa.launchpad.net/nginx/stable/ubuntu xenial InRelease
    Hit:15 ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
    Fetched 196 kB in 4s (48.1 kB/s)
    Reading package lists... Done
    W: GPG error: nginx.org/packages/ubuntu xenial Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABF5BD827BD9BF62
    W: The repository 'nginx.org/packages/ubuntu xenial Release' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: There is no public key available for the following key IDs:
    ABF5BD827BD9BF62
    W: https://oss-binaries.phusionpassenger.com/apt/pass... Signature by key 16378A33A6EF16762922526E561F9B9CAC40B2F7 uses weak digest algorithm (SHA1)