差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| softwares:nestdaq:installation2023 [2023/07/09 09:16] – [インストール] kobayash | softwares:nestdaq:installation2023 [2023/10/02 15:08] (現在) – [インストール] kobayash | ||
|---|---|---|---|
| 行 299: | 行 299: | ||
| $ chmod +x redisinsight-linux64 | $ chmod +x redisinsight-linux64 | ||
| $ ./ | $ ./ | ||
| + | < | ||
| + | $ | ||
| + | </ | ||
| + | * スクリプトなどの設定 | ||
| + | * run ディレクトリ作成< | ||
| + | </ | ||
| + | * 初期設定ファイル nestdaq.sh を / | ||
| + | $ emacs nestdaq.sh | ||
| + | </ | ||
| + | export NESTDAQ=$HOME/ | ||
| + | export PATH=$NESTDAQ/ | ||
| + | </ | ||
| + | # For NestDAQ 2023.06.09 | ||
| + | source $HOME/ | ||
| + | </ | ||
| + | * redis の立ち上げのためのファイル作成< | ||
| + | $ emacs init.sh | ||
| + | </ | ||
| + | redis-server $NESTDAQ/ | ||
| + | RIHOST=0.0.0.0 redisinsight-linux64 & | ||
| + | #daq-webctl >& $NESTDAQ/ | ||
| + | daq-webctl >& /dev/null & | ||
| + | </ | ||
| + | $ chmod +x ./init.sh | ||
| + | </ | ||
| + | * NestDAQ起動のためのスクリプトをコピー< | ||
| + | $ cp $HOME/ | ||
| + | </ | ||
| + | ==== 動かしてみる ==== | ||
| + | * run ディレクトリに移動< | ||
| + | </ | ||
| + | * .bashrcをソースし、init.sh を実行する。< | ||
| + | $ source $HOME/ | ||
| + | $ ./init.sh | ||
| + | </ | ||
| + | $ ERROR 2023-07-09 00: | ||
| + | Traceback (most recent call last): | ||
| + | File " | ||
| + | ... | ||
| + | OSError: [Errno 98] Address already in use | ||
| + | ERROR 2023-07-09 00: | ||
| + | Traceback (most recent call last): | ||
| + | File " | ||
| + | ... | ||
| + | OSError: [Errno 98] Address already in use | ||
| + | [149481] Failed to execute script ' | ||
| + | </ | ||
| + | $ killall redisinsight-linux64 | ||
| + | $ killall daq-webctl | ||
| + | </ | ||
| + | * リモートで作業をするために、VNCサーバーもインストールしておく。SELinux もdisable しておく。< | ||
| + | Password: | ||
| + | # dnf install tigervnc tigervnc-server | ||
| + | # emacs / | ||
| + | # | ||
| + | SELINUX=disabled | ||
| + | # reboot | ||
| + | </ | ||
| + | On no! Something has gone wrong. | ||
| + | A problem has occurred and the system can't recover. | ||
| + | Please log out and try again. | ||
| + | [ Log Out ] | ||
| + | </ | ||
| + | * これで Firefox などのブラウザを立ち上げ、http:// | ||
| + | * web ブラウザ上で、 任意の Run Number を入力 | ||
| + | * デバイスを複数立ち上げるため、まず tmux をインストール< | ||
| + | Password: | ||
| + | # dnf install tmux | ||
| + | # exit | ||
| + | </ | ||
| + | * tmux を立ち上げ、ウィンドウを分割。Ctl-b " で上下方向分割、Ctl-b % で左右方向分割。ウィンドウ間の移動は Ctl-b o。emacs のショートカットに近いものに設定しても良い。 | ||
| + | * tmux 上で 3 分割くらいにして、以下のスクリプトを実行。< | ||
| + | --------------------------------------- | ||
| + | $ ./ | ||
| + | ... | ||
| + | --------------------------------------- | ||
| + | $ ./ | ||
| + | ... | ||
| + | --------------------------------------- | ||
| + | $ ./ | ||
| + | ... | ||
| + | --------------------------------------- | ||
| </ | </ | ||
| - | |||
