상세 컨텐츠

본문 제목

[Liunx] yum 패키지,yum 삭제하기,ServerName

프로그래밍/linux

by 2hansoul 2021. 6. 14. 20:36

본문

반응형

자신의 컴에 설치된 yum 패키지를 찾으시려면..

yum list installed |grep php <- 이런식으로 찾으세요

패키지가 확인 되면 그거 copy 하셔서 yum remove 로 삭제하심 됩니다

Rpm -qa | grep 확인 결과 파일이 남아있지는 않음

Yum info 결과 아직 yum이 제대로 삭제 된건지 모르겠음 위에 있듯

Yum remove로 삭제 하고 파일이 남아있는 걸 확인 해봤음

해석:yum info로 보는 결과는 그냥 mirror.kakao 버전을 깔아준다는 소리고

Rpm -qa | grep httpd 로 확인후 결과가 남아있지 않다면 정보는 다 지워졌음

libiconv.so.2: cannot open shared object file: No such file or directory 에러 발생시

아파치 가동시에

libiconv.so.2: cannot open shared object file: No such file or directory

 

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz 해서 다운로드 받고

 

여기부턴 root 계정으로 실행

$ ./configure --prefix=/usr/local

$ make

$ make install

$ vi /etc/ld.so.conf 에 다음을 추가해주자

/usr/local/lib

 

마지막으로

$ /sbin/ldconfig 로 모듈을 적용시키자.

 

cannot remove libtool 오류 발생시

rm: cannot remove 'libtoolT': No such file or directory

Libtoolt를 복사해보자

cp -arp libtool libtoolT

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::f52d:a42d:bc1c:afad%enp8s0f0. Set the 'ServerName' directive globally to suppress this message

해석

ServerName 주석 해제해야됌 (진짜 간단한 건데 제대로 읽어봐야 할듯)

 

반응형

관련글 더보기

댓글 영역