COPY-PASTE

# copypaste

############# /etc/hosts

172.30.0.11 svn.ruten.tw
172.30.0.43 lazy.ruten.tw
172.30.0.183 iweb.ruten.tw



############# /etc/default/locale

#  File generated by update-locale
#
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANGUAGE=en_UTF.UTF-8







# ------------------------ .profile , .bashrc  ..........
export NLS_LANG="TRADITIONAL CHINESE_TAIWAN".ZHT16BIG5
#
export EDITOR=vi
export PATH=/usr/sbin:/sbin:$PATH
alias ls='ls --color=auto'
#
#
# pear config-set http_proxy http://172.30.1.123:8080/
# export http_proxy="http://172.30.1.123:8080"
# export http_proxy="http://172.30.0.89:3128"






# ------------------------ NTP setting ......
# cp /usr/share/zoneinfo/Asia/Taipei /etc/localtime
1 * * * * /usr/sbin/ntpdate time.stdtime.gov.tw > /dev/null














# ------------------------ screenrc setting ......
select 1

startup_message off

# MY CAPTION
caption always "(%n) %t %c"


bind b encoding big5 utf8
bind u encoding utf8 big5

screen -t ROOT  0  bash
screen -t D1  1  bash
screen -t D2  2  bash
screen -t D3  3  bash
screen -t D4  4  bash
screen -t D5  5  bash
screen -t D6  6  bash
screen -t D7  7  bash
screen -t D8  8  bash
screen -t D9  9  bash

















# ___commands___

#!/bin/sh
docker run -it \
  --name webhd \
  --hostname webhd.monster.tw \
  --link mysql:mysql \
  --restart=always \
  -p 443:443 \
  -v /home/rimmon/webhd.monster.tw/www:/var/www \
  -v /home/rimmon/webhd.monster.tw/Startup.sh:/Startup.sh \
  monster-webhd \
  /bin/bash /Startup.sh

# -----------
docker run --restart=always --hostname mysql --name mysql -e MYSQL_ROOT_PASSWORD=xxxxxx -d mysql:5.5


/etc/network/interfaces # The primary network interface auto eth0 iface eth0 inet static address 192.168.100.22 netmask 255.255.255.0 gateway 192.168.100.1 dns-search monster.tw dns-nameserver 192.168.100.1 dns-nameserver 8.8.8.8 #

Hello World!