HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   When do use suexec (http://www.howtoforge.com/forums/showthread.php?t=42455)

bseibenick 7th January 2010 01:26

When do use suexec
 
I found Till's post here http://www.howtoforge.com/forums/sho...60&postcount=2 on when to use mod_php, fast-cgi or suphp. I am curious as to when to use or not to use suexec.

I am curious in general on that but also when using a CMS such as Joomla. Any other recommendations settings to change when using Joomla would be appreciated as well.

Thanks!
Brian

till 7th January 2010 08:14

When you use a cms like joomla, typo3 etc., always use suexec. Suexec enables php and fcgi scripts to run under the user of the website instead of the apache user.

007007 16th August 2010 16:01

we must also enable:

CGI, SSI, Ruby?

I have a joomla / ipb with over 10,000 members

Toucan 17th August 2010 00:53

I install a few joomla sites:
I do not use cgi or ssi
I always use fastcgi
I always SuExec

I open a jailed shell for the user
I copy across a tar of joomla and expand it
Code:

wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz

Having done this, in your custom shell, under suExec, all your files will have all the correct permissions for joomla and it's components to run.

Hope this helps

007007 17th August 2010 12:24

thx

what utility of cgi, ssi and ruby ?

qb7 17th August 2010 16:03

more information.
 
Quote:

Originally Posted by Toucan (Post 236621)
I install a few joomla sites:
I do not use cgi or ssi
I always use fastcgi
I always SuExec

I open a jailed shell for the user
I copy across a tar of joomla and expand it
Code:

wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz

Having done this, in your custom shell, under suExec, all your files will have all the correct permissions for joomla and it's components to run.

Hope this helps

when i login wich a jailed shell for the user, i login in the home directori, what directori I browse for I copy joomla tar and expand it?

qb7 17th August 2010 16:09

Quote:

Originally Posted by qb7 (Post 236655)
when i login wich a jailed shell for the user, i login in the home directori, what directori I browse for I copy joomla tar and expand it?

Can you post step by step this solution?
Thank for all guy..

Toucan 17th August 2010 17:24

Open your jailed shell
Move to the root of the shell
Code:

cd ..
cd ..

Move to the web folder for that user
Code:

cd web
You should now be in the web folder
Execute the commands below
Code:

wget http://www.badbison.com/joomla.tar.gz
tar -xvf joomla.tar.gz
rm joomla.tar.gz
Rm index.htm


Toucan 17th August 2010 17:28

This is a cumbersome way of navigating about the shell but may help. You can insert ls command to help feel your way around the shell jail. The web folder is where you put your typical files for the site.

Also, be aware the commands here will wget a copy of my OLD version of joomla.


All times are GMT +2. The time now is 13:11.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.