VMware(Plus 2)

RPM

#rpm -qa|grep java(cat app)

#rpm -e --nodeps xxxxx(remote)

#rpm -ivh xxx.rpm(unconnect the web and set up app)

 

#(unzip) unzip **.zip

zip yy.zip file

 

(unzip)  tar -zxvf xxx.tar.gz

(unzip)  tar -zxvf xxx.tar.gz -C dir

(zip) zcvf zzz.tar.gz dir(file)

 

(yum)

 

cd sofewares/

ls

ll

chmod u+x app

ll

tar -zxvf app

cd jdk

cd bin

#vi /etc/profile

(J to the end of the text)

## JAVA_HOME

export JAVA_HOME=dir of app

export path(save)

 

 

 

 

 #vi /etc/sudoer

(insert on the top) all=(root)NOPASSWD:ALL

(save)

$sudo vi/stc/hosts (can excute)

# service iptables ststus(firlwall)

#service iptable stop(start)(restart)

# chkconfig iptables(httpd) off(on)

#chkconfig --list|grep httpd

 

cat /etc/sysconfig/selinux

vi /etc/sysconfig/selinux

selinux=enforcing(disabled)

(save)

reboot

 

(linux crontab)

crontab -e

*/1 * * * *  /bin/data >> mm.blog(which data)

crontab -l

crontab -r(remote all commands in crontab)

(crontab grammer) * * * * * command

*/minute */hour */day * /mouth *.week day command

eg: 21:30 every day  implenment this command:  30 21 * * * cmd1

      45 1 *  * 6,0 cmd2(sun or surtday)

      0,30 20-23 * * * cmd4(20:00-23:00 every 30 minus)

    * */1 * * * (every hour )

 

 

 

 

转载于:https://www.cnblogs.com/rabbittail/p/7605146.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值