oyj@oyj:~/azure$ uname -a
Linux oyj 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
oyj@oyj:~/azure$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
oyj@oyj:~/azure$ az
az: command not found
oyj@oyj:~/azure$
oyj@oyj:~/azure$ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Fetched 126 kB in 3s (44.0 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20240203).
ca-certificates set to manually installed.
gnupg is already the newest version (2.4.4-2ubuntu17).
gnupg set to manually installed.
lsb-release is already the newest version (12.0-2).
lsb-release set to manually installed.
The following additional packages will be installed:
libcurl3t64-gnutls libcurl4t64
The following NEW packages will be installed:
apt-transport-https
The following packages will be upgraded:
curl libcurl3t64-gnutls libcurl4t64
3 upgraded, 1 newly installed, 0 to remove and 94 not upgraded.
Need to get 904 kB of archives.
After this operation, 38.9 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/universe amd64 apt-transport-https all 2.7.14build2 [3974 B]
Get:2 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 curl amd64 8.5.0-2ubuntu10.3 [227 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcurl4t64 amd64 8.5.0-2ubuntu10.3 [341 kB]
Get:4 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libcurl3t64-gnutls amd64 8.5.0-2ubuntu10.3 [333 kB]
Fetched 904 kB in 5s (195 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 63897 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.7.14build2_all.deb ...
Unpacking apt-transport-https (2.7.14build2) ...
Preparing to unpack .../curl_8.5.0-2ubuntu10.3_amd64.deb ...
Unpacking curl (8.5.0-2ubuntu10.3) over (8.5.0-2ubuntu10.2) ...
Preparing to unpack .../libcurl4t64_8.5.0-2ubuntu10.3_amd64.deb ...
Unpacking libcurl4t64:amd64 (8.5.0-2ubuntu10.3) over (8.5.0-2ubuntu10.2) ...
Preparing to unpack .../libcurl3t64-gnutls_8.5.0-2ubuntu10.3_amd64.deb ...
Unpacking libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10.3) over (8.5.0-2ubuntu10.2) ...
Setting up apt-transport-https (2.7.14build2) ...
Setting up libcurl4t64:amd64 (8.5.0-2ubuntu10.3) ...
Setting up libcurl3t64-gnutls:amd64 (8.5.0-2ubuntu10.3) ...
Setting up curl (8.5.0-2ubuntu10.3) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.2) ...
/sbin/ldconfig.real: /usr/lib/wsl/lib/libcuda.so.1 is not a symbolic link
Types: deb
URIs: https://packages.microsoft.com/repos/azure-cli/
Suites: noble
Components: main
Architectures: amd64
Signed-by: /etc/apt/keyrings/microsoft.gpg
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Get:3 https://packages.microsoft.com/repos/azure-cli noble InRelease [3564 B]
Get:4 https://packages.microsoft.com/repos/azure-cli noble/main amd64 Packages [623 B]
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Fetched 4187 B in 1s (3077 B/s)
0 upgraded, 1 newly installed, 0 to remove and 94 not upgraded.
Need to get 56.8 MB of archives.
After this operation, 700 MB of additional disk space will be used.
Get:1 https://packages.microsoft.com/repos/azure-cli noble/main amd64 azure-cli amd64 2.63.0-1~noble [56.8 MB]
10% [1 azure-cli 7159 kB/56.8 MB 13%]
The following NEW packages will be installed:
azure-cli
0 upgraded, 1 newly installed, 0 to remove and 94 not upgraded.
Need to get 56.8 MB of archives.
After this operation, 700 MB of additional disk space will be used.
Get:1 https://packages.microsoft.com/repos/azure-cli noble/main amd64 azure-cli amd64 2.63.0-1~noble [56.8 MB]
Fetched 56.8 MB in 2min 8s (444 kB/s)
Selecting previously unselected package azure-cli.
(Reading database ... 63901 files and directories currently installed.)
Preparing to unpack .../azure-cli_2.63.0-1~noble_amd64.deb ...
Unpacking azure-cli (2.63.0-1~noble) ...
(Reading database ... 63901 files and directories currently installed.)
Preparing to unpack .../azure-cli_2.63.0-1~noble_amd64.deb ...
Unpacking azure-cli (2.63.0-1~noble) ...
Setting up azure-cli (2.63.0-1~noble) ...oyj@oyj:~/azure$ az version
{
"azure-cli": "2.63.0",
"azure-cli-core": "2.63.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
oyj@oyj:~/azure$ az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
gio: https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize?client_id=04b07795-8ddb-461a-bbee-02f9e1bf7b46&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A36647&scope=https%3A%2F%2Fmanagement.core.windows.net%2F%2F.default+offline_access+openid+profile&state=jzZPKMrQHSnmXeyD&code_challenge=a4OSmVKcOOUiKctdl6v0OZyUvNCRi1tMpes9o4Mo1-8&code_challenge_method=S256&nonce=3977c9f435ecd603f3eb20376a3a4641687ff313fdc781cd42747cf6e883a33d&client_info=1&claims=%7B%22access_token%22%3A+%7B%22xms_cc%22%3A+%7B%22values%22%3A+%5B%22CP1%22%5D%7D%7D%7D&prompt=select_account: Operation not supported
auth app에서 승인 (모바일 app) microsoft authenticator
No comments:
Post a Comment