Hi, I need to ask a question about the usuage of these particular packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
-- Dexter Systems Administrator Clemson University
On Tue, 2005-04-19 at 12:43 -0400, Dexter Stowers wrote:
I need to ask a question about the usuage of these particular
packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
Did you install the php-mysql package and restart Apache? Oh, and don't futz with the Apache config files re PHP; they're all set up for you assuming you use the stock packages.
Dexter Stowers wrote:
Hi, I need to ask a question about the usuage of these particular packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
-- Dexter Systems Administrator Clemson University _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What kind of problems? Rest assured the packaes that come with CentOS/RHEL are very well tested.
-jim
Hello,
We use Centos 3.4 on our servers and some of our clients ask for specific versions of php & mysql. But the centos packages are quite old (Mysql 3.X & php 4.3.2), for mysql it's not a real problem because rpm provided by mysql website work fine, but for php it's another story. For instant we are using FC3 src.rpm and rebuild them but it takes quite a long time because php have lots of dependencies.
I know the aim of centos is to provide stable & well tested packages which implies but are there some (reliable) repositories out there which have updated packages ?
one solution could be upgrading to centos 4 but for instant I don't trust kernel 2.6 in production environment.
regards,
David
On Mar 19 avril 2005 18:47, Jim Bartus a écrit :
Dexter Stowers wrote:
Hi, I need to ask a question about the usuage of these particular packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
-- Dexter Systems Administrator Clemson University _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What kind of problems? Rest assured the packaes that come with CentOS/RHEL are very well tested.
-jim _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Dexter Stowers wrote:
I need to ask a question about the usuage of these particular
packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
I do both. The easiest way, hands down, is the packages. Just 'yum install blah', start up the services and you should be good to go.
If you're new to CentOS and linux in general, the single most important tip I can give you is: look at your logs, they tell you everything!
Also, if you want the most out of these lists, then you should describe your problem with specific details and refrain from using general statements like, "I am having problems...". The only way we can help is if you tell us what's wrong.
later, ajay
Thanks for the information. I will include more detailed information from now on. Thanks again!
-- Dexter Systems Administrator Clemson University
On 4/19/05, Ajay Sharma ssharma@revsharecorp.com wrote:
Dexter Stowers wrote:
I need to ask a question about the usuage of these particular
packages...do you install the binaries for each or do you use what comes with the OS out of the box??? The reason why I am asking is because I am having problems using the one that comes with the OS. Everything else runs great but I am using CentOS for the first time and I want to make sure that I am not spinning my wheels doing something that I should leave alone. Thanks!
I do both. The easiest way, hands down, is the packages. Just 'yum install blah', start up the services and you should be good to go.
If you're new to CentOS and linux in general, the single most important tip I can give you is: look at your logs, they tell you everything!
Also, if you want the most out of these lists, then you should describe your problem with specific details and refrain from using general statements like, "I am having problems...". The only way we can help is if you tell us what's wrong.
later, ajay _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi,
I have set up this combination on various platforms, including Windows, FreeBSD, RHEL and CentOS and I must say that by far the easiest was CentOS.
Down below follows the general procedure (based on CentOS 4), and if that doesn't help, feel free to ask some more specifics.
Firstly, much will depend upon which type of CentOS installation you performed: full, desktop or server. If you installed the system with all packages, there's very little to add lateron. If, OTOH, you chose one of the other options, you are likely to have to install some more packages.
Assuming you have performed a very basic installation, you'd typically need to perform the following calls (you can use yum or up2date for this):
up2date php mysql httpd up2date mysql-server php-mysql
[Note: you can check the presence of these packages by performing: rpm -qa | grep <package name>, e.g. check the output when performing rpm -qa | grep mysql]
Once these packages are installed, you're almost done. You'll need to make sure the MySQL daemon gets started at boottime (or at least: that's what I always do as I don't want to have to start it manually), which can be achieved by the following: /sbin/chkconfig mysqld on
Make sure to do the same for Apache: /sbin/chkconfig httpd on
Now, Apache will not start using it's default httpd.conf file, so you'll have to edit that: vi /etc/httpd/conf/httpd.conf
Now, search for the ServerName directive and set that to your machine's IP address, or fully qualified hostname (e.g. ServerName 192.168.1.1:80). Scroll down a bit and set the UseCanonicalName directive to On (default = Off). Save your changes.
That's pretty much it. You can start Apache manually to make sure the config file is correct, by typing (as root): apachectl start
If all goes well, you should now see a set of httpd daemons when running top (or ps -ef | grep http).
Now, test your installation, by pointing a browser to the IP address (or fully qualified hostname, ot just the localhost) to test if Apache indeed is running.
Finally, I at this point in time I always reboot the machine one to make sure everything comes up properly at boot time.
Once this is done, you should be all set, and then you can start using PHP and MySQL as well. Please let me know if you need some help getting that running/tested as well...
Cheers! Olafo