- 우분투 htpasswd 설치
- 우분투 apache2-utils 설치
1 확인[ | ]
Console
Copy
testuser@localhost:~$ ab
Command 'ab' not found, but can be installed with:
apt install apache2-utils
Please ask your administrator.
Console
Copy
root@localhost:~# ab
Command 'ab' not found, but can be installed with:
apt install apache2-utils
Console
Copy
root@localhost:~# htpasswd
The program 'htpasswd' is currently not installed. You can install it by typing:
apt-get install apache2-utils
2 설치[ | ]
Console
Copy
root@localhost:~# apt install apache2-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
apache2-utils
0 upgraded, 1 newly installed, 0 to remove and 174 not upgraded.
Need to get 0 B/82.3 kB of archives.
After this operation, 347 kB of additional disk space will be used.
Selecting previously unselected package apache2-utils.
(Reading database ... 89964 files and directories currently installed.)
Preparing to unpack .../apache2-utils_2.4.7-1ubuntu4.9_amd64.deb ...
Unpacking apache2-utils (2.4.7-1ubuntu4.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up apache2-utils (2.4.7-1ubuntu4.9) ...
3 확인 2[ | ]
Console
Copy
root@localhost:~# htpasswd
Usage:
htpasswd [-cimBdpsDv] [-C cost] passwordfile username
htpasswd -b[cmBdpsDv] [-C cost] passwordfile username password
... (생략)
4 같이 보기[ | ]
편집자 Jmnote
로그인하시면 댓글을 쓸 수 있습니다.