07 2017 档案
摘要:start install: rpm -Uvh https://mirrors.aliyun.com/epel/epel-release-latest-7.noarch.rpm yum install ansiable -y vim /etc/ansible/hosts use ansible: a
阅读全文
摘要:下载地址 start install: wget http://www.haproxy.org/download/1.7/src/haproxy-1.7.5.tar.gz tar -xf haproxy-1.7.5.tar.gz cd haproxy-1.7.5 mkdir -p /usr/loca
阅读全文
摘要:下载地址 start install: yum -y install wget wget https://jaist.dl.sourceforge.net/project/sshpass/sshpass/1.06/sshpass-1.06.tar.gz tar -xf sshpass-1.06.ta
阅读全文
摘要:本地实验(Centos7),WEBserver性能测试; 软件包地址 wget http://download.joedog.org/siege/siege-4.0.2.tar.gztar -xf siege-4.0.2.tar.gz cd siege-4.0.2./configure make &
阅读全文
摘要:只需一下几步,堡垒机轻松搞定; yum -y install git git clone https://git.oschina.net/CheungSSH_OSC/CheungSSH.git cd cd CheungSSH/bin sh install-cheungssh.sh service c
阅读全文
摘要:准备数据库(MySQL),若已有MySQL,可忽略. build MySQL table; 连接MySQL; mysql -u root -p 创建数据表; mysql> create database demo; mysql> use demo; mysql> create table pet(n
阅读全文
摘要:两个内网之间的linux服务器需要互相登录,或需要互相访问内网某个端口,担忧没有公网IP,可以使用的方法有ngrok(https://ngrok.com/),但并不方便,我们只需两条 SSH 命令即可。 Two command: command description: use ssh: 需要让远程
阅读全文