![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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? |
|
||||
|
Why not just install it via ports?
Code:
cd /usr/ports/databases/mysql50-server make install clean Code:
cd /usr/src fetch "ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz" tar xvfz ports.tar.gz -C /usr 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 |
|
||||
|
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.. |
![]() |
| Bookmarks |
| Tags |
| mysql, unix, unix jail |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|