LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-06-2013, 10:03 PM   #1
poly_s
Member
 
Registered: Sep 2011
Distribution: Arch
Posts: 47

Rep: Reputation: Disabled
$JAIL for mysql and uWSGI as well as nginx.


Hi

I'm setting up a web server to run a python program over the web.

I've gone to the trouble of setting up nginx in a jail and am wondering if i also need to move my mariadb,uwsgi and python as well as all dependencies/required files into said jail?

Thanks in advance for your time.
 
Old 12-04-2013, 07:56 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Yes you have to have everything inside the jail. Also for mariadb you could put the socket inside the jail and you should be able to access the db from inside the jail. Or have it listen on the network and then connect to this.

Did you check if there is a module for jailing nginx? I remember vaguely that there is one for apache. So not so sure if it still exists.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install webserver (nginx, php, mysql, phpmyadmin) on ubuntu 11.04 richskrenta Ubuntu 1 01-18-2012 04:00 AM
LXer: Installing Nginx With PHP5 And MySQL Support On Fedora 13 LXer Syndicated Linux News 0 07-27-2010 03:20 PM
LXer: Installing Nginx With PHP5 And MySQL Support On Ubuntu 9.04 LXer Syndicated Linux News 0 07-13-2009 07:50 AM
How to reinforce chroot jail on postfix+dovecot with mysql? cviniciusm Linux - Server 0 02-16-2009 01:08 PM
Apache Jail with SSL, PHP and MySQL dai Linux - Security 3 07-05-2003 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration