Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

- [Virtual Boxをインストールしよう](virtual_box_install/README.md)

**Git編**

- [Gitをインストールしよう](git_install/README.md)


## Basic - 基礎

Expand Down Expand Up @@ -40,9 +44,12 @@

## Problem - 問題集

雑多な問題を置いてます。</br>※ ★は難易度(Difficult)です。
例★★☆☆☆ = Level 2
* [NAT 問題(★★☆☆☆)](nat/README.md)


### 編集環境

- VSCode
- Draw.io Integration プラグインを使用。
- Draw.io Integration プラグインを使用。
25 changes: 25 additions & 0 deletions basic_server02/README 2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# basic server-lamp02

## 問題01

* `tera_term` を使用してサーバに`ssh`で`root`でログインしなさい
* serverで作ったユーザーが`sudo`コマンドをパスワードなしで、実行できるようにしなさい

### 以下を調べなさい
- `ssh`と`telnet`との違いとは
- `sudoers`ファイルとは

- 使うであろうコマンド,`ssh`,`ip addr`,`visudo`

## 問題2

* ブラウザから`Webサーバ`にアクセスしたときに`https`通信できるようにしなさい #自己証明で良い

* `http://ipアドレス`にアクセスしたら`https://ipアドレス`にリダイレクトさせなさい

### 以下を調べなさい
- `自己証明`とは
- `https`接続したときに,警告が出る理由をしらベなさ

- 使うであろうコマンド,`openssl`,`.htaccess`
45 changes: 45 additions & 0 deletions git_install/README 2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# GitをダウンロードしてGitHubを使ってみファイル管理をしてみよう01

## GItとは
* Gitを使用することで、複数の人々が同じコードやファイルを同時に編集することができ、変更履歴を追跡し、必要なときに変更を元に戻すことができます。
* 学校でのプロジェクトを管理するときなど、ネト研での問題管理もGitHubで行っています
* GitHubを今回は、GUIを使って管理していきます、ターミナルに慣れることができればそれが`ベスト`です。

