Linux 488

linux 랜카드(wifi) 모델 확인하기(lshw -C network)

linux 랜카드(wifi) 모델 확인하기(lshw -C network) 기본적으로 리눅스에서 네트워크 모델 확인 하는 방법은 lspci 를 이용한다. # lspci 하면 위와 같이 나온다. # lspci | grep Ethernet 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05) 하면 네트워크가 1개 밖에 안나오는데 # ifconfig enp0s20f0: flags=4099 mtu 1500 ether 00:e0: txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame ..

Linux 2023.10.26

jenkins reset root password systemctl restart jenkins

jenkins reset root password jenkins admin 계정 암호 리셋하는 방법이다. # vi /var/lib/jenkins/config.xml true 이부분을 false 로 수정해주자. 그리고 저장하고 나와서 서비스 재시작 # systemctl restart jenkins 그러면 로그인 없이 접속이 가능하다. 사람항목에 들어가서 admin 계정을 삭제를 해주자 그리고 jenkins 관리에 들어가서 Security - Security 들어가자 맨위에 위와 같이 옵션을 수정을 하고 저장을 누르면 계정을 생성할 수 있다. 생성하면 성공이라고 뜨고 관리자 권한의 계정으로 로그인이 된것을 확인 할 수 있다.

Linux 2023.10.19

pip offline install 방법

pip offline install 방법 폐쇠망에서 pip 로 설치를 해야 하는데 인터넷이 연결이 안된 환경이라면 우선 pip 로 다운을 하고 나서 설치를 하면 된다. 다운 하는 명령어는 pip download -d . 패키지이름 # pip3 download -d . python-jenkins 다운 된 python_jenkins-1.8.1-py3-none-any.whl 파일을 폐쇠망에 복사를 하고 # pip3 install --no-index --find-links=./ python-jenkins 위 명령어 입력하면 설치가 완료 된다.

Linux 2023.10.12

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.Available platform plugins are

qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: xcb. 프로그램 구동시 위와 같이 에러가 발생이 된다면 # yum install PyQt5 설치 해주면 정상 작동 된다.

Linux 2023.09.24

gcc 11 install centos 7

gcc 11 install centos 7 centos7 환경의 gcc는 4.8.5 버전이다. 최신 gcc 11버전 설치 하는 방법은 # yum install centos-release-scl-rh # yum install devtoolset-11-gcc-c++ 설치가 된다 설치가 끝난다음에 gcc 버전 확인 하면 아직도 4.8.5 버전이다. 설정을 해줘야 한다. # scl enable devtoolset-11 bash 위와 같이 명령어 쳐주면 적용이 된다. 만약에 csh 로 하고 싶다면 scl enable devtoolset-11 csh 해주면 된다.

Linux 2023.09.15

GITLAB Logo 변경 및 메세지 변경 방법

gitlab log 변경할 예정이다. 위 경로에 가면 setting - Appearance 에 가면 Navigation bar 에 이미지를 넣으면 변경이 된다. 추가로 system header and footer 에 메세지를 입력을 하면 이렇게 상단 하단에 메세지가 들어가고 로고도 변경된것을 확인 할수 있다. 이제 로그인 페이지를 변경 해보자. 똑같은 setting - Appearance 에 가보면 위와 같이 sign in / sign up pages 설정이 있다 여기를 수정 해주면 된다. 수정이 되었다. 추가로 General Sign-in text 에 text 를 입력하면 이렇게 웰컴 메세지를 쓸수 있다.

Linux 2023.08.26
728x90
반응형