From owner-freebsd-questions@FreeBSD.ORG Sun Aug 14 11:40:14 2005 Return-Path: X-Original-To: freebsd-questions@FreeBSD.ORG Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA9AC16A41F for ; Sun, 14 Aug 2005 11:40:13 +0000 (GMT) (envelope-from chris.ryan@itfirst.com.au) Received: from olympus.bullmedia.com.au (olympus.bullmedia.com.au [203.31.191.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79D8143D45 for ; Sun, 14 Aug 2005 11:40:13 +0000 (GMT) (envelope-from chris.ryan@itfirst.com.au) Received: by olympus.bullmedia.com.au (Postfix, from userid 1002) id 9B4922E273D; Sun, 14 Aug 2005 16:34:06 +1000 (EST) Received: from [10.0.2.2] (d220-238-5-58.dsl.vic.optusnet.com.au [220.238.5.58]) by olympus.bullmedia.com.au (Postfix) with ESMTP id B15272E24DF; Sun, 14 Aug 2005 16:34:05 +1000 (EST) User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Sun, 14 Aug 2005 14:56:43 +0930 From: Chris Ryan To: Jack Raats , Message-ID: In-Reply-To: <000701c59f58$e8ad3110$9800000a@jara2> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Cc: Subject: Re: Mambo CMS on freeBSD5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 11:40:14 -0000 Hi Jack Mambo now running smooth as too :) Knew there was something I forgot... Thanks for your help Cheers Chris > Ryan, > > Did you enable MySQL in /etc/rc.conf? > At my server FreeBSD 5.4-STABLE Mambo is running smooth! > > Jack > > > ----- Original Message ----- > From: "Chris Ryan" > To: > Sent: Friday, August 12, 2005 6:08 PM > Subject: Mambo CMS on freeBSD5.4 > > >> Hi All >> >> I have tried to find documentation on how to setup a freeBSD box as a >> webserver running PHP apach mySQL versions needed for the Mambo content >> Management System [ the one that has won lots of open sourse awards over >> the >> last few years] So I am sure there must be others wanting this resource - >> and I will be happy to help with documentation [ and anything else I can >> do] >> for others once my issues are resolved. >> >> >> I have searched the handbook, archives for questions etc etc >> >> Sorry for the long email - but thought I would give as much info as >> possible, thanks in Advance. >> >> >> >> >> I have an IBM p4 1.6 w 256mb RAM 40 gig. >> >> >> I have installed freeBSD 5.4. >> >> I cvsuped ports-all and src-all >> >> Then >> >> cd /usr/ports/www/apache13-modssl >> make install distclean >> >> echo 'apache_enable="YES"' >> /etc/rc.conf >> echo 'apache_flags="-DSSL"' >> /etc/rc.conf >> >> cd /usr/ports/databases/mysql40-server >> make install WITH_OPENSSL=yes distclean >> >> cd /usr/ports/www/mod_php4 >> make install distclean >> cd /usr/ports/lang/php4-extensions >> make install distclean >> >> Checked the OpenSSL boxes when needed >> >> >> >> >> ee /usr/local/etc/apache/httpd.conf >> >> AddType application/x-httpd-php .php >> AddType application/x-httpd-php-source .phps >> >> >> openssl genrsa -des3 -out server.key 1024 >> >> openssl req -new -key server.key -out server.csr >> >> openssl x509 -req -days 365 -in /root/server.csr -signkey >> /root/server.key >> -out /root/server.crt >> >> cp ~/server.key /usr/local/etc/apache/ssl.key/ >> cp ~/server.crt /usr/local/etc/apache/ssl.crt/ >> >> /usr/local/etc/rc.d/mysql-server.sh start >> /usr/local/sbin/apachectl startssl >> >> >> >> ***next three lines to stop needing pwd for ssl on each system reboot >> ***cd /usr/local/etc/apache/ssl.key >> ***cp server.key server.key.orig >> ***openssl rsa -in server.key.orig -out server.key >> >> >> Then scp mambo files and extracted..to >> /usr/local/www >> >> >> >> At this stage I can point browser to ip address and the proper Mambo >> pre-installer page comes up - as it should. >> >> >> With PHP Zlib Mysql all coming up positive. [ as needed by Mambo ] >> >> >> Now I try to create a database in mysql called Mambo >> >> >> mysqladmin -u root -p create Mambo >> >> >> I enter my password then get this error message >> >> mysqladmin: connect to server at 'localhost' failed >> error: 'Can't connect to local MySQL server through socket >> '/tmp/mysql.sock' >> (2)' >> Check that mysqld is running and that the socket: '/tmp/mysql.sock' >> exists! >> >> >> >> >> >> I have tried to start mysql again with >> /usr/local/etc/rc.d/mysql-server.sh >> start >> >> I have restarted [ of course ] >> >> I have noticed that the file /tmp/mysql.sock does not exist. I have tried >> to >> get some info form mysql's site with no luck. >> >> I love and promote freeBSD whenever I can! Its such a great system! >> >> Thanks in Advance for help >> >> Cheers >> >> Chris >> >> >> >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> >