1)chmod +x /etc/rc.d/rc.local
2)/root/jauto.sh
3)auto.sh
#! /bin/bash
cd /root/apache-cassandra/bin
./cassandra
sleep 120 //延时120秒
cd /root/aaa/bin
./start.sh
1)chmod +x /etc/rc.d/rc.local
2)/root/jauto.sh
3)auto.sh
#! /bin/bash
cd /root/apache-cassandra/bin
./cassandra
sleep 120 //延时120秒
cd /root/aaa/bin
./start.sh