2.2. 웹 계정 생성 및 관리
perfsonar-toolkit 패키지를 설치한 경우, WebUI > Configuration 에 로그인하는 계정을 생성합니다.
nptoolkit-configure.py
ssh 로 로그인하면 제일 먼저 뜨는 스크립트입니다. 루트로 실행해야 합니다.
$ ssh ubuntu@PERFSONAR Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-64-generic x86_64) ... Welcome to the perfSONAR Toolkit v5.2.1 You may create accounts to manage this host through the web interface by running the following as root: /usr/lib/perfsonar/scripts/nptoolkit-configure.py The web interface should be available at: https://[host address]/toolkit ubuntu@PERFSONAR:~$ /usr/lib/perfsonar/scripts/nptoolkit-configure.py You must run the Internet2 pS-Performance Toolkit configuration script as root. ubuntu@PERFSONAR:~$ sudo /usr/lib/perfsonar/scripts/nptoolkit-configure.py perfSONAR Toolkit customization script 1. Change Timezone 2. Manage Web Users 0. exit Make a selection:
Configuration 계정 생성
nptoolkit-configure.py 로 계정을 생성합니다. 해당 스크립트는 아파치 웹서버의 계정설정도구 htpasswd를 호출하여 계정정보를 /etc/perfsonar/toolkit/psadmin.htpasswd 파일에 저장합니다.
$ sudo /usr/lib/perfsonar/scripts/nptoolkit-configure.py perfSONAR Toolkit customization script 1. Change Timezone 2. Manage Web Users 0. exit Make a selection: 2 Welcome to the perfSONAR Toolkit user administration program. This program will help you administer users. You may configure any of the options below with this program: 1. Add a new user 2. Delete a user 3. Change a user's password 0. exit Make a selection: 1 Enter the user whose account you'd like to add. Just hit enter to exit: gdhong New password: Re-type new password: Updating password for user gdhong ... $ sudo cat /etc/perfsonar/toolkit/psadmin.htpasswd gdhong:...
웹 로그인
웹브라우저에서 http://<PERFSONAR_IP> 로 접속한 뒤, Configuration 버튼을 누르면 로그인 창이 뜬다. 위에서 생성한 계정을 입력하여 로그인한다.

