Ubuntu 17.04: Ubuntu 17.04をインストールする


Table of Contents

1 新規インストール

ubuntu-17.04-desktop-amd64.isoをダウンロードして起動します。

$ wget http://releases.ubuntu.com/zesty/ubuntu-17.04-desktop-amd64.iso

左側のインストールで使用する言語を選択して”Install Ubuntu”を押します。

0001_Welcom.png

インストール時にインターネット経由でアップデートを取得する場合は”Download updates while …”にチェックを入れます。プロプライエタリなデバイスドライバが必要な場合は”Install third-party software …”にチェックを入れます。

0002_PreparingToInstallUbuntu.png

ディスクのパーティションを設定します。仮想マシンの場合はLVMをおすすめします。

0003_InstallationType.png

ディスクパーティションの変更を反映させます。

0004_WriteTheChangesToDisks.png

タイムゾーンを設定します。タイムゾーンを自動で割り出すようですが、異なる場合は地図上をクリックしてください。

0005_WhereAreYou.png

キーボードのレイアウトを設定します。

0006_KeyboardLayout.png

コンピュータ名、ユーザ名、パスワードを設定します。

0007_WhoAreYou.png

インストールが完了したら再起動します。

0008_Restart.png

Ubuntuが起動します。

0009_Login.png

2 Ubuntu 16.10からUbuntu 17.04にアップグレードする

Ubuntu 16.10を最新の状態にします。

$ sudo apt update -y$ sudo apt upgrade -y$ sudo apt dist-upgrade -y

do-release-upgradeでUbuntu 16.10からUbuntu 17.04にアップグレードします。

$ sudo apt install -y update-manager-core$ sudo do-release-upgrade

デーモンを開始する為にyと入力します。

If you continue, an additional ssh daemon will be started at port’1022′.Do you want to continue?Continue [yN] y

ポートを開放する為にENTERキーを押します。

‘iptables -I INPUT -p tcp –dport 1022 -j ACCEPT’To continue please press [ENTER]

アップグレードを開始するためにyと入力します。

Installing the upgrade can take several hours. Once the download hasfinished, the process cannot be canceled. Continue [yN] Details [d]y

変更を加えているファイルに関して上書きしてよいかの警告が出ます。適時答えてください。

Configuration file ‘/etc/NetworkManager/NetworkManager.conf’ ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer’s version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version.*** NetworkManager.conf (Y/I/N/O/D/Z) [default=N] ? N

サポートされなくなったソフトウェアを削除する為にyと入力します。

66 packages are going to be removed. Continue [yN] Details [d]y

再起動する為にyと入力します。再起動後はUbuntu 17.04が起動します。

To finish the upgrade, a restart is required.If you select ‘y’ the system will be restarted.Continue [yN] y

Android | Linux | SDL - Narrow Escape