문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
wiki:os:linux:centos [2023/03/25 17:54] dhan |
wiki:os:linux:centos [2023/04/04 14:48] (현재) dhan |
||
---|---|---|---|
줄 10: | 줄 10: | ||
===== Install ===== | ===== Install ===== | ||
- | CentOS 및 RedHat 계열 | + | CentOS 및 RedHat 계열 |
+ | nslookup 설치 \\ | ||
<code bash> | <code bash> | ||
- | // nslookup 설치 | ||
[root@localhost~]# | [root@localhost~]# | ||
- | + | </ | |
+ | \\ | ||
+ | Python 설치 \\ | ||
+ | <code bash> | ||
+ | [user@localhost~]# | ||
+ | Python 2.7.5 | ||
+ | [user@localhost~]# | ||
+ | -bash: pip: command not found | ||
+ | [user@localhost~]# | ||
+ | ... | ||
+ | ... | ||
+ | ... | ||
+ | [user@localhost~]# | ||
+ | Python 3.6.8 | ||
</ | </ | ||
+ | * [[https:// | ||
+ | \\ | ||
===== Case Study ===== | ===== Case Study ===== | ||
줄 30: | 줄 44: | ||
===== Tip ===== | ===== Tip ===== | ||
- | + | 기본 프로그램 설정(alternatives) | |
+ | python을 예로 들어 설명하지만, | ||
+ | |||
+ | <code bash> | ||
+ | [root@localhost ~]# python -V | ||
+ | Python 2.7.5 | ||
+ | [dev@localhost ~]# update-alternatives --config python | ||
+ | [root@localhost ~]# update-alternatives --install /bin/python python / | ||
+ | [root@localhost ~]# update-alternatives --install /bin/python python / | ||
+ | |||
+ | [root@localhost ~]# update-alternatives --config python | ||
+ | |||
+ | 2 개의 프로그램이 ' | ||
+ | |||
+ | 선택 | ||
+ | ----------------------------------------------- | ||
+ | | ||
+ | *+ 2 / | ||
+ | |||
+ | 현재 선택[+]을 유지하려면 엔터키를 누르고, 아니면 선택 번호를 입력하십시오: | ||
+ | [root@localhost ~]# python -V | ||
+ | Python 3.6.8 | ||
+ | </ | ||
+ | |||
+ | * [[https:// | ||
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
* [[https:// | * [[https:// | ||
줄 37: | 줄 76: | ||
===== Ref ===== | ===== Ref ===== | ||
- | {{tag> | + | {{tag> |