gitclone.sh #!/bin/shcd projectsfor giturl in `cat ../projects.txt`do echo $giturl git clone -b dev $giturl echo '--------------------ok-----------------------'done gitpull.sh #!..
#!/usr/bin/env perluse strict;use warnings FATAL = 'all';use Getopt::Long;my ( $command, $ssh_user, $orig_master_host, $orig_master_ip, $orig_master_port, $new_m..
[server default]manager_workdir=/var/log/masterha/app1manager_log=/var/log/masterha/app1/manager.logmaster_binlog_dir=/alidata1/server/mysql-8.0.17-linux-glibc2.12-x86_64/datauser=rootpassword=canpoin..
[root@s8 mycat-1.6.6.1]# ll total 12 drwxr-xr-x. 2 root root 190 Sep 29 04:01 bin drwxrwxrwx. 2 root root 6 Oct 31 2018 catlet drwxrwxrwx. 4 root root 4096 Oct 9 02:53 conf drwxr-xr-x. 2..
[root@s1 keepalived-2.0.18]# pwd /alidata1/server/keepalived-2.0.18 [root@s1 keepalived-2.0.18]# ll total 0 drwxr-xr-x. 2 root root 21 Sep 24 05:18 bin drwxr-xr-x. 4 root root 41 Sep 24 05:18 e..
[root@s1 haproxy-2.0.6]# more conf/haproxy.cfg ## This is a sample configuration. It illustrates how to separate static objects# traffic from dynamic traffic, and how to dynamically regulate the s..
#!/bin/bashecho 'begin to install'# 0. mkdirmkdir -p /alidata1/server# 1. javaETC_RC_LOCAL_FILE=/etc/rc.d/rc.localecho '----------java--------------'JAVA_JDK_P..
#!/bin/bashtar xf mysql-8.0.17-linux-glibc2.12-x86_64.tar -C /alidata1/server# 1groupadd mysqluseradd -r -g mysql -s /bin/false mysql# 2.MYSQL_CNF_FILE=/etc/my.cnftouch $MYSQL_CNF..
一、system perl也可以用system调用shell的命令,它和awk的system一样,返回值也是它调用的命令的退出状态. [root@mycoding ~]# cat aa.pl#! /usr/bin/perl -w$file = "wt.pl";system("ls -l wt.pl&q..
sudo wget http://xrl.us/cpanm -O /usr/bin/cpanm; chmod +x /usr/bin/cpanm 安装好cpanm后就可以用他直接进行安装包了 sudo cpanm Module::Runtime 会把相应依赖一起装了的