## 現役生やること(大掃除の後にやりましょう)
- [x] 2020年用メーリス作成
- [x] 新B4用PCの選定
- [ ] OB・OGをOBOGメーリスへ登録
- [ ] ゼミの内容決め(市野研B4と相談する)
- [x] git, knowledgeの管理者権限を現B4の誰かに付与
- [ ] (余裕があれば)ubuntu, windowsのインストールメディア作成
- [x] (物品購入ってどうなったんだ?)
- [ ] M2の方からカードキー・鍵を回収(卒業式の日?)
- 誰からどのカードキー(カードキー番号)を受け取ったかメモしておくこと
- 新B4にカードキーを渡すときも同様にメモする
- メモした内容は7Fの事務室に渡す
- 今年はIN5 OUT2だから事務室から鍵もらわないとね
## 新B4やること
- [x] UECメールの取得(https://www.cc.uec.ac.jp/srv/all/uecmail/#mail_uec)
- [ ] 2020年用メーリスへの登録
- [ ] 研究室カレンダーの登録・説明
- [x] 鍵を渡す
- [ ] 給湯室の掃除について説明
- [ ] 7Fの印刷機の説明
- [ ] ゴミ出しの説明
- ごみ袋は7F事務室からもらう,等
- [ ] ゼミのスケジュール決め(市野研と相談)
- [x] 研究室Wi-FiのSSID, password
- [x] 研究室PC(VAIO)
- [ ] 研究室HPの説明(広報係・サーバ係)
- 試しにメンバーの更新とかやってもらうといいかもね
- [ ] PCセットアップ
- OSインストール
- インストールメディア作成方法
- [ubuntu](https://linuxfan.info/make-linux-install-usb-on-windows)
- [windows](https://www.cc.uec.ac.jp/ug/ja/license/ms/#lic-ms-campus-win-office-kms)
- ↑からISOファイルをダウンロードする
- メディアの作成方法はubuntuと同じ
- ライセンス認証が必要なのでちょっとめんどくさい
- [boot順変更](https://www.pc-master.jp/mainte/k-jyuni.html)
- あとは頑張れ
- プロキシ設定
- `~/.bashrc`に↓を追記すればOK?(動作未確認)
```bash
# proxy setting
function uec_proxy() {
# settings for uec proxy
UEC_PROXY=proxy.uec.ac.jp:8080
export http_proxy="http://${UEC_PROXY}"
export https_proxy="http://${UEC_PROXY}"
export HTTP_PROXY="http://${UEC_PROXY}"
export HTTPS_PROXY="http://${UEC_PROXY}"
export ALL_PROXY="http://${UEC_PROXY}"
export no_proxy="127.0.0.1,localhost,192,168.11.*"
export NO_PROXY="127.0.0.1,localhost,192,168.11.*"
echo "proxy=http://${UEC_PROXY}" > ~/.curlrc
echo "http_proxy: http://${UEC_PROXY}" > ~/.gemrc
echo -e "use_proxy=on\nhttp_proxy=http://${UEC_PROXY}\nhttps_proxy=http://${UEC_PROXY}\nftp_proxy=http://${UEC_PROXY}" > ~/.wgetrc
# git config --global http.proxy proxy.uec.ac.jp:8080/
# git config --global https.proxy proxy.uec.ac.jp:8080/
# git config --global url."https://".insteadOf git://
}
function unset_proxy() {
# unset proxy
unset http_proxy
unset https_proxy
unset HTTP_PROXY
unset HTTPS_PROXY
unset ALL_PROXY
unset no_proxy
unset NO_PROXY
rm -f ~/.gemrc
rm -f ~/.wgetrc
rm -f ~/.curlrc
# git config --global --unset http.proxy
# git config --global --unset https.proxy
# git config --global --unset url."https://".insteadOf
}
uec_proxy &> /dev/null
```
- pythonとかインストール
- [anaconda直接インストール](https://www.sejuku.net/blog/85373)
- [pyenvからanacondaインストール](https://qiita.com/betweens/items/7d2b924309669b12add6)
- リモート接続の設定
- sol -> bastion01 -> 研究室PC の経路
- ルータのポート変換は使わない,踏み台サーバ(bastion01,172.21.148.64:2223(学内LAN), 192.168.11.12(研究室LAN))を使う
- 踏み台サーバのアカウントを作成する(`adduser`コマンド)
- [ssh-serverの設定](https://blog.masato.xyz/ubuntu-server-1804-lts-ssh-setup).研究室のPCに対して設定する
- 個人PCにクライアント側の設定を行う.設定例貼っときます(~/.ssh/config)
```bash:
Host sol
HostName sol.edu.cc.uec.ac.jp
Port 22
User x0000000
IdentityFile ~/.ssh/uec/id_rsa
AddKeysToAgent yes
Host bst
HostName 172.21.148.64
Port 2223
User xxx
IdentityFile ~/.ssh/uec/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p sol
Host labpc
HostName xxx.xxx.xxx.xxx
User xxx
IdentityFile ~/.ssh/uec/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p bst
Host otk1
HostName 192.168.11.62
User xxx
IdentityFile ~/.ssh/otaku/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p bst
Host otk2
HostName 192.168.11.61
User xxx
IdentityFile ~/.ssh/otaku/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p bst
Host otk3
HostName 192.168.11.52
User xxx
IdentityFile ~/.ssh/otaku/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p bst
Host otk4
HostName 192.168.11.63
User xxx
IdentityFile ~/.ssh/otaku/id_rsa
AddKeysToAgent yes
ProxyCommand ssh -CW %h:%p bst
```
- [ ] otakuシリーズの説明
- アカウント作成(`adduser`コマンド)
- ログイン方法説明
- (余裕があれば)環境構築
- [ ] wiki, git, knowledgeの入り方・使い方説明
- git, knowledgeはアカウント登録してあげる
- 管理者権限が必要
- [ ] NAS(192.168.11.246)の説明
- マウント方法
- [ ] (ビッグデータ班の人は)隔離PCで環境構築
- 大岡に確認する