全自动舔狗服务器,现在已经正式docker化了。 只需要将此docker file与dockerhub自动构建流程挂钩,你就可以得到一个全新并且全自动的舔狗服务器容器,可以在任意地点启动
docker run -p 8822:22 -p 8888:8888 gzg1984/tian
docker port < container ID as 4438d734edc0 >
ssh root@127.0.0.1 -p 8822
telnet 127.0.0.1 8888 or nc 127.0.0.1 8888
mysql -u root -p <enter, yes the password is empty>
in mysql
set character_set_database=utf8;
set character_set_results=utf8;
set character_set_connection=utf8;
set character_set_client=utf8;
set character_set_server=utf8;
show variables like '%char%';
mysqldump -u root -p test tian > ~/tian.log
mysql -u root -p test < tian.log