LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2009, 05:10 PM   #16
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231

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.
 
Old 04-12-2009, 09:19 PM   #17
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
Quote:
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:

/usr/mysql/bin/mysql_install_db --user=mysql

Make sure I hope it works for you.
 
Old 04-13-2009, 07:50 AM   #18
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Okay I'll run it when I get home. I'm so pump to do this man!!!


mRgOBLIN thanks for the suggestion.
 
Old 04-28-2009, 09:02 AM   #19
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
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.

Ciao for now guys!!!!
 
Old 05-02-2009, 06:24 AM   #20
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
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.
 
Old 05-02-2009, 11:56 AM   #21
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by Allanitto Newbee View Post
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.

Brian
 
Old 05-02-2009, 04:51 PM   #22
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Yes copy the directory to your hard drive and edit the Slackbuild to suit the version of MySQL that you are building then run (as root)
Code:
./mysql.Slackbuild
This should make a new package in /tmp that you can install with upgradepkg.
 
Old 05-08-2009, 11:56 PM   #23
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
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!!!

Long live Linux!!!

I'm lovin' it!!!
 
Old 05-24-2009, 07:40 PM   #24
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
another stup** question.

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?


Thanks
 
Old 05-24-2009, 09:28 PM   #25
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
You can use this command to find the destination of the installed packages:

Code:
# most /var/log/packages/<package_name>
 
Old 05-24-2009, 10:02 PM   #26
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,264
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by Allanitto Newbee View Post
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
 
Old 05-25-2009, 09:39 AM   #27
Allanitto Newbee
Member
 
Registered: Oct 2007
Location: Montreal
Distribution: Slackware12;Slackware13
Posts: 106

Original Poster
Rep: Reputation: 15
Okay I'll try to run these when I get home. I'll let you know.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Having problems installing MySQL on red hat 9. Cannot find mysql.sock oferu Linux - Newbie 3 05-27-2008 07:13 PM
Installing mysql-5.0.51.tar.gz on Slackware properganda Slackware 11 01-18-2008 06:28 AM
Installing MySQL on Slackware properganda Linux - Newbie 5 01-16-2008 12:55 PM
Installing ruby with rails+mysql+apache on Slackware 10.2 from source paultoytoy Slackware 1 09-08-2006 12:01 PM
Error in installing MySQL on Slackware linux kernelvn Slackware 1 08-14-2004 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration