> I tried setting up the webserver when I installed the OS. For some reason,
> it didn't install. I tried adding apache and mysql, but when it gets to
> mysql, it gives the error 'Add of pkg mysql-server-3.23.42 aborted, error
> code 1 - please check debug screen for more info.
> Could anyone tell me what I'm doing wrong? Where do I go to check the error
> code?
You might try adding one at a time to see which package is causing the
error. I assume you're using /stand/sysinstall so are you having it
grab stuff from a cd or what? If so, make sure that the file(s) on it
are good. You might also try just using pkg_add to install things. man
pkg_add for more details.
Quote:> I checked the /usr/local dir and there isn't a www dir so I guess that means
> that apache didn't install either.
> What do I need todo to install a web server with php, mysql, asp support.
Yea, that seems to indicate no apache. You can use pkg_info to see what
ports/packages have been installed.
Quote:> Then where is the best place to find out how to secure my machine? I've
> checked out about 3 diff articles and I've done everything they've said. Is
> there a 'best' place to find out how to secure it?
I don't know of any particularly good site. The general scheme is to
close/shutdown anything you aren't using, disable all unencrypted
logins, and keep things patched. This of course means that you should
upgrade to 4.5 as there are some things in 4.4 that should be brought up
to date (like the openssh local exploit). You might consider reading
chapter 18 of the handbook as using cvsup and then recompiling tends to
be a pretty painless way of upgrading.
Quote:> And how do I copy files from a local cd?
First you need to mount the cd, and then you can copy stuff. To mount a
cd (assuming you have an IDE cdrom and /cdrom exists and is what you
want to use as the mount point):
mount -t cd9660 /dev/acd0c /cdrom
You need to be root for that of course. You can then switch back to a
regular user and copy things over with cp.
Quote:> Sorry for all the Qs. I have looked for this stuff but haven't been able to
> find it.
I recommend reading the handbook as a fair amount of your questions are
covered there.
--
Biology/Neuroscience, Pre-med | http://home.uchicago.edu/~dpryan