[
https://issues.apache.org/jira/browse/CLOUDSTACK-9049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14998428#comment-14998428
]
ASF GitHub Bot commented on CLOUDSTACK-9049:
--------------------------------------------
Github user DaanHoogland commented on the pull request:
https://github.com/apache/cloudstack/pull/1052#issuecomment-155395711
LGTM on centos 6:
```
[root@cs3 x86_64]# cloudstack-setup-databases cloud:password@localhost
--deploy-as=root
Mysql user name:cloud
[ OK ]
Mysql user password:******
[ OK ]
Mysql server ip:localhost
[ OK ]
Mysql server port:3306
[ OK ]
Mysql root user name:root
[ OK ]
Mysql root user password:******
[ OK ]
Checking Cloud database files ...
[ OK ]
Checking local machine hostname ...
[ OK ]
Checking SELinux setup ...
checkSelinux failed with error continuing...
SELinux is set to enforcing. There are two options:
1> Set it permissive in /etc/selinux/config, then reboot the machine.
2> Type 'setenforce Permissive' in commandline, after which you can run
this program again.
We strongly suggest you doing the option 1 that makes sure SELinux goes
into permissive after system reboot.
[ OK ]
Detected local IP address as 192.168.22.63, will use as cluster management
server node IP[ OK ]
Preparing /etc/cloudstack/management/db.properties
[ OK ]
Applying /usr/share/cloudstack-management/setup/create-database.sql
[ OK ]
Applying /usr/share/cloudstack-management/setup/create-schema.sql
[ OK ]
Applying /usr/share/cloudstack-management/setup/create-database-premium.sql
[ OK ]
Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql
[ OK ]
Applying /usr/share/cloudstack-management/setup/server-setup.sql
[ OK ]
Applying /usr/share/cloudstack-management/setup/templates.sql
[ OK ]
Processing encryption ...
[ OK ]
Finalizing setup ...
[ OK ]
CloudStack has successfully initialized database, you can check your
database configuration in /etc/cloudstack/management/db.properties
[root@cs3 x86_64]# cloudstack-setup-management
Starting to configure CloudStack Management Server:
Configure Firewall ... [OK]
Configure CloudStack Management Server ...[OK]
CloudStack Management Server setup is Done!
[root@cs3 x86_64]#
```
> Fix deployment in CentOS 7 with Tomcat 7
> ----------------------------------------
>
> Key: CLOUDSTACK-9049
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9049
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.6.0
> Reporter: David Amorim Faria
> Assignee: David Amorim Faria
>
> The centos 7 packaging is using custom config files instead of the files
> sourced from the webapp. Also, the library used by
> cloudstack-setup-management expects to find tomcat6 files in the config
> directory, and they are not valid for tomcat7 which comes as default in
> centos7.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)