GithubHelp home page GithubHelp logo

private-isu-ops's People

Contributors

harukin721 avatar harukitosa avatar kesompochy avatar okuyama-gmopg avatar yaggytter avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

private-isu-ops's Issues

運用マニュアルの作成

ここに作っていく

CTO-A 若手ISUCON研修 運用マニュアル

リハーサル

当日、競技者が困らないように手順と動作を確認しておく

当日のための準備

チーム割り

マシンの準備

補足情報

鍵の変更手順例

### キーペアの生成

ubuntu:~$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/ubuntu/.ssh/id_rsa): 
Created directory '/home/ubuntu/.ssh'.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in /home/ubuntu/.ssh/id_rsa
Your public key has been saved in /home/ubuntu/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:ejdWFdpyYZlaQ0bgMLbtgul0sD7K4jxUPDRA6cFsl8Q test1@ip-172-31-32-81
The key's randomart image is:
+---[RSA 3072]----+
|   +o=..  + .+Bo |
|    * E  . * ==o |
|   o = .. . =o+. |
|    . +  = ..+   |
|     . .S o o    |
|    .  = . o     |
|   .  . = +      |
|   .o. o + .     |
|   .ooo          |
+----[SHA256]-----+

### 秘密鍵をローカルに持ってくる

ubuntu:~$ cat ~/.ssh/id_rsa
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
=== 途中略 ===
I8FRb+ClG4YLtts/ucucj7qoc9ctLGgnzLycKmZ8z2BoXyNhGnAin/K0VtPq/ssbMyCo66
sFc3HdTxmaBm0AAAAVdGVzdDFAaXAtMTcyLTMxLTMyLTgxAQIDBAUG
-----END OPENSSH PRIVATE KEY-----


上記をコピーして、ローカルファイルに保存する。(例: ctoa_isucon.pem とか)
ローカルで、鍵のパーミッションを変える

local:~$ chmod 600 ctoa_isucon.pem

### 公開鍵の反映

ubuntu:~$ cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys

### ローカルから新しい鍵でログインできるか確認

local:~$ ssh -i ctoa_isucon.pem [email protected]
(Windowsの方は、SSHクライアントで同様のことを行う)

### もともと配られていた公開鍵を消す

ubuntu:~$ cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys

### もう一度、ローカルから新しい鍵でログインできるか確認

local:~$ ssh -i ctoa_isucon.pem [email protected]
(Windowsの方は、SSHクライアントで同様のことを行う)

(同様の手順で、直接 isucon ユーザーで入れるようにしてもOKです)

チーム名決められるようにしたい

「チーム0」だと味気ないので。

idとしての数字(0, 1, 2, ...)は持っておいて、ポータルに表示するためのチーム名をpostして変えられるようにするとちょっとテンション上がる。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.