Ubuntu 17.10 以降 (18.04 LTS以降)
netplan
1. 設定ファイル
/etc/netplan/50-cloud-init.yaml
: 自動生成ファイル。ユーザによる編集は非推奨。/etc/netplan/99_config.yaml
: Ubuntu公式ドキュメント例示ファイル名
Ubuntu 17.10 以降 (18.04 LTS以降)
/etc/netplan/50-cloud-init.yaml
: 自動生成ファイル。ユーザによる編集は非推奨。/etc/netplan/99_config.yaml
: Ubuntu公式ドキュメント例示ファイル名
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
$ rbenv install 2.7.2 Downloading ruby-2.7.2.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.bz2 Installing ruby-2.7.2... BUILD FAILED (Ubuntu 22.04 using ruby-build 20220630-4-gda94a64) Inspect or clean up the working tree at /tmp/ruby-build.20220707134146.17019.dV0Cyf Results logged to /tmp/ruby-build.20220707134146.17019.log Last 10 log lines: linking shared-object fiddle.so make[2]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2/ext/fiddle' ripper.y: At top level: cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics linking shared-object ripper.so make[2]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2/ext/ripper' make[1]: Leaving directory '/tmp/ruby-build.20220707134146.17019.dV0Cyf/ruby-2.7.2' make: *** [uncommon.mk:295: build-ext] Error 2 |
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 |
$ sudo apt show libssl-dev Package: libssl-dev Version: 3.0.2-0ubuntu1.6 Priority: optional Section: libdevel Source: openssl Origin: Ubuntu Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian OpenSSL Team <pkg-openssl-devel@alioth-lists.debian.net> Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 7959 kB Depends: libssl3 (= 3.0.2-0ubuntu1.6) Suggests: libssl-doc Conflicts: libssl1.0-dev Homepage: https://www.openssl.org/ Download-Size: 2081 kB APT-Manual-Installed: yes APT-Sources: http://ports.ubuntu.com/ubuntu-ports jammy-updates/main armhf Packages Description: Secure Sockets Layer toolkit - development files This package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet. . It contains development libraries, header files, and manpages for libssl and libcrypto. N: There is 1 additional record. Please use the '-a' switch to see it |
Ubuntu 22.04 には OpenSSL 3 しか存在しないため Ruby 3.1 未満のバージョンはビルドできない問題
1 |
$ sudo apt install avahi-daemon |
1 |
$ sudo /etc/init.d/avahi-daemon stop |
1 |
$ sudo /etc/init.d/avahi-daemon start |
1 |
$ sudo systemctl disable avahi-daemon.service |
1 |
$ sudo systemctl enable avahi-daemon.service |
Ubuntu 16.04LTSにおいて、全てのユーザーにネットワークのアクセス権を与える。