사용자 도구

사이트 도구


wiki:os:linux:centos

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
wiki:os:linux:centos [2022/07/06 20:13]
dhan 만듦
wiki:os:linux:centos [2023/04/04 14:48] (현재)
dhan
줄 1: 줄 1:
 +====== CentOS ======
 +<WRAP left notice 80%>
 +  * description : CentOS 관련 내용 정리
 +  * author      : 주레피
 +  * email       : dhan@repia.com
 +  * lastupdate  : 2022-12-07
 +</WRAP>
 + 
 +===== Intro =====
  
 +===== Install =====
 +CentOS 및 RedHat 계열 \\
 +nslookup 설치 \\
 +<code bash>
 +[root@localhost~]# yum install bind-utils
  
  
 +</code>
 +\\
 +Python 설치 \\
 +<code bash>
 +[user@localhost~]# python -V
 +Python 2.7.5
 +[user@localhost~]# pip -V
 +-bash: pip: command not found
 +[user@localhost~]# you install python3
 +...
 +...
 +...
 +[user@localhost~]# python3 -V
 +Python 3.6.8
  
-===== 라이브러리 =====+</code> 
 +  * [[https://zetawiki.com/wiki/CentOS7_Python_3_%EC%84%A4%EC%B9%98|CentOS7 Python 3 설치]] 
 + 
 +\\ 
 +===== Case Study ===== 
 +  
 +===== Library(라이브러리=====
   * [[https://engineeringcode.tistory.com/94|[CentOS 7/8] 아파치 웹서버(httpd)와 PHP를 설치하자]]   * [[https://engineeringcode.tistory.com/94|[CentOS 7/8] 아파치 웹서버(httpd)와 PHP를 설치하자]]
   * [[https://velog.io/@dong3789/CentOs-centos7|[CentOs] centos7 php7.4 설치]]   * [[https://velog.io/@dong3789/CentOs-centos7|[CentOs] centos7 php7.4 설치]]
 + 
 +===== Term =====
 + 
 +===== Tip =====
 +기본 프로그램 설정(alternatives)  \\
 +python을 예로 들어 설명하지만, java를 비롯해서 여러 버전에서 사용 가능
 +
 +<code bash>
 +[root@localhost ~]# python -V
 +Python 2.7.5
 +[dev@localhost ~]# update-alternatives --config python
 +[root@localhost ~]# update-alternatives --install /bin/python python /bin/python2.7 1
 +[root@localhost ~]# update-alternatives --install /bin/python python /bin/python3.6 2
 +
 +[root@localhost ~]# update-alternatives --config python
 +
 +2 개의 프로그램이 'python'를 제공합니다.
 +
 +  선택    명령
 +-----------------------------------------------
 +             /bin/python2.7
 +*+ 2           /bin/python3.6
 +
 +현재 선택[+]을 유지하려면 엔터키를 누르고, 아니면 선택 번호를 입력하십시오: 2
 +[root@localhost ~]# python -V
 +Python 3.6.8
 +</code>
  
 +  * [[https://cntechsystems.tistory.com/105|[CentOS 7] Python3 설치 및 버전 변경과 Tensorflow, Keras 설치]]
  
 +===== Troubleshooting =====
 +  * [[https://young-cow.tistory.com/77|/lib, /lib64 의 심볼릭 링크를 삭제했을 때 해결 방법]]
 +  * [[https://www.lesstif.com/system-admin/linux-rescue-mode-12943500.html|Linux Rescue mode 로 부팅하기]]
 + 
 +===== Ref =====
  
-{{tag>주레피 센트오에스 centos}}+{{tag>주레피 센트오에스 centos alternatives 기본프로그램}}
/volume1/web/dokuwiki/data/attic/wiki/os/linux/centos.1657105988.txt.gz · 마지막으로 수정됨: 2022/07/06 20:13 저자 dhan