![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Servers
nomq
这个作者很懒,什么都没留下…
展开
-
Jenkins2.32.3+Git+Maven+Tomcat+Ubuntu Linux
–>Wed Mar 22 2017 –>Jenkins_2.32.3 –>Jenkins plugins: Maven Integration plugin, Publish Over SSH, Deploy to Container Plugin (These plugins you have to install manually!) –>Tomcat9 –>Ubuntu_原创 2017-03-22 11:47:35 · 475 阅读 · 0 评论 -
shell of mysql
(1)login mysql#!/bin/bashmysql -uxxx -pxxxx -A(2)mysqldump [tables, data, functions and procedures] #!/bin/bash echo "export tables and data" mysqldump -hxxx -Pxxx -uxxx -pxxx --default-character-set=u原创 2017-08-29 14:44:07 · 397 阅读 · 0 评论 -
shell of ssh
(1)login ssh#!/usr/bin/expectset timeout 30 spawn ssh -l username -pxxx 123.123.123.123 expect "password:" # xxx is your password send "xxx\r" interact(2)scp files to server#!/usr/bin/expectset timeout原创 2017-08-29 14:50:29 · 325 阅读 · 0 评论 -
shell of zip like war
(1)zip options -f :update file or add file -m :add file to zip achive then delete the original file -u :same as -f(1)add file zip -m xxx.war filepath zip -f xxx.war filepath~$unzip -l test.war Archiv原创 2017-08-29 15:19:04 · 286 阅读 · 0 评论 -
shell expect scp file
#!/bin/bash#upload file or folder to server #source scp_profile.shFILE_NAME="" SERVER_HOST="123.123.123.123" SERVER_PORT=123 LOGIN_USER="username" PASSWORD="password" UPLOAD_ROOT_FOLDER="/upload_path"w原创 2017-08-31 21:16:25 · 255 阅读 · 0 评论