This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example: | |
``` | |
$ sudo echo "DOCKER_OPTS=\"--registry-mirror=http://hub-mirror.c.163.com\"" >> /etc/default/docker | |
$ service docker restart | |
``` | |
Or another way with updating /usr/lib/systemd/system/docker.service with: | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://mirrors.aliyun.com/ubuntu/ xenial main multiverse restricted universe | |
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main multiverse restricted universe | |
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main multiverse restricted universe | |
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main multiverse restricted universe | |
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main multiverse restricted universe | |
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main multiverse restricted universe | |
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main multiverse restricted universe | |
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main multiverse restricted universe | |
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main multiverse restricted universe | |
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main multiverse restricted universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Epitome | |
I want to have os image that can login with password. | |
download UEC image. | |
for example, this precise. | |
http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img | |
this image was forbidden to password login feature in terminal console. | |
it's reasonable for use of cloud image. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" VIM Configuration File | |
" Description: Optimized for C/C++ development, but useful also for other things. | |
" Author: Gerhard Gappmeier | |
" | |
" set UTF-8 encoding | |
set enc=utf-8 | |
set fenc=utf-8 | |
set termencoding=utf-8 | |
" disable vi compatibility (emulation of old bugs) |