Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
First off - let me warn you - I am a newbie to Linux (or returning newbie). I have used Linux many years ago but was unfortunately dragged to the dark side (m$).......
I have currently setup a clarkconnect box (RedHat 7.2) as a dedicated gateway/webserver/mailserver box (avail from http://www.clarkconnect.org). I have been able to configure it to do all the basic functions (webmail, snort etc) but I want to run a forum board on the server. I have tried both phpBB2 and UltimateBB) but I have not been able to get either of them to work.
This is what I have installed:
CC 1.2 (based on RedHat 7.2)
mySQL and php-mysql.
The errors I received was as follows:
- everytime I attempted to access the control.pl object on the control panel I received a "Internal Error" message. I have checked the permissions and they were set as required (755).
I tried everything but couldn't get the bl@sted thing to work so I tried phpBB2.
I installed the package, mysql and php-mysql as required but everytime I attempted to start mysql to create the database I received a "unable to connect to socket /var....." error.
Could someone please point me in the right connection before I rip out what is remaining of my hair. Should I go with UltimateBB (cgi based) or phpBB2 (PHP based)? If so, could someone recommend a simple step-by-step guide for getting it working. I really want to get it working and also understand how it is working.
THanks in advance
Last edited by psycho2000; 05-30-2003 at 02:03 AM.
With this especially a more useful thread title would have recieved a much wider response You might consider asking a mod to change it for you.
But, for now..
How did you install mysql? Did you use an RPM or did you use the binary tarball provided by mysql? If you used the RPM, might I suggest using the tarball. Once you get that going (just follow the directions, use the defaults, they work just fine) it's as easy as following directions from the mysql website to setup a database for your PHPBB (by the way, I'm suggesting the phpBB2 board since that's what I use ) board. From there, follow the instructions to setup the board from the board's info. It's not bad, one thing to advise you on: setup a password for your users who have access to the database. You'll need that for security later on. Also, setup a root password for mysql since root has all power/control there just as anywhere in linux.
The syntax to remove an rpm is:
rpm -e application
rpm -e mysql
Should do it. And yeah, I think you should remove it before using the mysql.com tarball (or even rpm if they have em, however I always prefer a tarball over an RPM, but you lose the easy ability to uninstall it, so try the official RPM's first from www.mysql.com )
Not sure if you can help but I when to go to continue my work on my board and got this error...
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/phpBB2/db/mysql4.php on line 48
Now I have completely uninstalled and reinstalled the MySQL server/client/libraries, deleted and reinstalled phpBB and dropped the old table. I then started the install again and entered in the same information but everytime I go to enter the information I get the following error..
The PHP configuration on your server doesn't support the database type that you chose
I am really ready to throw the whole lot away......
Do you have mysql running? To check:
Look for anything referring to mysql. You can grep too:
ps aux | grep mysql
FYI: I don't like using RPM's for anything big. They work fine for small things like IM apps, and basic "workstation" tools. But for server applications such as Apache, MySQL, or PHP I prefer grabbing a tarball and working with it. That way you know what you have, AND more importantly, you know what you don't have.
The documentation on all 3 of these things are excellent as it is, so the need for RPM's to install it is minimized. The main drawback is that you are expected to have a little linux knowledge.
Check your mysql setup to see that you are supplying the correct information to PHPBB2 for access to the database. Things like username/pass are important, and definitely SHOULD NOT be using root's info there.
That is just showing you your grep, that means you don't have mysql running. Start it up first To start it up, I use:
However, more than likely you won't. There should be some other way for you, something like:
Assuming that mysql is installed to that location.
Either way, you've got to get it started for it to work
Which versions of all these are you running? PHP, Apache, mysql, phpbb
How did you install mysql? Are you grabbing the binary tarball? If not, do. Follow those instructions, works great.
Those versions are the same as mine, so everything should be working out together. Before you do re-install, start your mysql server and see if that fixes it. What are you using as your mysql administration tool? phpmyadmin? I've been able to do it all via the command line, just reading through the docs at www.mysql.com and working around my system, so if you need help I'll be glad to give it, but it will be via the command line since I don't use phpMyAdmin.