This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Subject: Re: [Slashcode] RedHat 6.1 Installation From: Charlie Younghusband <cwy@xiphos.ca> Date: Tue, 29 Feb 2000 12:03:48 -0500 John Daniels wrote: > Cheers, > > I'm trying to install Slashcode on an out-of-box > RedHat 6.1 with EVERYTHING installed by default (I > mean, all RPMs on the RedHat CD)BUT default Apache > 1.3.9 and mod_php, on a K6400-64Mb-2x4Gb HD, NOT > connected to Internet but on a LAN (IP: 10.0.0.1). > > My Step-by-step: > > - I downloaded slash-0.9.2.1 and read INSTALL > carefully. > - Then I followed the software requirements on the doc > and downloaded everything needed, including old Apache > 1.3.6, and the latest Perl modules available. > - created group and user slash > - unpacked slashcode under /home/slash. I mean there, > not /home/slash/slash Yes, the docs are a little misleading. I also initially untarred it INTO /home/slash, and wound up with /home/slash/slash. It wasn't until later that I realized this wasn't right, and tried changing path references to /slash/slash until I got tired of it and just moved it back into the home directory itself. Might be worth a note in the install docs. > > - chown -R slash:slash /home/slash > - mkdir /usr/local/apache > - Installed MySQL-3.22.32-1.i386,client,devel and > shared RPMs Don't do this. Get the source, and make and install it yourself. I did the same thing the first couple of times, but couldn't get it to work under the RPM, though of course in theory it should. No where in the docs does it say 'don't install from RPM or other packages', but Andover guys have said so on this list. The RPM also does the safe_mysql execution itself (as well as the other set up routine I forget), so your TZ change would not have affected things. There is talk of a RPM for this in the future, which is an excellent idea, but probably not until a 1.x release. > out-of-box. Yes, the Perl RPM (installed out of the box for Redhat 6.1) is the ONLY RPM I used. > On INSTALL, step 15 mentions to create all the links > for the various run levels. > I do this, just for runlevel 3: > > ln -fs /etc/rc.d/init.d/slashd > /etc/rc.d/rc.3/S91slashd > > That's Ok, isn't it? > Worry about this when you get it working. Personally, I put it in rc.local. But in the short term, I just put the file in that directory and executed it manually. (I was doing a fair bit of slashd restarting) > > - Rebooted (just in case). > - Took a deep breathe, logged as slash user, and > typed: > > /etc/rc.d/init.d/slashd start I guess that should work, but you could always try being root and doing it. > > > And got this ERROR: > > DBI->connect failed: Can't connect to local MySQL > server through socket