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
LEARN ABOUT FREEBSD
cpasswd
CPASSWD(1) BSD General Commands Manual CPASSWD(1)
NAME
cpasswd -- scramble passwords for csup authentication
SYNOPSIS
cpasswd clientName serverName
DESCRIPTION
The cpasswd utility creates scrambled passwords for the CVSup server's authentication database. It is invoked with a client name and a
server name. ClientName is the name the client uses to gain access to the server. By convention, e-mail addresses are used for all client
names, e.g., 'BillyJoe@FreeBSD.org'. Client names are case-insensitive.
ServerName is the name of the CVSup server which the client wishes to access. By convention, it is the canonical fully-qualified domain name
of the server, e.g., 'CVSup.FreeBSD.ORG'. This must agree with the server's own idea of its name. The name is case-insensitive.
To set up authentication for a given server, one must perform the following steps:
1. Obtain the official serverName from the administrator of the server or from some other source.
2. Choose an appropriate clientName. It should be in the form of a valid e-mail address, to make it easy for the server administrator to
contact the user if necessary.
3. Choose an arbitrary secret password.
4. Run cpasswd, and type in the password when prompted for it. The utility will print out a line to send to the server administrator, and
instruct you how to modify your $HOME/.csup/auth file. You should use a secure channel to send the line to the server administrator.
Since $HOME/.csup/auth contains passwords, you should ensure that it is not readable by anyone except yourself.
FILES
$HOME/.csup/auth Authentication password file.
SEE ALSO
csup(1), cvsup(1), cvsupd(8).
http://www.cvsup.org/
AUTHORS
Petar Zhivkov Petrov <pesho.petrov@gmail.com> is the author of cpasswd, the rewrite of cvpasswd. John Polstra <jdp@polstra.com> is the
author of CVSup.
LEGALITIES
CVSup is a registered trademark of John D. Polstra.
FreeBSD June 27, 2007 FreeBSD