본문 바로가기
반응형

Linux/Ubuntu12

Ubuntu 23.04 : netplan apply시 발생한 에러문구 - Permissions for /etc/netplan/00-installer-config.yaml are too open. Netplan configuration should NOT be accessible by others. # etc/netplan/*.yaml 파일 기본권한 622 -> chmod 600으로 변경. https://askubuntu.com/questions/1477287/need-help-with-a-netplan-configuration-issue Need help with a Netplan configuration issue When I did sudo netplan apply, it shows me permission warnings. Below are the same exact.. 2023. 9. 11.
Ubuntu 20.04.6 Netplan static, dhcp 설정. 더보기 Netplan 설정 경로 : /etc/netplan/*.yaml >> vim /etc/netplan/*.yaml netplan 파일내에, network interface name이 없는 경우는 네트워크명을 별도로 확인해서 작성. https://ccclog.tistory.com/59 네트워크 포트 인터페이스명 확인방법, Mac address 확인방법 >>ip addr /// eno1, eno2 -> 인터페이스 명. /// Link/ether -> 뒷 부분 주소 = mac address @@:@@:@@:@@:@@:@@ 구조 ccclog.tistory.com *들여쓰기 변경시, 에러 발생하므로 들여쓰기 수정하면 안됨. *자체가 DNS서버로 지정 되어 있어 nameserver없이는 ping은 나가나 외부.. 2023. 9. 8.
UBUNTU server : systemd-networkd-wait-online.service disable/mask 우분투 서버계열 사용시에, systemd-networkd-wait-online.service 에 의해 부팅시간이 2분간 증가한다. 서버 부팅을 자주 하지 않는 경우에는 문제가 되지 않지만, 부팅을 자주 하는 경우 짜증을 유발한다. 다음 명령어로 해당 서비스를 중단시킬 수 있다. >>systemctl disable systemd-netword-wait-online.service >>systemctl mask systemd-netword-wait-online.service 해당 옵션을 해제하고 싶은 경우, >>systemctl unmask systemd-netword-wait-online.service >>systemctl enable systemd-netword-wait-online.service mask.. 2023. 9. 5.
UBUNTU 18.04 : 자동 업데이트 끄기. >>/etc/apt/apt.conf.d/20auto-upgrades APT::Periodic::Update-Package-Lists "1"; -> APT::Periodic::Update-Package-Lists "0"; ///변경 2022. 11. 2.
SSH 설치 접속. >>apt-get install openssh-server //openssh-server 설치. >>systemctl status sshd // sshd status확인. >>vim /etc/ssh/sshd_config // sshd config파일 수정. PermitRootLogin yes ssh root@###.###.###.###//MobaXterm등을 통해 활용가능 2022. 10. 20.
Linux OS 정보 확인(OS버전,커널,아키텍쳐) >> cat /etc/*release* >> uname -r >> uname -a uname의 경우, Kernel 버전확인에 사용. >> arch 2022. 10. 19.
반응형