LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-05-2005, 02:46 AM   #1
glence
LQ Newbie
 
Registered: Jan 2005
Distribution: redhat 9
Posts: 1

Rep: Reputation: 0
Professionals Help Badly Needed!! About LAMP


Hello to everyone!! Thanks for those interested with the topic. Also if you have any idea, it will be very appreciated if you youd reply.

Here is the scene, I have multiple questions anyway.

Ive installed Redhat 9, a server installation that almost eats 5 gigs of hard disk space. Im to work on an online library system, and decided to use LAMP to cover the job. After painfull installation of apache, php and mysql that is configured to each other, ive found out that on the services run by redhat already includes built in mysql, php and apache. apache is httpd and mysql is mysql right?

Now the question is, the APACHE PHP and MYSQL that i have installed are more recent versions, which i will need. How can i use these instead of the built in services. I can manually configure httpd and Mysql on the services not to run. But the scene will be i will have to manually open a new terminal and manually start apache and mysql. What i want is shut down the two built ins,which i have already done, and automatically start apache and mysql everytime i start redhat. Its like running what i have installed as services, not the built ins.

Second, with the built in mysql, php and apache do replication?
The scene is i have two computers that will have the same database and systems, update on the other side will reflect to the other, and vice versa. Its like a chained relationship. Any good site where i can read such except from mysql website? Im having a hard time understanding theirs.

Third, is this. I have three computers. I want 'A' have one master, the other, B as master and C as slave connected to B. A and B will be the ones to be replicated. C will only mirror the contents on B, but if I, for example insert on C, the value will be saved to B,since C has no database and is only connecting, and the Update on B will be Mirrored on A. Its like the problem above, the thing is, C has no database, and connect it to B.

I have already invested much time for these, but i think my own understanding is not enough. Please help if anyone can!! Actually, I need this as soon as possible, My defense is on Jan 28, my graduation is at stake!!

Thank you ALL
 
Old 08-31-2007, 10:14 PM   #2
rlee923
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora Core 6
Posts: 88

Rep: Reputation: 17
Now the question is, the APACHE PHP and MYSQL that i have installed are more recent versions, which i will need. How can i use these instead of the built in services. I can manually configure httpd and Mysql on the services not to run. But the scene will be i will have to manually open a new terminal and manually start apache and mysql. What i want is shut down the two built ins,which i have already done, and automatically start apache and mysql everytime i start redhat. Its like running what i have installed as services, not the built ins.

-- i am quite sure that they are installed as packages so you can uninstall them by using rpm command
-- if you even try to find how to do lamp setup from source file - you will find the command to add these applications run on the start up

Second, with the built in mysql, php and apache do replication?
--php goes last, either apache or mysql can go first

The scene is i have two computers that will have the same database and systems, update on the other side will reflect to the other, and vice versa. Its like a chained relationship. Any good site where i can read such except from mysql website? Im having a hard time understanding theirs.

-- this works on any website which works with any database, even just this forum is one of these.


Third, is this. I have three computers. I want 'A' have one master, the other, B as master and C as slave connected to B. A and B will be the ones to be replicated. C will only mirror the contents on B, but if I, for example insert on C, the value will be saved to B,since C has no database and is only connecting, and the Update on B will be Mirrored on A. Its like the problem above, the thing is, C has no database, and connect it to B.

-- you are not clear on this third point at all, please explain in detail
-- but if you are just talking about backup-wise - just run backup softwares to transfer data from on to other.

Thank you ALL[/QUOTE]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help Needed Badly With Compiling Php! The_Nerd Programming 3 11-26-2004 11:28 AM
Hardware help needed.. badly jihadcman Fedora 2 06-21-2004 06:28 AM
tar.gz help badly needed headshot Linux - Newbie 9 07-25-2003 02:53 PM
Badly needed help on Slackware and Firestarter. cutsomeslak Slackware 0 02-17-2003 07:27 AM
bpbatch help badly needed? m1anh Linux - General 2 02-07-2003 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:52 PM.

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