Apache HTTPD installed on same server as Apache Tomcat

Desired Outcome
Install Apache HTTPD on same server as Apache Tomcat, so I can then get PHP working on HTTPD including SugarCRM. Also, it can be configurd so that the HTTP and Tomcat servers talk to each and pass the applicable requests back and forth.
XREF to this document — http://linux-sxs.org/internet_serving/tomcat-apache.html

Note: I’m going to put this project down as Someday/Maybe because there are many things to learn with my current setup, before going down path of adding another module.

Posted in CentOS | Tagged | Leave a comment

HTML dev hosted by Apache Tomcat

Desired Outcome:
Learning basic HTML and hosting the files on my Apache Tomcat server.
Note: Keep in mind that I have installed Apache Tomcat — this is not the same as vanilla Apache. Tomcat can host basic HTML files, with lesser performance, and it’s primarily designed to host Java applications.

Posted in HTML Programming | Tagged , | Leave a comment

firewalld – understanding within Centos7

Desired Outcome:

Understanding all CLI commands and features of firewalld (which replaced iptables)

XREF to this for info:
https://oracle-base.com/articles/linux/linux-firewall-firewalld#firewall-cmd

Error I’m working with:
firewall-cmd –zone=public –list-services
ERROR:dbus.proxies:Introspect error on :1.4:/org/fedoraproject/FirewallD1: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.21″ (uid=1000 pid=2418 comm=”/usr/bin/python -Es /usr/bin/firewall-cmd –zone=p”) interface=”org.freedesktop.DBus.Introspectable” member=”Introspect” error name=”(unset)” requested_reply=”0″ destination=”:1.4″ (uid=0 pid=618 comm=”/usr/bin/python -Es /usr/sbin/firewalld –nofork -“)
Error: Rejected send message, 1 matched rules; type=”method_call”, sender=”:1.21″ (uid=1000 pid=2418 comm=”/usr/bin/python -Es /usr/bin/firewall-cmd –zone=p”) interface=”org.fedoraproject.FirewallD1.zone” member=”getServices” error name=”(unset)” requested_reply=”0″ destination=”:1.4″ (uid=0 pid=618 comm=”/usr/bin/python -Es /usr/sbin/firewalld –nofork -“)

Answer to above error — when working with firewalld, be root (or su -)

Posted in CentOS | Leave a comment