Thanks Isuru for pointing this out! Stratos ships init.sh for Centos as well. It is there at https://github.com/apache/stratos/tree/master/tools/init-scripts/centos.
Thanks. On Fri, May 22, 2015 at 10:10 AM, Isuru Haththotuwa <isu...@apache.org> wrote: > > > On Fri, May 22, 2015 at 10:08 AM, Rajkumar Rajaratnam <rajkum...@wso2.com> > wrote: > >> Hi David, >> >> Setup scripts (config.sh and init.sh) are OS specific. Stratos ships >> config.sh for Debian/Ubuntu operating systems. DevOps will have to write >> their own script for any other operating system. >> >> Please refer [1] for more details. >> >> @Mari, [1] is from 4.0.0. Where do we have these information for 4.1.0? >> > > https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Cartridge#id-4.1.0Cartridge-Genericcartridge > >> >> 1. >> https://cwiki.apache.org/confluence/display/STRATOS/4.0.0+Cartridge#id-4.0.0Cartridge-Genericcartridge >> >> Thanks. >> >> On Fri, May 22, 2015 at 3:20 AM, david hbase <davidhb...@gmail.com> >> wrote: >> >>> Try deploy tomcat cartridge with RHEL 6.5, the init script from: >>> https://github.com/apache/stratos/tree/master/tools/init-scripts >>> >>> Run ./config.sh andgot the following errors: >>> >>> Error: Could not find command 'apt-get' >>> Error: /Stage[main]/Stratos_base/Exec[base-update-apt]/returns: change >>> from notrun to 0 failed: Could not find command 'apt-get' >>> >>> Looks like the Python cartridge is designed for ubuntu only? not sure, >>> Please confirm >>> >>> Thanks >>> -D >>> >>> >>> >> >> >> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> Blog : rajkumarr.com >> >> -- >> <http://rajkumarr.com> >> <http://rajkumarr.com> >> Thanks and Regards, >> >> Isuru H. >> <http://rajkumarr.com> >> +94 716 358 048 <http://rajkumarr.com>* <http://wso2.com/>* >> >> >> * <http://wso2.com/>* >> >> >> -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2 Mobile : +94777568639 Blog : rajkumarr.com