linux 图形化桌面工具

debian 7 x64

ubuntu 16 x64

apt-get update
apt-get install xorg xrdp lxde firefox

 

然后就可以用WIN的远程桌面连接机子的3389了,用户名是root

MySQL 创建定时任务

查看是否开启

show variables like '%sche%';

开启

set global event_scheduler =1;

查看已经存在的定时任务

SELECT * FROM information_schema.EVENTS;

 

use database;

create event test
on schedule every 60 second
do

[something];

 

UPDATE Files SET usr_id=8362 WHERE usr_id=0 AND file_created BETWEEN '2018-01-16 00:00:00.000000' AND '2019-01-02 08:00:00.000000'

 

via https://segmentfault.com/a/1190000005142597

DDCC

ipstresser.com

webstresser.org

卸载阿里云自带监控程序

wget http://update.aegis.aliyun.com/download/quartz_uninstall.sh

chmod +x quartz_uninstall.sh
./quartz_uninstall.sh

rm -f /usr/sbin/aliyun-service
rm -rf /usr/local/aegis
killall -9 aliyun-service > /dev/null 2>&1

Python 调用 zip 压缩和解压

zip.exe和unzip.exe下载 放到C:\Windows\System32 下面

 

使用SpeedTest给自己的VPS测速

speedtest_cli

 

Ubuntu 16 install Python 3.5.1

Ubuntu 16.04 x64

sudo apt-get update
sudo apt-get install gcc -y
sudo apt-get install build-essential -y
sudo apt-get install libssl-dev openssl -y
sudo apt-get install build-essential

wget https://www.python.org/ftp/python/3.5.1/Python-3.5.1.tgz
tar zxvf Python-3.5.1.tgz
cd Python-3.5.1
./configure&& make && make install

sudo rm /usr/bin/python
sudo ln -s /usr/local/bin/python3.5 /usr/bin/python

sudo rm /usr/bin/pip
sudo ln -s /usr/local/bin/pip3 /usr/bin/pip
#pip install --upgrade pip

pip install bs4
pip install requests
pip install python-wordpress-xmlrpc
pip install lxml
pip install shadowsocks
pip install PySocks
#sudo apt-get install python-socks
#pip install socksipy-branch
#pip uninstall socksipy-branch

wget https://github.com/jedisct1/libsodium/releases/download/1.0.12/libsodium-1.0.12.tar.gz
tar xf libsodium-1.0.12.tar.gz && cd libsodium-1.0.12
./configure && make -j2 && make install
ldconfig

nohup sslocal -s krypt.91js.pw -p 30405 -l 7769 -k 密码 -t 600 -m chacha20

 

在 /etc/rc.local文件的倒数第二行添加(即exit 0前面一行)
nohup sslocal -s krypt.91js.pw -p 30405 -l 7769 -k 密码 -t 600 -m chacha20

 

sudo chown root:root /etc/rc.local
sudo chmod 755 /etc/rc.local
sudo systemctl enable rc-local.service

链接

blueangelhost.com

host.ag

压测平台

http://zstress.net/
实测 UDP很少(<1G)TCP量给力 可以秒饭桶10G防

http://instabooter.com/
根据外国友人的测试 UDP3~5G

http://polystress.com/
实测 UDP秒SK的20G防 每天有次数限制

http://betabooter.com/
实测 UDP和TCP都是甜品级别 支持XMLRPC和Joomla模式

期货0622

刚破线,收完第一个线下单,箭头处。回调,非买入机会,圆圈处。