some op record

iptables must have the double channel for communication


salt

pip install psutil -i http://apt.2980.com/pypi/simple –trusted-host apt.2980.com

salt-run jobs.active

salt '10.17.65.229' cmd.run "python /tmp/test.py" –async

salt "10.17.65.229" saltutil.kill_job 20171127165031008707

sudo salt '*' grains.item saltpath username os

saltutil.sync_modules refresh

sudo salt-run jobs.list_job 'jobid'

kill salt progress and restsart in front

launchctl unload /Library/LaunchDaemons/com.saltstack.salt.minion.plist

salt-minion

maybe the salt should run in front while meeting some error

rsync pay attention the rsync.pas auth 644

check last update node info by salt in 86 cdn manager:

sudo salt -N cdn_node_all cmd.run "grep -o '/raid/wwwroot/Q7/win/enginepatch' /opt/cdnsynctool/CDNSyncTool/common/ComDef.py"


check salt start user auth, and launchctl unload and restart

powershell about

svn st | select-string -pattern "^C"

svn revert -R .\image

draft

rc.local not run while machine startup, maybe the rc.local file does not have the x(execute) auth

update and save iptables before reboot

unbind mac

svn cleanup less the drive space

https://unix.stackexchange.com/questions/65068/why-ssh-takes-a-long-time-to-connect

make UseDNS no

GSS no

for fast to connect to ssh remote

apache log dir need rx auth

no need to restart

grep '2018-10-26' /var/log/wol_client/wol_client.log|awk '{if($6=="0"){for(i=3;i<8;i++){$i=""}}else{$0=""}if($0!=""){print $0}}'

look rc.local

essential skill crontab all user

rc.local

cron.houly script need +x

apache's execute method file_put_contents need the auth to write, apache run no by root, so chmod 777 the file

python global define to change

cron.houly script need +x

apache's execute method file_put_contents need the auth to write, apache run no by root, so chmod 777 the file

python global define to change

sudo apt-get install curl && curl -L https://bootstrap.saltstack.com -o install_salt.sh && sudo sh install_salt.sh -P

sudo apt-get install curl && curl -L https://bootstrap.saltstack.com -o install_salt.sh && sudo sh install_salt.sh -M

SVN cm error maybe there are some .svn in the subdirectory