Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2011, 11:30 PM
Greg Magnusson Greg Magnusson is offline
Junior Member
 
Join Date: Jun 2005
Location: Duck Lake, Saskatchewan
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default AMP-inmate + Joomla-Inmate with the Warden How To Install???
I have read this post
http://wiki.pcbsd.org/index.php/Mana...ith_The_Warden
and I am still at a loss as to how to proceed.

I have just installed PC-BSD RC8.2RC3 on an i686 machine. After downloading "The Warden", "Joomla-Inmate" and "AMP-inmate" into a temporary directory and configuring "The Warden" with a File --> New Jail

IP 10.10.10.12
hostname Jailbird

I right click on newly created jail
and attempt to "Install inmate into jail"

However "The Warden" looks for a Warden Inmate Pack (*.wit) file. The downloaded files to /usr/local/tmp are

AMP-Inmate-1.2.pbi
Joomla-Inmate-1.5.15.pbi

How do I install the AMP and Joomla .pbi files into The Warden?
Reply With Quote
  #2  
Old 02-16-2011, 12:55 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default AMP-inmate + Joomla-Inmate with the Warden How To Install???
If you rename those inmates to ".wit" does it let you import them then?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 02-16-2011, 07:40 PM
Greg Magnusson Greg Magnusson is offline
Junior Member
 
Join Date: Jun 2005
Location: Duck Lake, Saskatchewan
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Smile If you rename those inmates to ".wit" does it let you import them then?
Short answer = YES!

Changing the file extension from .pbi to .wit then opening the AMP-Inmate-1.2.wit file by "right clicking" on a created jail from within "The Warden" and "Install Inmate into jail"

works.

Creating a second jail 10.10.10.13 and renaming Joomla-Inmate-1.5.15.pbi to Joomla-Inmate-1.5.15.wit then right click jail and "Install Inmate into jail"

works.


I am going to explore these two chroot'd server installs and will confirm the details shortly.
__________________
Greg Magnusson
Cyborg Spiders Web Development
glm@cyborgspiders.com
Reply With Quote
  #4  
Old 02-16-2011, 10:46 PM
Greg Magnusson Greg Magnusson is offline
Junior Member
 
Join Date: Jun 2005
Location: Duck Lake, Saskatchewan
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default AMP-Inmate-1.2.wit post install configuration for basic use of Apache22/data folder
Opening The Warden:

In KDE I open the main PCBSD menu bar then type "warden" into the search box and activate "warden-gui" or "warden gui &" as root on the command line.

Test to see if AMP-Inmate-1.2.wit was installed by opening your browser (FIREFOX) and entering your jailed IP address into the URL field

example http://192.168.1.1

you should be looking at a screen that says "AMP has been installed successfully!" with a lot of information about your PHP install as per the output of <?php phpinfo(); ?>

details: php v5.2.12 mysql v5.1.45 gd, cURL, openssl, dom, and hash are all there.... missing is mcrypt... will look into adding mcrypt and postgresql later

So remember that user and password you just added to "The Warden" when you created your new jail with that specific jailed IP address ?????

That user, user password and IP address are ALL IMPORTANT because you are going to use ssh to get in and out of your jail for server configuration.

Do not confuse that username with the server hostname. Keep the username simple, something like pamp.

command line ssh and sftp

keep in mind that the warden runs in a jailed environment

/usr/local/warden/jails//
/usr/local/warden/jails//192.168.1.9/usr/local/www/apache22/data


ssh thatusername@jailedipaddress
ssh pamp@192.168.1.9

$ cd /usr/local/etc/
$ vi php.ini-recommended
$ cd /usr/local/etc/php
$ vi extensions

change the ownership of the data folder from root to your regular user

-----------------------------------------------------
First off.. I like my regular users to be able to use sudo

su
password
visudo

delete key the # sign from the line that says
%wheel ALL=(ALL) ALL
------------------------------------------------------
:wq
------------------------------------------------------
change ownership of the jailed apache data file to your regular user

$ sudo chown -R regularusername /usr/local/warden/jails/192.168.1.9/usr/local/www/apache22/data

sftp is how you move files in and out of your jail.

example of sftp into the jail with the username created by the warden

sftp thatusername@jailedipaddress

sftp pamp@192.168.1.9
$ cd /usr/local/www/apache22/data

$ put phpfile.php
$ get index.php

hint: in sftp pwd is print working directory and lpwd is local print working directory
read
sftp> help

and this represents the beginning.... more as I learn...
and here I wonder if I am creating a jail and then changing permissions to regular user????? what is a better way to maintain the jail?
------------------------------
http://www.theitmassive.com/home/200...sd-warden.html
http://trac.pcbsd.org/browser/pbibui...xt.sh?rev=3020
__________________
Greg Magnusson
Cyborg Spiders Web Development
glm@cyborgspiders.com

Last edited by Greg Magnusson; 02-16-2011 at 10:49 PM. Reason: more questions
Reply With Quote
  #5  
Old 06-21-2011, 01:15 AM
willy willy is offline
Junior Member
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default configuracion del amp inmate y el joomla inmate
Amigo pues ya ise todos los pasos que dijistes, instale el warder, descargue los archivos amp inmate y el joomla inmate y les cambie de extencio a .wat, ya cree las craceles y los instale cada uno de ellos en las carceles, y toodo esta perfecto, pero de alli que hago, que paso sigue, como activo o como configuro el amp inmate para poder utilizar la base de datos mysql, como configuro el joomla para poder utilizar el servidor web(apache), como hago como hago, te agradeseria enormemente si esq publicaras paso a pasito sin saltearte y sin oviar niuna linea para la activacion y configuracion de como utilizar el mysql y el apache por q ya instale el amp-inmate y el joomla/inmate en sus respectivas celdas pero alli me kede, gracias de antemano, dios te bendiga
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:05 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.