SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sorry for the late reply, my university keeps blocking my server so i haven't been able to update anything lately..
Quote:
did you use Slackware 10.2?
I'm always on Slackware Current.. I haven't done a reinstall since 9.0, so i'm not sure how to answer that question, but i haven't done an update of AMP for a few months now. It's probably more accustomed to 10.1 than 10.2. I'll try and update everything this weekend hopefully.
Quote:
And more importantly when you were installing Slackware did you request just the basic package free of php, mysql, apache? and then installed them later like you did in this guide... or what did you do to prepare for your installation of apache, mysql, and php?
That i can answer based on other installations i did on other computers. Both.. Almost all of the time i go through a minimal intall without AMP, and then install AMP from linuxpackages.net. A few times i had to help a few friends update theirs so i removepkg mysql (and the mysql db in /var/lib/), php, and apache 1.x and 2.x (also rm -rf /etc/apache and /etc/apache2 - you may want to keep httpd.conf if you're not starting over from scratch), and start from scratch.
I haven't updated this in a while, because it gets irritating to update it here, and in the LQ Answers section (which i have no write access to and is a pain to update), and my site (which lost its htdocs/ recently...). But i'll start here and move onwards in a few days.
Hi there, MySQL no longer has Command Center I installed Administrator. In the bin directory of mysql I execute
# ./mysql-administrator
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(mysql-administrator-bin:10584): Gtk-WARNING **: cannot open display:
Any ideas on why this doesn't execute. Or even better since I'm going to be using this on a server without X, what would be the commands to execute. I'm reading alot of documentation but can't seem to find such a simple answer.
Last edited by mustangfanatic01; 11-17-2005 at 07:44 PM.
It's complainig because it doesn't find php.ini-recommended file.
I think you should copy php.ini-recommended to php.ini if you have not one and edit it properly. Otherwise, if you have php.ini, copy it to php.ini-recommended.
thanks , but i have problem
when i type
/usr/bin/mysqladmin -u root password 'new-password'
i got
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
thanks , but when i type
/usr/bin/mysqladmin -u root password 'new-password'
i got
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Mysql password was set after issuing /usr/bin/mysqladmin -u root password 'new-password', which d_d of course did as we see from his post. If he didn't change anything in the password line, the empty password became new-password.
If you, like me, tried to take newer packages than those recommended by Xushi, you could be in for a rough ride. They may not be complete, or they may not be compatible - "out of the box".
You could check the Slackware current packges at:
http(colon,slash,slash)slackware.it/en/
I suspect they are more likely to be compatible and complete. Or even go into compile mode yourself, and get the sources for MySql, Ápache and Php from their respective sites.
However...
If you are almost "done", tweaking your installation a bit could get you settled. I managed to make my installation work (seemingly). Here are a few of the things I had to do:
php.ini:
I got the cvs version from php's cvs repository.
http(colon-slash-slash)cvs.php.net/viewcvs.cgi/php-src/php.ini-recommended
It has to be Slackified a bit. Besides the obvious editing you also need to set the extension_dir:
extension_dir = "/usr/lib/php/extensions"
MySql client shared object wouldn't work though because, it was compiled for a different version of MySql. I had to make a dirty hack in /usr/lib:
# ln -s libmysqlclient.so.14 /usr/lib/mysql/libmysqlclient.so.15.0.0
Effectively making php use a newer shared object. It seems to work - I can get phpMyAdmin to access my database.
I had to do a litle detectivework, to find out where to look for what, I inspected the packages I had installed with tar:
#tar -tjf <package>
And to find out what went wrong:
#su -
#tail /var/log/messages
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.