This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5. MACアドレスを自分で書き換えることはできるでしょうか? | |
(できる場合は具体的な方法と注意点、できない場合は理由も書いてください) | |
eth0 に付いているMACアドレスを変更する場合は | |
ifconfigを用いてifconfig (インターフェース名) hw ether (変更したいMACアドレス)と | |
上記の様なコマンドを実行する事で変更できます。 | |
サンプル例としてインターフェース名が「eth0」、 | |
変更後のMACアドレスを「AA:AA:AA:AA:AA:AA」としたい場合は | |
ifconfig eth0 hw ether AA:AA:AA:AA:AA:AA | |
とコマンドを実行するとeth0のMACアドレスを変更することが可能です。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4. Maximum Transmission Unit (MTU) の最大値はいくつでしょうか? | |
(複数回答がある場合は、わかる範囲で全部書いてください) | |
pingコマンドを用いてMTUを取得しました。 | |
pingコマンドは以下のオプションを指定して測定しました。 | |
[ -s ]:送信するパケットのサイズ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import curses | |
import time | |
stdscr = curses.initscr() | |
pad = curses.newpad(100, 100) | |
for y in range(0, 100): | |
for x in range(0, 100): | |
try: pad.addch(y,x, "a" ) | |
except curses.error: pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
import requests | |
import re | |
user_name = "UserName" # ユーザー名 | |
screen_name = "Screen_name" # screen_name・ユーザーID | |
password = "Password" # パスワード | |
mailAddress = "mail@example.com" # メールアドレス | |
url = 'https://twitter.com/signup' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2ver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -i [秘密鍵のパス] ec2-user@[IPアドレス] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-describe-instances [インスタンスID] -region [リージョンID] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-stop-instances [インスタンスID] -region [リージョンID] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ec2-start-instances [インスタンスID] -region [リージョンID] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unzip ec2-api-tools.zip | |
yum install -y java-1.7.0-openjdk | |
vi ~/.bashrc | |
source ~/.bashrc |
NewerOlder