Red HatThis forum is for the discussion of Red Hat 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.
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!!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.