Posts

Showing posts with the label centos

How to setup user account on linux systems for Hybris?

Why you should avoid running applications as root I've often come across posts on forums or other websites where you see people joking in such a manner about running/logging in as root as if it's something awful and everyone ought to know about it. However, there isn't much that a search reveals on the matter. It may be widely known to Linux experts, but I really don't know why. I remember always running as root when I first tried Linux years ago (Redhat and Mandrake) and don't remember running into any problems because of that. There are actually some distros that have a bright red background with alert signs all over it as wallpaper for the root user (SuSe?). I still use the "Administrator" account for regular use on my Windows installation and haven't ever run into any problems there either.  [source] How to create a User Account on Linux systems for Hybris Setup? Open a shell prompt. If you are not logged in as root, type the command ...

Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL

Apache Mod_proxy '[Error] (13)Permission Denied' Error on RHEL I go above error when I have installed Apache web server and setup virtual host on CentOS 7. [error] (13)Permission denied: proxy: AJP: attempt to connect to 10.x.x.x:9002 (host.domain.com) failed By looking at error, I started seaching for permission issue and how to resolve it. But finally, I came across a blog which also mentioned the same issue. With help of it, I came to know this is because of  SELinux , which ship by default with  CentOS . Due to that httpd processes can't make an outbound connection. This command helps me to fix it. /usr/sbin/setsebool httpd_can_network_connect 1 Once my system rebooted, I again get into the same issue. The reason behind above command has not persisted the changes. To make it persist you need to pass  -p /usr/sbin/setsebool -P httpd_can_network_connect 1