Re: [CentOS] New to Centos and have question about updating packages
2008/12/8 William L. Maltby [EMAIL PROTECTED]: Often, in a desktop environment, just a telnet 3, telnet 5 command You probably mean telinit 3 and telinit 5. But we are talking to a veteran of FreeBSD so he probably knows such stuff already, shouldn't he? Cheers, --Amos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
On Mon, 2008-12-08 at 22:51 +1100, Amos Shapira wrote: 2008/12/8 William L. Maltby [EMAIL PROTECTED]: Often, in a desktop environment, just a telnet 3, telnet 5 command You probably mean telinit 3 and telinit 5. Yep. My fingers (or brain) slurred that one! :-( But we are talking to a veteran of FreeBSD so he probably knows such stuff already, shouldn't he? You'd be surprised. A lot just do init, which is also correct. I don't know why there was ever a distinction though. AFAICR, telinit has always been a link (hard or soft) to init. I've never looked into the code to see if argv[0] causes any change in code execution. Cheers, --Amos snip sig stuff -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
On Mon, Dec 8, 2008 at 6:10 AM, William L. Maltby [EMAIL PROTECTED] wrote: On Mon, 2008-12-08 at 22:51 +1100, Amos Shapira wrote: 2008/12/8 William L. Maltby [EMAIL PROTECTED]: Often, in a desktop environment, just a telnet 3, telnet 5 command You probably mean telinit 3 and telinit 5. Yep. My fingers (or brain) slurred that one! :-( Stop drinking with your fingers and crossing your brain so much! ;^) mhr ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] New to Centos and have question about updating packages
I have been using Freebsd for along time. I have a client of mine that wants me to use Centos for his email server and web server. Anyway with Freebsd to update the packages file you use the following commands. portsnap fetch fetches all the current port trees portsnap update adds all the new ports to the tree on the server portupgrade -arR will install all the ports that are installed on the server. Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. Thanks Darrell Betts [EMAIL PROTECTED] --- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
Darrell Betts wrote: I have been using Freebsd for along time. I have a client of mine that wants me to use Centos for his email server and web server. Anyway with Freebsd to update the packages file you use the following commands. portsnap fetch fetches all the current port trees portsnap update adds all the new ports to the tree on the server portupgrade -arR will install all the ports that are installed on the server. Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. Thanks Darrell Betts [EMAIL PROTECTED] --- Looks like I Picked the Wrong Week to Stop Sniffing Glue. -- Steve McCroskey -- Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos simply yum update, this compares your packages with the package server (repo) and downloads and updates all packages to the latest version ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
On Sun, Dec 7, 2008 at 12:17 PM, Darrell Betts [EMAIL PROTECTED] wrote: I have been using Freebsd for along time. I have a client of mine that wants me to use Centos for his email server and web server. Anyway with Freebsd to update the packages file you use the following commands. portsnap fetch fetches all the current port trees portsnap update adds all the new ports to the tree on the server portupgrade -arR will install all the ports that are installed on the server. Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. yum update will do it for you. Normally, you will not need to reboot after updating, unless you update the kernel or several other packages that require a reboot. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. Welcome Darrell. Here is the summary version: To install a specific package, such as postfix from a repository that you are configured to get packages from use: yum install postfix To update to the newest version of postfix that is in your configured repositories use: yum update postfix To update everything in repositories that are configured on your machine use: yum update If you are moving between point releases (CentOS 5.1 to CentOS 5.2) use: yum upgrade Hope this helps. Barry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
Darrell Betts a écrit : Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. I wrote an abstract on basic Yum usage. It's in French, but it's not hard to guess what the command line bits mean: http://www.microlinux.fr/article.php3?id_article=40 Knowing how to handle RPM can also come in quite useful sometimes: http://www.microlinux.fr/article.php3?id_article=39 Cheers, Niki Kovacs ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
Darrell Betts wrote: Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. Try yum --help and man yum which have a lot of info. Also the CentOS docs on http://www.centos.org/docs/ has yum docs. So if you for just install CentOS 4.7 from the ServerCD and do # yum check-update it will give you a list of packages to be updated, which you can do by # yum update and then say yes or no. Welcome to CentOS BTW. Regards, Vandaman. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
On Sun, 2008-12-07 at 12:21 -0500, Lanny Marcus wrote: snip Now my question is what are the commands for Centos to fetch ,update and install, all the packages installed on the server. I would like to use Yum. Any help would be great. yum update will do it for you. Normally, you will not need to reboot after updating, unless you update the kernel or several other packages that require a reboot. Also, if a package that is currently running has been updated, or that package is currently using a package which has been updated and you want the currently running things to start using the new stuff _now_, you'll want to restart those packages. Until those packages end, disk space and ram memory is not finally freed. Sometimes it is hard to tell if that situation exists and a re-boot is just faster and certainly simpler than identifying, stopping, starting tons of stuff. Often, in a desktop environment, just a telnet 3, telnet 5 command sequence will get most of that done. Faster than reboot, takes care of desktop related stuff without the manual investigate, kill, start steps. snip sig stuff -- Bill ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] New to Centos and have question about updating packages
William L. Maltby wrote: Also, if a package that is currently running has been updated, or that package is currently using a package which has been updated and you want the currently running things to start using the new stuff _now_, you'll want to restart those packages. Until those packages end, disk space and ram memory is not finally freed. many service RPMs seem to do the restart automatically, I've noticed this with Postgres servers, at least. of course, restarting a database server can interrupt any running processes that are using it... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos