ref : http://egloos.zum.com/nemonein/v/5230342
- 설정 -> 언어지원
> 한국어 설치 되어 있는지 확인 - 입력기 설치
apt-get install fcitx-hangul
ref : http://egloos.zum.com/nemonein/v/5230342
sysctl kernel.core_pattern=core.%e.%p
docker run -d --ulimit core=-1 --privileged=true
Android
https://registry.hub.docker.com/u/aerath/docker-android-x86/dockerfile/
RUN cd android-sdk-linux/tools/;./android -s update sdk --no-ui --filter 1,2,3,10,19,20,22,40,42,60,61,65,79,80,102,103,112,113,118,119,120,121,122,123,124
https://github.com/jpetazzo/pipework/#connect-a-container-to-a-local-physical-interface
docker run --name chozo99 --rm -it ubuntu bash
sudo ./pipework eth0 chozo99 192.168.15.250/24@192.168.15.254
Virtualbox
If you use VirtualBox, you will have to update your VM network settings. Open the settings panel for the VM, go the the "Network" tab, pull down the "Advanced" settings. Here, the "Adapter Type" should be pcnet (the full name is something like "PCnet-FAST III"), instead of the default e1000 (Intel PRO/1000). Also, "Promiscuous Mode" should be set to "Allow All". If you don't do that, bridged containers won't work, because the virtual NIC will filter out all packets with a different MAC address.
http://blog.pagebakers.nl/2009/01/29/git-ignoring-changes-in-tracked-files/
git update-index --assume-unchanged <file>
If you wanna start tracking changes again run the following command:
git update-index --no-assume-unchanged <file>
list
git ls-files -v
H .gitignore
H pgbouncer.ini
h pgbouncer_local.ini
H run_pgbouncer
H users.txt
http://askubuntu.com/questions/54441/how-to-configure-two-nic-for-dns-resolv-conf-how-to-eth0-dns-forwards-to-eth1
/etc/resolvconf/resolv.conf.d/head
nameserver <ip_of_nameserver>
resolvconf -u
or
echo "nameserver 168.126.63.1" | sudo resolvconf -a em1.inet
http://superuser.com/questions/511804/in-ubuntu-is-there-a-command-to-show-a-list-of-all-autostart-services
for SysV
remove service
$ update-rc.d -f apache2 remove
add service
$ update-rc.d apache2 defaults
list service
$ ls /etc/rc*.d
or service --status-all
for Upstart
ref: /etc/init
0 4 * * * /usr/bin/find /home/xxxxx/log/ -maxdepth 1 -type f -mtime +6 | /usr/bin/xargs rm -rf
http://veithen.github.io/2015/01/08/supervisord-redirecting-stdout.html
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
https://github.com/docker/docker/issues/11432
아래는 docker_1.5 dev 버전 기준..( commit 52f6da223839a5ac1fc003b259b74f6a02fc2858 )
아래 디렉토리의 모든 디렉토리를 지운다.
/var/lib/docker/execdriver/native
컨테이너중 running 이라면 해당 컨테이너의 ID 폴더가 있는게 정상이지만,
모든 컨테이너가 중지 되어 있다면, 모두 삭제 되어야함.