1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Ubuntu 14.04 LTS 開発環境構築ログ #02

Last updated at Posted at 2016-02-21

前記事:Ubuntu 14.04 LTS 開発環境構築ログ #01

作業用ユーザでログイン

指定のIPアドレス、ポート番号に TeraTerm等でSSH接続(#01で作成した作業用ユーザ)

インストール済みパッケージを最新版に更新

最適なリポジトリからパッケージを取得するよう設定を変更

$ cd /etc/apt
$ sudo cp sources.list sources.list.org
$ sudoedit sources.list
$ diff -u sources.list sources.list.org
--- sources.list        2016-03-19 15:04:56.000000000 +0900
+++ sources.list.org    2016-03-19 15:03:21.000000000 +0900
@@ -1,5 +1,5 @@
-deb mirror://mirrors.ubuntu.com/mirrors.txt trusty main restricted universe
-deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-updates main restricted universe
-deb mirror://mirrors.ubuntu.com/mirrors.txt trusty-security main restricted universe multiverse
+deb http://archive.ubuntu.com/ubuntu trusty main restricted universe
+deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe
+deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
 deb http://archive.canonical.com/ubuntu trusty partner

$

インストール済みパッケージを最新版に更新

$ sudo apt update
$ sudo apt upgrade

途中で入力を求められたら下記の通り対応

  • Do you want to continue? [Y/n] :arrow_right: Y + Enter
  • Postfix Configuration :arrow_right: No configuration + OK(Enter)

インストール済みのパッケージをざっと確認

$ apt list | grep installed
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?