08-11-2009
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?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i install php & mysql with apache on suse linux ???
apache was installed and configured when i installed linux.
all its files are in different folders. e.g http files in usr/local/httpd/htdocs/ and its configs are in etc/httpd/
so how do i install php and get it to work with apache and... (4 Replies)
Discussion started by: perleo
4 Replies
2. UNIX for Dummies Questions & Answers
What is the best way to run Apache2 and MySQL as daemons that run on startup? Can anyone give me some scenarios/examples. Thanks in advance! (3 Replies)
Discussion started by: ezekiel61
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a co-worker that uses javascript code to generate the last-modified date on a file. The problem is our server does not properly send this date so javascript can display it. I know that it is better to use server-side scripting to generate this but she has already put it on multiple... (1 Reply)
Discussion started by: robbieg
1 Replies
4. UNIX for Dummies Questions & Answers
Folks;
How can i setup ACL in Apache so i can give a group of users (defined by their emails (all users under *@red.com) access to a web page? (10 Replies)
Discussion started by: moe2266
10 Replies
5. Web Development
Hello there,
I installed Ajaxterm on my Ubuntu 9.04 machine, and it's running ok if I use : http://localhost:8022/ in my browser. The problem is that I wanted to be able to acces it from somewere else through the internet. I read some instruction and help sites related to this problem, like :... (2 Replies)
Discussion started by: spiriad
2 Replies
6. Red Hat
Hi,
This is my problem:
- I install and configure apache,php,mysql-server
- configure database on mysql and wp-config od Wordpress
- upload files wordpress in to public_html
and... i see results "blank page".
What is it? Where is problem?
(PS. I install and configure wordpress few... (1 Reply)
Discussion started by: gripek
1 Replies
7. Red Hat
I want to install Apache (version 2.2.X), php (version 5.3.X),mysql (version 5.5.X) on RHEL 5.5. Guide re. site address for download all rpm.
X = latest version.
Thanks in advance. (1 Reply)
Discussion started by: vasdaax
1 Replies
8. UNIX for Dummies Questions & Answers
I have recently setup a HTTP server using Apache.
This was my first install of Apache, so I am very new to it.
What I would now like to do is setup HTTPS for my server.
Unfortunately, the official Apache 2.2 manual doesn't cover setting up HTTPS, and using Google search engine I have found... (2 Replies)
Discussion started by: SSL
2 Replies
9. Ubuntu
on ubuntu lamp server how to install mysql and apache? any instructions? (1 Reply)
Discussion started by: srinathk
1 Replies
JLS(8) BSD System Manager's Manual JLS(8)
NAME
jls -- list jails
SYNOPSIS
jls [-dhNnqsv] [-j jail] [parameter ...]
DESCRIPTION
The jls utility lists all active jails, or the specified jail. Each jail is represented by one row which contains space-separated values of
the listed parameters, including the pseudo-parameter all which will show all available jail parameters. A list of available parameters can
be retrieved via ``sysctl -d security.jail.param''. See jail(8) for a description of some core parameters.
If no parameters or any of the options -hns are given, the following four columns will be printed: jail identifier (jid), IP address
(ip4.addr), hostname (host.hostname), and path (path).
The following options are available:
-d List dying as well as active jails.
-h Print a header line containing the parameters listed. If no parameters are given on the command line, all is assumed.
-N In the standard display mode, print each jail's name instead of its numeric ID. If the jail does not have a name, the numeric ID is
printed instead.
-n Print parameters in ``name=value'' format, where each parameter is preceded by its name. If no parameters are given on the command
line, all is assumed.
-q Put quotes around parameters if they contain spaces or quotes, or are the empty string.
-s Print parameters suitable for passing to jail(8), skipping read-only and unused parameters. Implies -nq.
-v Print a multiple-line summary per jail, with the following parameters: jail identifier (jid), hostname (host.hostname), path (path),
jail name (name), jail state (dying), cpuset ID (cpuset), IP address(es) (ip4.addr and ip6.addr).
-j jail
The jid or name of the jail to list. Without this option, all active jails will be listed.
SEE ALSO
jail_get(2), jail(8), jexec(8)
HISTORY
The jls utility was added in FreeBSD 5.1. Extensible jail parameters were introduced in FreeBSD 8.0.
BSD
July 20, 2012 BSD