• 検索結果がありません。

Debian GNU Linux の インストールと基本設定

N/A
N/A
Protected

Academic year: 2021

シェア "Debian GNU Linux の インストールと基本設定"

Copied!
12
0
0

読み込み中.... (全文を見る)

全文

(1)

Debian GNU Linux の インストールと基本設定

1

金子邦彦

https://www.kkaneko.jp/tools/linux/index.html

(2)

インストール前に決めておくこと

2

項目 ホスト名

ドメイン名

root

のパスワード 新しいユーザの本名

新しいユーザのユーザ名 新しいユーザのパスワード

(3)

① DVD イメージファイルのダウンロード

3

• Debian GNU Linux の Web ページを開く https://www.debian.org/index.ja.html

• 「 Debian を入手する」の「 CD/USB ISO イメー

ジ」をクリック

(4)

• 「 HTTP を使って CD/DVD イメージをダウン ロードする」をクリック

• 「 amd64 」を選ぶ

• 「 DVD-1 」の ISO イメージファイルをダウン ロード

4

(5)

② Debian 10 64 ビット版のインストール (1/4)

5

Graphical Installブートメニュー 日本語 → 言語の選択Continue日本語 → 続ける場所の選択

日本語 → 続ける キーボードの設定

インストールが 始まる

ホスト名の設定 ドメイン名の設定 root のパスワード

(6)

③ Debian 10 64 ビット版のインストール (2/4)

6

新しいユーザの 本名

あなたのアカウ ントのユーザ名

新しいユーザの

パスワード ディスク全体を使う→ 続け

ディスクパーティショニング

パーティショニングする ディスクの選択

パーティショニング 全てのファイルを1つのパ ーティションに→ 続ける

パーティショニング

パーティショニングの終了とディス クへの変更の書き込み → 続ける

ディスクに変更書き込みま すか

はい→ 続ける

(7)

④ Debian 10 64 ビット版のインストール (3/4)

7

インストールが 始まる

別の CD DVD を検査しますか

いいえ→ 続ける ネットワークミラーを使いますか

はい→ 続ける

パッケージマネージャの設定

日本→ 続ける

Debian アーカイブ ミラーの選択

HTTP プロキシの 情報

Debian パッケージ利

用調査に参加しますか ソフトウエアの選択

(8)

ソフトウエアの選択

8

※ この画面では, LXDE, Web サーバ , SSH サーバ ,

標準システムユーティリティを選択している

(9)

⑤ Debian 10 64 ビット版のインストール (4/4)

9

GRUB ブートローダをイン ストールしますか

はい→ 続ける

ブートローダをインストール するデバイス

/dev/sda → 続ける

インストール完了 ログイン画面が現れる

(10)

⑥ 一般ユーザで sudo を実行できる設定

10

次のコマンドを実行し,管理者権限に移行

管理者権限から戻る

<一般ユーザ名>

ALL=(ALL:ALL) ALL who

次のコマンドを実行し,一般ユーザ名を確認

管理者権限で,エディタを実行し /etc/sudoers を編集

  いま調べた「一般ユーザ名」を含む,次のような1行を末尾に追加

exit

一般ユーザ名として kaneko が得られているところ

確認したユーザ名が kaneko だった場合の設定

su Debian システムの root のパスワード>

(11)

⑦ Debian システムの更新

11

次のコマンドを実行し, Debian システムを更新 sudo apt update

sudo apt upgrade

sudo apt dist-upgrade /sbin/shutdown -r now

※ 「 sudo ・・・」の実行時に,「 [sudo] password for ...: 」のよ うなプロンプトが出たときは,

Debian のインストール時に設定した「一般ユーザのパスワー

ド」を入れる.

(12)

⑧ ファイヤウオールの設定

12

• 次のコマンドを実行して, Debian システム のファイヤウオールを設定

sudo iptables -F

sudo iptables -P INPUT DROP sudo iptables -P FORWARD DROP sudo iptables -P OUTPUT ACCEPT

sudo iptables -A INPUT -s localhost -j ACCEPT

sudo iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

sudo iptables -A FORWARD -p tcp --tcp-flag SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu sudo iptables -A INPUT -p tcp --dport 22 -j ACCEPT

sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT

参照

関連したドキュメント

lores dos parˆ ametros da priori beta(a, b) para o parˆ ametro p do modelo de mistura avaliado em janeiro de 1996 sobre as m´ edias a posteriori dos riscos de infesta¸c˜ ao da broca,

Once bulk deformation b is chosen (so that there is a torus fiber L whose Floer cohomology is non-vanishing), then we consider the Floer chain complex of L with a generic torus fiber

In terms of the i-invariants, the absolute p-adic Grothendieck conjecture is reduced to the following two

For arbitrary 1 < p < ∞ , but again in the starlike case, we obtain a global convergence proof for a particular analytical trial free boundary method for the

のようにすべきだと考えていますか。 やっと開通します。長野、太田地区方面  

The construction of homogeneous statistical solutions in [VF1], [VF2] is based on Galerkin approximations of measures that are supported by divergence free periodic vector fields

L´evy V´ehel, Large deviation spectrum of a class of additive processes with correlated non-stationary increments.. L´evy V´ehel, Multifractality of

[3] A USCHER P., Ondelettes `a support compact et conditions aux limites, J. AND T ABACCO A., Multilevel decompositions of functional spaces, J. AND T ABACCO A., Ondine