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 )