Re: centos7 -- webapp setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/27/2018 12:12 PM, Samuel Sieb wrote:
> On 06/27/2018 11:19 AM, bruce wrote:
>> Looking at deploying test webapps. Be easy! I'm not the sysadmin/devops.
> 
> Unfortunately, that's an extremely vague concept and very hard to give
> any specific answers to.  You would need to specify what frameworks
> you're using (e.g. nodejs, django, etc.).

Samuel is correct. It rather depends on what the webapp is written in
(PHP, Perl, Java, C, C++, whatever) and what frameworks they're
dependent on. You might be able to run the webserver part under
lighthttpd or nodejs, then again you might need something more complex
like ngnix, Apache or Tomcat. It rather depends on what you're doing.

>  I've been looking at different sites/vids to see what's involved with
>> really setting up the OS for the webapp deployment. Selinux appears to
>> play a major role in getting everything "right".
> 
> Selinux generally stays out of the way as long as you put things in the
> expected places, particularly if you are using the OS supplied packages.
>  There's usually not a lot of OS setup involved for webapps.

Again, Sam's got it. SELinux keeps processes from gaining privileges
they shouldn't have and writing data to spots they shouldn't. If you
keep all of the code and such in the places SELinux expects them, they
write to files and directories they're allowed to and they don't try to
use privileged operations they shouldn't (e.g. executing code off the
stack, etc.), you shouldn't have any issues. This includes all the
underlying bits (PHP shouldn't write to the wrong directories, etc.).
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-      We are born naked, wet and hungry. Then things get worse.     -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/KW6QSEL6SW7KQP4YTQTL4LIOJDVH2HTE/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux