IT 한길

리눅스 버전 확인

IT/Linux2020. 9. 22. 10:49

           grep . /etc/*-release       

           cat /etc/*-release | uniq  

           grep . /etc/issue*

           rpm -qa *-release           레드햇 계열

 

 

'IT > Linux' 카테고리의 다른 글

패스워드 변경 주기 삭제  (0) 2020.08.12
CentOS 8 다운로드  (0) 2020.06.08
yum : command not found (Redhat)  (0) 2020.06.08
/bin/sh^M: bad interpreter: No such file or directory 오류 발생 시  (0) 2020.06.03

chage -E -1 -I 0 -m 0 -M 99999 계정

[root@localhost ~]# chage -l root
Last password change                                    : Aug 12, 2020
Password expires                                        : Oct 11, 2020
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 1
Maximum number of days between password change          : 60
Number of days of warning before password expires       : 7
[root@localhost ~]# chage -E -1 -I 0 -m 0 -M 99999 root
[root@localhost ~]# chage -l root
Last password change                                    : Aug 12, 2020
Password expires                                        : never
Password inactive                                       : never
Account expires                                         : never
Minimum number of days between password change          : 0
Maximum number of days between password change          : 99999
Number of days of warning before password expires       : 7

'IT > Linux' 카테고리의 다른 글

리눅스 버전 확인  (0) 2020.09.22
CentOS 8 다운로드  (0) 2020.06.08
yum : command not found (Redhat)  (0) 2020.06.08
/bin/sh^M: bad interpreter: No such file or directory 오류 발생 시  (0) 2020.06.03

CentOS 8 다운로드

IT/Linux2020. 6. 8. 16:59

 

다운로드 : http://isoredirect.centos.org/centos/8/isos/x86_64/

 

http://mirror.kakao.com/centos/8.1.1911/isos/x86_64/CentOS-8.1.1911-x86_64-dvd1.iso

1. downlaod : http://yum.baseurl.org/download/2.0/index.html

2. gzip -d yum-2.0.8.tar.gz

3. tar -xvf yum-2.0.8.tar

4. cd yum-2.0.8

5. ./configure

6. make

7. make install

 

'IT > Linux' 카테고리의 다른 글

리눅스 버전 확인  (0) 2020.09.22
패스워드 변경 주기 삭제  (0) 2020.08.12
CentOS 8 다운로드  (0) 2020.06.08
/bin/sh^M: bad interpreter: No such file or directory 오류 발생 시  (0) 2020.06.03

- vi 바이너리 모드에서 ^M을 삭제 한다. (vi -b )

 

- 일괄 치환

:%s/^M//g   (^:ctrl+v, M:ctrl+m)

'IT > Linux' 카테고리의 다른 글

리눅스 버전 확인  (0) 2020.09.22
패스워드 변경 주기 삭제  (0) 2020.08.12
CentOS 8 다운로드  (0) 2020.06.08
yum : command not found (Redhat)  (0) 2020.06.08