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.
I'd strongly suggest you just grab the slackbuild scripts from the source directory and just alter the version numbers to suit the ones you are trying to build.
This is the second one which brings me up to ./scripts/mysql_install_db, that means the "make" and "makefile" were successful but when I threw this "chown -R mysql:mysql /usr/local/mysql/data" it says "data" not found or something like that.
i assume you have successfully install mysql and you have mention the make and make install were successfully.
When you throw this command: chown -R mysql:mysql /usr/local/mysql/data, linux is not able to find the data file for mysql thats y it throws you an error.
You need to install the data scripts before you issue the chown command:
I'm back my good friends!!! How is everything here?
anyways, all the problems that I've post here i was able to correct it. Problem is, everyday is a different day and different problem in my installation process. yep, that's right I'm not done with the installation yet, only in mysql though. I think I'll try to install Mysql that comes with my distro for now. Installation might be way more easier.
So I have decided to install my mysql today. I have my slack 12 cd and I have found mysql under:
/source/ap/mysql
and what I have inside that directory is:
doinst.sh.gz, mirror-url, mysql-5.0.37.tar.bz2, mysql.slackbuild*, rc.mysqld.gz and slack-desc
my question now is how do I run my installation. How do I start?
do I have to copy first the entire dir to my hd first and where if I need to?
Thanks and hope to hear from you soon.
Assuming you just want to (re)-install mysql, you want /slackware/ap/mysql...tgz, not the /source files. You install the tgz file with (as root) "upgradepkg --reinstall --install-new package_name.tgz".
If you want to build from source, you copy all the files in /souce/ap/mysql to somewhere, and from within the directory and as root issue "sh mysql.SlackBuild". This will create a tgz package which you will install as mentioned above.
Guys, a very big thanks for all the help. I have my server up and running now. I installed Mysql, Apache 2 and PHP on my powerful Slack box. You guys are genius. Keep up the good work!!!
I installed my mysql that comes with my slackware 12. mysql,apache2 and php works amazing now but I need to know where are my folders for my mysql resides. when I installed it from source I know where they were, like in "usr/local/mysql" but now I don't know where to locate them.
More and more question... I'd like to allow my bro. to connect thru ftp to do stuff like uploading html files and more since I really don't have a talent in designing a web page. So I'll take care of the server side and he'll take care of the actual web site. After some readings and research I think want to use proftpd that they say it is also included in my Slackware bundle and maybe way more easy to install coz it came with my OS packages. Is it a good idea to use it and where can I find and install it?
I installed my mysql that comes with my slackware 12. mysql,apache2 and php works amazing now but I need to know where are my folders for my mysql resides.
By default the databases themselves are located under /var/lib/mysql/...
You may check it by looking at /etc/rc.d/rc.mysqld (on a stock SW 12.x install).
The binaries are in /usr/bin/mysql...
Other libs in /usr/lib/mysql/...
I do not know all the details of setting up proftpd, but I think you just need to uncomment this in /etc/inetd.conf for basic use (and maybe restart the inetd daemon)...
# Professional File Transfer Protocol (FTP) server.
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.