Hi Raj, Sorry, for the later response! Currently, Stratos only ships init.sh for Centos. config.sh for Cenos can be added to Stratos as an improvement in the future.
Regards, Mariangela *Mariangela Hills* Senior Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Fri, May 22, 2015 at 3:14 PM, Rajkumar Rajaratnam <rajkum...@wso2.com> wrote: > Hi Mari, > > Does Stratos ship config.sh for Centos? It ships init.sh for Centos. > > Thanks. > > > On Fri, May 22, 2015 at 3:07 PM, Mariangela Hills <mariang...@wso2.com> > wrote: > >> Hi Devs, >> >> For the purpose of greater clarity, I added the following as a separate >> note, so that the user does not miss it. >> >> "The init.sh and config.sh files are OS specific. Stratos ships config.sh for >> Debian/Ubuntu and CentOS operating systems. While, Stratos ships init.sh for >> Debian/Ubuntu. These scripts are accessible in the >> <STRATOS_SOURCE_HOME>/tools/init-scripts/ directory. Note that DevOps >> will have to write their own script for any other operating system. " >> >> >> >> Regards, >> Mariangela >> >> >> >> >> *--* >> *Mariangela Hills* >> PMC Member & Committer of Apache Stratos >> Senior Technical Writer >> WSO2, Inc. >> lean.enterprise.middleware. >> m: +94 773 500185 >> w: http://wso2.com >> <http://wso2.com/events/> >> >> On Fri, May 22, 2015 at 10:15 AM, Rajkumar Rajaratnam <rajkum...@wso2.com >> > wrote: >> >>> 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 >>> >> >> > > > -- > Rajkumar Rajaratnam > Committer & PMC Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > Blog : rajkumarr.com >