The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem setting up apache spiriad Web Programming, Web 2.0 and Mashups 2 05-31-2009 07:06 AM
setting up ACL in Apache moe2266 UNIX for Dummies Questions & Answers 10 10-10-2007 09:56 PM
Setting Last-Modified Bit in Apache robbieg UNIX for Dummies Questions & Answers 1 12-03-2004 12:43 PM
Apache and MySQL as services? ezekiel61 UNIX for Dummies Questions & Answers 3 05-10-2004 07:08 PM
PHP & Apache & MySQL install how-to ? perleo UNIX for Dummies Questions & Answers 4 09-01-2003 11:42 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-11-2009
Dark Severance Dark Severance is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 5
Setting up Apache/mySQL/PHP in Jail

Server: FreeBSD 7.2-Release

Previously I admin a website that uses IP.Board as a forum. It was on a FreeBSD server but there were some issues with some other people on the server so the whole server has been resetup. It is has been set up as a Unix Jail and I was given root access. Apache has been installed I've been told but I'm not sure how to configure it so that it points to the domain but I'm waiting to hear back from him on that.

Right now I'm trying to install mySQL. However the base commands like groupadd and useradd that I would use to set up my mysql user aren't working. I'm not sure if that is because of the Unix Jail or something else.

Can anyone direct me on what I need to do to set up mySQL?
  #2 (permalink)  
Old 08-11-2009
chatwizrd chatwizrd is offline
Banned
  
 

Join Date: Nov 2008
Posts: 67
Why not just install it via ports?

Code:
cd /usr/ports/databases/mysql50-server
make install clean
If you dont have ports already you can do:

Code:
cd /usr/src
fetch "ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz"
tar xvfz ports.tar.gz -C /usr
Then repeat the commands above.

To keep your ports updated you can do:

Code:

portsnap fetch
portsnap update
Bits Awarded / Charged to chatwizrd for this Post
Date User Comment Amount
08-11-2009 Anonymous bravo 50,000
  #3 (permalink)  
Old 08-11-2009
Dark Severance Dark Severance is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 5
Because I didn't know I could install it that way. Thank you, that seems to have made that part painless at least. I suppose the same thing can also be done to install PHP.

By chance do you also know how I can find out which folder apache is set up as the public or the www folder for the domain?

Edit: Ok I'm still having trouble with setting up my sql group and users.

groupadd mysql
useradd -g mysql mysql

Last edited by Dark Severance; 08-11-2009 at 06:53 PM..
  #4 (permalink)  
Old 08-13-2009
Dark Severance Dark Severance is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 5
Issue resolved now.
Closed Thread

Bookmarks

Tags
mysql, unix, unix jail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:39 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0