proxy
export PROXYIP="172.30.0.89" export PROXYPORT="3128" export http_proxy=http://$PROXYIP:$PROXYPORT/ export https_proxy=http://$PROXYIP:$PROXYPORT/
vimrc syntax on set t_Co=256 colorscheme molokai
—–
cat /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 "%c %H-(%n) %t" screen -t ROOT 0 bash screen -t ROOT 9 bash screen -t TSLOG-DAY-52-1 1 bash screen -t TSLOG-DAY-52-2 2 bash screen -t TSLOG-DAY-52-3 3 bash screen -t TSLOG-DAY-52-4 4 bash screen -t TSLOG-HOUR-53-1 5 bash screen -t TSLOG-HOUR-53-2 6 bash screen -t TSLOG-HOUR-53-1 7 bash screen -t TSLOG-HOUR-53-4 8 bash screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" screen -t "TS 172.25.0.124 172.25.0.125 172.25.8.81 172.25.8.82" # ---
SAMBA
加一個 user
sudo smbpasswd -a username
改 user的 password
sudo smbpasswd -e username
SAMBA smb.conf:
[share] comment = this is the top level for this machine path = /home/xxxxx guest account = force user = apache force group = apache browseable = no public = yes writable = yes create mask = 0644 directory mask = 0755