## Windows
1. まず,[Gitをインストール](https://git-scm.com/download/win)する
![](fig/dl_link.drawio.svg)
2. 64ビットをインストールしてください
3. ダウンロードした,installerを実行してください
4. 実行後 , next → next → ここでとまる
- ![](fig/bash.drawio.svg)
1. 一番下の`(NEW!)Add a git Bash Profile to Windows Terminal`のチェックボックスにチェックを入れてください(チェックが入っていないと`Git Bash`が使えないので注意してください)
2. 以降は全部`next`を押して、`install`を押してください

### Git bash profile
1. Windowsメニューから`Git`のフォルダをクッリク,その中の`Git Bash`をクリック
- ![](fig/git_bash.drawio.svg)
2. `Git Bash`を開くと`Terminal`が開きます
3. 開いたら,`profile設定`をしてください


## Mac
- `Mac`ではコマンドで`Git`をインストールします
1. `Git`が入っているかどうか`Terminal`から確認します コマンド → `git --version`
2. 入っていない場合は,`Homebrew`からGitをインストールします,入っている場合は`profile設定`に飛んでください
3. `brew install git`を入力しインストール,インストール後確認`git --version`
4. > git version 2.38.1


## profile 設定 Mac $ Windows 共通 (WindowsはBash ,MacはTerminal)
1. ユーザー名(`user.name`)とメールアドレス(`user.email`)を登録します
2. `git config --global user.name "Your Name"`を打って`Git`にユーザー名を登録します ,"Your Name" には Git で使用するユーザ名を入力して下さい"
`Git`にユーザー名を登録しておくことで、コミット時のユーザ名を自動で登録してくれます
- *例* `git config --global user.name "Yoshiki"`
- *確認*`git onfig --global user.name`を叩いて登録したユーザー名が表示されればOKです
1. `git config --global user.email "Your email"`を打って`Git`にメールアドレスを登録します、"Your email"はGitで使用するメールアドレスを入力してください
- *例* `git config --global user.email "wtfWasThat@gmail.com"`
- *確認*`git config --global user.email`を叩いて登録したメールアドレスが表示されればOKです
2. 登録確認のために`git config --global --list`を打って確認してください,登録した内容が表示されればOKです


### `Git Hubでファイルを管理してみよう`に続きます
6 changes: 6 additions & 0 deletions git_install/fig/bash.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions git_install/fig/dl_link.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions git_install/fig/git_bash.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions packettracer_install/README 2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Packet Tracerをインストールしよう
## Packet Tracerとは
### ciscoの機器を`仮想上`で扱える無料のソフトウェア
![](./fig/%E6%8E%A5%E7%B6%9A.png)
### 機器の設定が簡単にできる
* Router<br>
![](./fig/Router.png)
* PC<br>
![](./fig/PC.png)
* ping<br>
![](./fig/ping.png)

## インストール方法
### Ciscoアカウントがない場合
1. [こちらのサイトにアクセス](https://www.netacad.com/courses/packet-tracer/introduction-packet-tracer)して
「Sign up today」を選択し、「English」をクリック
2. 登録画面に必要項目を入力し「submit」をクリック
3. アカウント作成画面に入力<br>※会社名は必須ではない
4. サインイン画面にパスワードを入力して、登録したメールアドレスに届いた「コード」を入力
5. 移行した画面に項目を入力してアカウント作成
6. コース開始の必要はないので「×」ボタンクリック
* 詳しくは、[こちらのサイト](https://www.infraexpert.com/info/packettracer02.html)を確認

### アカウント作成した場合
1. アカウント登録後のWebサイトで画面上の「リソース」を選択し「Packet Tracerのダウンロード」を選択
2. Windows版、Linux版、macOS版があるので、Cisco Packet Tracerをインストールする環境にあわせてダウンロード
3. 2でダウンロードしたexeファイルをダブルクリック<br>※インストールには416.6MB必要
4. そのままnext(全てnextでOK)→install→finish
5. ※「Would you like to run multi-user when application starts?」(マルチユーザー接続)を聞かれたら「NO」
6. ※ファイアウォールでブロックされたら、「プライベートネットワーク」に`☑→アクセスを許可する`
7. 認証画面にて、Ciscoアカウントのメールアドレスとパスワード入力
* 詳しくは[こちらのサイト](https://www.infraexpert.com/info/packettracer03.html)を確認
## 使い方
1. 画面<br>
![](./fig/screen.png)
2. 左下のメニューからデバイスを配置する<br>
![](./fig/device.png)
3. ケーブルメニューから機器のインタフェース接続<br>
<p>
<img src="./fig/PC_interface.png" width="49%">
<img src="./fig/R_interface.png" width="49%">
</p>

4. PCをクリックして「Desktop」タブから左上、「IP」を選択<br>
![](./fig/PC_service.png)
5. IPアドレス振る<br>
![](./fig/PC.png)
6. Routerクリックして真ん中、「CLI」タブクリック<br>
![](./fig/R_service.png)
7. 設定<br>
![](./fig/R_CLI.png)
8. PCの「Desktop」タブから「Command Pronpt」(上段、左から4つ目)選択<br>
![](./fig/PC_service.png)
9. Routerにping<br>
![](./fig/ping.png)
## お疲れさまでした!
Binary file added packettracer_install/fig/PC 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/PC_ 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/PC_interface 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/PC_service 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/R_CLI 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/R_interface 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/R_service 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/Router 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/device 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/ping 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/screen 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packettracer_install/fig/接続 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions teraterm_install/README 2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Tera Termをインストールしよう(Windows)
## ダウンロード
1. [ダウンロードサイト](https://forest.watch.impress.co.jp/library/software/utf8teraterm/)からTera Termをダウンロード
(上のやつ)
2. ダウンロードした.exeファイルをクリックしてインストール<br>
同意→次へ→次へ→次へ→次へ→インストール

## ドライバ
1. [ダウンロードサイト](https://www.buffalo.jp/support/download/detail/?dl_contents_id=62142)からダウンロード
2. ダウンロードした.exeファイルを実行
3. (途中でReadmeファイル出てきたらその指示通りに進める)