본문 바로가기

Linux

LXC 설치 후 cgroup namespace 요구할 때 lxc를 설치후 lxc-chkconfig를 실행해보면 아래와 같이 cgroup namespace가 required로 나오는 경우가 있다.# lxc-checkconfig--- Namespaces ---Namespaces: enabledUtsname namespace: enabledIpc namespace: enabledPid namespace: enabledUser namespace: enabledNetwork namespace: enabledMultiple /dev/pts instances: enabled --- Control groups ---Cgroup: enabledCgroup namespace: requiredCgroup device: enabledCgroup sched: enabledCgroup.. 더보기
/etc/init.d/rc.local이 실행되지 않는다? ubuntu 15.10에서 /etc/init.d/rc.local이 실행되지 않음을 발견.아마도 부팅 초기화 과정이 예전과는 달라졌기 때문인 듯 하다. (systemd 때문인듯. 자세히 추적하는건 귀찮..)결론부터 이야기하면, 따로 추가해야할 초기화 과정이 있다면 /etc/rc.local에 추가해 주면 된다. 더보기
우분투 서버에 수동으로 DNS 설정하기 /etc/network/interfaces에 아래와 같이 dns 목록을 추가해도 되지만, dns-nameservers 168.126.63.1 8.8.8.8 위 방법으로 dns 설정이 적용 되지 않는 경우 아래와 같이 /etc/resolvconf/resolv.conf.d/base에 추가해 주면 된다.nameserver 168.126.63.1 만약 위와 같이 해도 안된다면 route 명령으로 gateway가 정상적으로 추가되어 있는지 확인 후, 안되어 있다면 아래와 같이 추가해 줘야 한다. (gateway가 192.168.0.1일 경우)sudo route add default gw 192.168.0.1 eth0 더보기
SSH 연결 유지 /etc/ssh/sshd_config 파일에 아래 내용을 추가한다.ClientAliveInterval 0 더보기