본문 바로가기
반응형

Infra & DevOps/Linux12

[퍼온 글] CentOS 네트워크 인터페이스 이름 변경 ip link set down ip link set name ip link set up 2020. 6. 29.
set -x / set +x 명령어 set -x 디버그 용도로 자주 사용하는 옵션 실행되는 명령어와 인수들을 출력한다. $ set -x $ echo 123 + echo 123 123 $ set +x + set +x $ echo 123 123 2020. 6. 29.
network 서비스 재시작 에러 아래 내용을 참고하여 네트워크 매니저를 재시작 하더라도 문제가 해결되지 않을 때는 에러 문에 나오는 journalctl -xn 명령어를 통해 로그를 확인해서 문제를 해결 해야 합니다. 저는 /etc/sysconfig/network-scripts 폴더 내에 사용하지 않는 인터페이스 설정 파일(파일 명이 ifcfg- 로 시작하는 파일)이 있어서 아래 사진과 같은 오류가 발생했습니다. Quick-Fix를 하고 싶으시면 아래 명령어를 통해 우선 조치해보시고, 그게 아니라 원인 분석 및 해결을 원하시면 오류 문구에 나오는 대로 journalctl -xn을 통해 로그를 확인하시면 되겠습니다. 출처: https://nirsa.tistory.com/12 에러 발생한 모습 network restart 시 Failed가 .. 2020. 6. 27.
[CentOS] Firewalld 명령어 생각보다 방화벽 설정이 어렵지가 않습니다. 한번 공부해두시면 CentOS에서 방화벽 설정하실 때 큰 도움이 되실 겁니다. 방화벽 서비스 현황 조회 firewall-cmd --permanent --list-all --zone=dmz 방화벽 서비스 추가 firewall-cmd --permanent --zone=public --add-service=http firewall-cmd --reload 방화벽 서비스 삭제 firewall-cmd --permanent --zone=public --remove-service=http firewall-cmd --reload 방화벽 포트 추가 firewall-cmd --permanent --zone=public --add-port=3389/tcp firewall-cmd --.. 2020. 6. 24.
[퍼온 글] SSH 연결 에러 에러 내용 $ ssh 192.168.0.14 user@192.168.0.14's password: "System is booting up. Unprivileged users are not permitted to log in yet. Please come back later. For technical details, see pam_nologin(8)."해결법 This issue may come from /run/nologin. /run/nologin is created by systemd-tmpfiles-setup.service. It is then removed by systemd-user-sessions.service. So you have to delete this: $ ls -l /run/n.. 2020. 6. 21.
[퍼온 글] 리눅스 네트워크 설정 출처: https://e-cloudlab.com/16 2020. 6. 20.
[출처] yum install wget 시 오류가 발생하는 경우 출처 : http://egloos.zum.com/guagua/v/7415761 yum install wget 시 오류가 발생하는 경우 명령어 : yum install wget 오류메시지 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=o egloos.zum.com 명령어 : yum install wget 오류메시지 Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retri.. 2020. 6. 16.
[퍼온 글] CentOS 게이트웨이 확인 및 설정 출처: https://zetawiki.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4_%ED%99%95%EC%9D%B8 리눅스 게이트웨이 확인 - 제타위키 다음 문자열 포함... zetawiki.com https://zetawiki.com/wiki/CentOS_%EA%B8%B0%EB%B3%B8_%EA%B2%8C%EC%9D%B4%ED%8A%B8%EC%9B%A8%EC%9D%B4_%EB%B3%80%EA%B2%BD CentOS 기본 게이트웨이 변경 - 제타위키 CentOS 기본 게이트웨어 변경 /etc/sysconfig/network 1 임시 적용[편집] 재부팅하면 사라짐. 명령어 route add default.. 2020. 6. 16.
[퍼온 글] Linux Network Config 출처: https://www.tecmint.com/linux-network-configuration-and-troubleshooting-commands/ Computers are connected in a network to exchange information or resources each other. Two or more computer connected through network media called computer network. There are number of network devices or media are involved to form computer network. Computer loaded with Linux Operating System can also be a part o.. 2020. 6. 5.
반응형