实战命令

来源:互联网 发布:华康字体淘宝可以用吗 编辑:程序博客网 时间:2024/06/18 14:26
  1  history
    2  cd /svn
    3  ls
    4  cd svnserver/
    5  ls
    6  cd 52yungo/
    7  pwd
    8  clear
    9  ls
   10  clear
   11  ls
   12  mkdir soft
   13  ls
   14  cd soft
   15  ls
   16  wget http://download.redis.io/releases/redis-3.0.5.tar.gz
   17  ls
   18  tar -zxvf redis-3.0.5.tar.gz 
   19  ls
   20  cd redis-3.0.5
   21  ls
   22  make && make install
   23  ls
   24  cd src
   25  ls
   26  ./redis-server 
   27  ls
   28  cd ..
   29  ls
   30  cd ..
   31  ls
   32   wget http://mirror.bit.edu.cn/apache//activemq/5.13.4/apache-activemq-5.13.4-bin.tar.gz
   33  wget http://archive.apache.org/dist/activemq/5.13.3/apache-activemq-5.13.3-bin.tar.gz
   34  ls
   35  tar -zxvf apache-activemq-5.13.3-bin.tar.gz 
   36  ls
   37  cd apache-activemq-5.13.3
   38  ls
   39  cd bin
   40  ls
   41  yum list *svn*
   42  rpm -qa subversion
   43  yum list subversion     
   44  clear
   45  yum list subversion     
   46   yum install -y subversion.x86_64  
   47   mkdir -p /svn/svnserver
   48   svnserve -d -r /svn/svnserver/
   49  ps -ef |grep svn 
   50  sof -i:3690
   51  lsof -i:3690
   52  yum install lsof
   53  lsof -i:3690
   54  svnadmin create /svn/svnserver/52yungo  
   55  vim /svn/svnserver/52yungo/conf/svnserve.conf
   56   vim /svn/svnserver/52yungo/conf/passwd
   57  vim /svn/svnserver/52yungo/conf/authz
   58  service iptables status
   59   chkconfig iptables off  
   60  vim /etc/selinux/config    
   61  svnserve --version
   62  clear
   63  svnserve --version
   64  history
   65  cd /svn/svnserver
   66  ls
   67  cd 52yungo
   68  ls
   69  pwd
   70  cd conf
   71  ls
   72  vim passwd 
   73  vim authz 
   74  ls
   75  vim svnserve.conf 
   76  svnserve -d -r /svn/svnserver/52yungo
   77  killall svnserve
   78  ps -ef |grep svn 
   79  svnserve -d -r /svn/svnserver/52yungo
   80  ps -ef |grep svn 
   81  ps -ef|grep svn
   82  systemctl status nginx
   83  yum install systemctl
   84  ps -ef|grep svn
   85  ifconfig
   86  ls
   87  cd soft
   88  ls
   89  cd apache-activemq-5.13.3
   90  ls
   91  cd bin
   92  ls
   93  ./activemq start
   94  cd 
   95  ls
   96  cd soft
   97  ls
   98  chmod u+x jdk
   99  chmod u+x jdk-7u80-linux-x64.rpm 
  100  ls
  101  rpm -ivh jdk-7u80-linux-x64.rpm 
  102  java
  103  java -version
  104  ls
  105  cd apache-activemq-5.13.3
  106  ls
  107  cd bin
  108  ls
  109  ./activemq start
  110  ls
  111  ps -ef|grep activemq
  112  ./activemq stop
  113  ls
  114  cd ..
  115  ls
  116  cd ..
  117  ls
  118  cd /svn
  119  ls
  120  netstat -an
  121  lsof -i:3690
  122  exit
  123  ls
  124  clear
  125  isof -i:3690
  126  iosf -i:3690
  127  history