Fedora :: Make 'yum Update' On CentOS Recurring And Automatic?

Dec 10, 2010

I run a few dozen dedicated web servers all running CentOS 5.5. A long time ago when one server was apparently compromised, I was urgently advised to sign in to the server and run "yum update" at least once a week to ensure that everything which I had installed using "yum", would get updated with any recently available updates, including security fixes, and that one reason I might have been hacked before was because I hadn't been doing that.

So, I'm still not sure if that would have prevented the original break-in, or how much this has reduced my chances of being hacked, but I've been faithfully signing in to each server every week for the past few months and running "yum udpate". Most times, this results in a lot of patches being downloaded and applied, so it's clear the machines are not doing it automatically. I figure it's about time to learn how to make the machines do this on their own. Is there a standard way to make "yum update" run automatically, every day, or every week? Yes, I'm sure there are many ways to do it, but is there a single way used by the majority of webmasters of CentOS sites who have automatic updates set up? Googling a bit for "make yum updates automatic" turned up some threads like:

[code]...

in which people describe writing their own custom scripts to do yum update automatically. This seems odd. It seems like the kind of thing that there would be a standard way to turn on. Also, is there a reason that virtually every newly provisioned dedicated server does not have "yum update" set up to recur automatically? If it's true that people break into websites using exploits that have been found in older versions of webservers and other software, and that sometimes these breakins would have been prevented by the newest patches, wouldn't it reduce the number of websites being compromised if the OS had yum updates turned on automatically by default?

View 9 Replies


ADVERTISEMENT

Fedora :: Automatic GUI Update Has Been Crashing - Transaction Error In Update

Oct 1, 2009

For the past few days, the automatic GUI update has been crashing, complaining of a "Transaction error."

Here is the output that pops up in a separate window:

Code:

I tried the following:

Code:

And got the following (similar) output:

Code:

I very rarely use xfce and I don't quite know what exo is, but I'd like to fix this problem if it's not too involved.

View 3 Replies View Related

CentOS 5 :: Install, Recurring Kernel Panics Crashing System?

Dec 27, 2009

Recently switched my home server from Gentoo to CentOS and have been getting kernel panics consistently since I made the server "live". The machine was built with all new hardware. I'll post relevant configuration info and picture of the kernel panic below. So far all kernel panics have been with kernel "2.6.18-164.9.1.el5.centos.plus", right now I am testing with the kernel listed below to see if it does the same thing (2.6.18-164.9.1.el5).

justin@empire justin $ uname -rmi
2.6.18-164.9.1.el5 x86_64 x86_64
justin@empire justin $ rpm -qa |grep kernel |sort
kernel-2.6.18-164.6.1.el5
kernel-2.6.18-164.6.1.el5.centos.plus
kernel-2.6.18-164.9.1.el5

[Code]...

View 19 Replies View Related

Fedora :: Automatic Update Mechanism In F14?

Nov 7, 2010

can someone please confirm or correct my understanding of automatic upgrades in F14:as far as i currently understand the automatic update mechanism in F14 it works the following way:

1.) PackageKit (packagekitd) periodically checks for updates using YUM as it's backend and displays a nice icon in the tray to inform the user when upgrades are available.

2.) PackageKit (packagekitd) only runs when a user needs it and terminates afterward. When a interactive Desktop session is running, packagekitd is always running because it's spawned by the session manager.

3.) When using a console only system (without X) or when nobody is logging in on the local graphical console for a longer time i need yum-checkupdates for configuring automatic upgrades (same as done per default in CentOS).

View 2 Replies View Related

Fedora :: F15 Automatic Update Without Notice To User?

Jun 8, 2011

So, I logged into my laptop this morning and tried to run a VirtualBox VM and it barked that I had not setup the kernel module yet. I found this odd since I was running it fine yesterday... so I was poking around my system and noticed that there was a yum update yesterday

Code:
Jun 07 14:03:21 Updated: 1:gdm-3.0.4-1.fc15.x86_64
Jun 07 14:03:22 Updated: 1:gdm-plugin-fingerprint-3.0.4-1.fc15.x86_64
Jun 07 14:03:35 Installed: kernel-debug-devel-2.6.38.7-30.fc15.x86_64
Jun 07 14:03:37 Updated: kernel-headers-2.6.38.7-30.fc15.x86_64

[Code]......

View 9 Replies View Related

Fedora Installation :: Black Screen After Automatic Update?

Jun 25, 2009

I should have know, it's named after a windows "feature".On my laptop (Acer Aspire 5310) Fedora 10 offered me an automatic update to Fedora 11. Because I trust any automatic update Fedora brings to me (it's tested right) I automatically pressed yes. It started some downloads and everything seems to run pretty smooth. Then I had to reboot the computer, press that button as well.... and it reboots into Fedora 10 (untill the end of the bar). After that I have no clue what happens, because before X is started I get a black screen with nothing on it, even ESC doesn't do anything :O I don't even get the "_" to indicate the laptop is doing anything.

View 3 Replies View Related

CentOS 5 :: Make An Update-script For Yum?

May 18, 2011

How do i make a good update-script for Yum? Because when i want to update my web-server on a daily basis. There have to be an exception in the script for MySQL and PHP. Instead of a automatic update for PHP and MySQL, do i want receive a notice by e-mail for the ROOT to update manual.

[Code]...

View 2 Replies View Related

Fedora :: "Automatic" Update Caused Desktop Effects To Stop And Slow Downs / Sort It?

Aug 8, 2011

Seems like the latest Kernel (2.6.40-4.fc15.i686) update screwed with my setup a little bit.

This is what happened:

I had about 100 updates to my F15 pending in my taskbar's update notifier.
I let the system update itself.
Reboot and desktop effects don't work.
Takes a long time to open up Dolphin.
electricsheep (OpenGL screen saver) doesn't work.


I'm assuming it's a problem with OpenGL or my nvidia video drivers which I tried reinstalling from mjmwired's guide.

That didn't fix anything.

I'm looking for a point in the right direction or a way to revert back to my previous state before the system updated everything.

View 1 Replies View Related

Ubuntu :: Make An Automatic Wordpress Installer?

Mar 17, 2011

New to bash and I'm trying to make an automatic Wordpress installer . Gives the following error:

./wpinstall.bash: line 119: syntax error near unexpected token `fi'
./wpinstall.bash: line 119: fi'

Here's the script:

Code:
#!/bin/bash
echo -n 'Enter website (with .com etc...)> '
read SITE
echo -n 'Enter website (without .com)> '
read DIR

[Code]...

View 7 Replies View Related

Ubuntu :: Make Wget Download Automatic In Startup?

May 21, 2010

i try to make wget download automatic in startup in ubuntu

View 8 Replies View Related

OpenSUSE Install :: Set Automatic Update For 11.3 In KDE?

Jul 31, 2010

YaST2 now does not have an "Online Update Configuration" anymore.Where are we supposed to setup automatic update installation? In Gnome there is an item for this in the Gnome Update Applet, but there is nothing equivalent in the KDE Updater Applet.

View 9 Replies View Related

Ubuntu :: Automatic Wallpaper Update?

Dec 17, 2010

I have Ubuntu Lucid and am wondering how to have the wallpapers in the Background tab of the Appearances dialog box update automatically when I add a wallpaper to /usr/share/backgrounds. Or should I be putting them somewhere else for this to happen? I have several accounts on my computer and can't go into each account and manually update whenever I add a wallpaper

View 3 Replies View Related

Ubuntu Installation :: Can't Log In After Automatic Update?

Apr 13, 2011

I've been using Lubuntu for the last 4-5 months as a virtual web server, for developing Joomla sites. I have been extremely happy with it so far. (Runs with ~300MB memory just fine)A few days ago I installed some updates and the next time I rebooted the login screen was different and I couldn't log in to the graphical environment any more.I hit Ctrl+Alt+F2 I can log in to the console bu

View 3 Replies View Related

Ubuntu :: Bash - Make A Automatic Wordpress Installer Script

Mar 17, 2011

I'm trying to make a automatic Wordpress installer script. It's autmattically defaulting to the else.

[Code]...

View 2 Replies View Related

Fedora :: Make Yum Update Faster?

Feb 6, 2009

Just installed fedora10 the first time, and the system wants to update, but the yum download process is too slow, it seems dead over 2 hours can't download one package! Is there anyway to make it faster?

View 8 Replies View Related

Fedora :: Make The Update For Firefox 3.6.4 To 3.6.6?

Jul 19, 2010

Why fedora don't make the update for firefox 3.6.4 to 3.6.6 ??

View 14 Replies View Related

Fedora :: 15 Doesn't Make Any Update

May 26, 2011

i installed the new fedora 15 x86_64 version at my dell studio 17 laptop any i wanted to make some updates and suddenly one error show up

Code:
GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-15-x86_64

i know i�m missing a key... but how can i get it? i did:

Code:
cd /etc/pki/rpm-gpg
ln -s RPM-GPG-KEY-rpmfusion-free-fedora RPM-GPG-KEY-rpmfusion-free-fedora-15-primary but i still doesn�t work

View 9 Replies View Related

Debian Configuration :: No Automatic Update Of The Kernel?

Nov 1, 2010

I've just installed debian sid and see that I've the kernel 2.6.32. I was a bit surprise as on ubuntu I had the 2.6.35 and debian sid is supposed to be more up to date that ubuntu (maybe I'm wrong).So I checked what were the packages available :

mart@mart-laptop:~$ uname -a
Linux mart-laptop 2.6.32-5-686-bigmem #1 SMP Sat Oct 30 23:25:58 UTC 2010 i686 GNU/Linux
mart@mart-laptop:~$ sudo aptitude search ^linux-image

[code]...

View 2 Replies View Related

OpenSUSE :: Automatic Update Doesn't Work After 11.2

Jan 4, 2010

I installed from scratch 11.2, but i see now that the Automatic update doesn't work. I run "Refresh" on Updater Applet and it come up with an error: PackageKit Error repo-not-available:

View 9 Replies View Related

OpenSUSE Install :: Automatic Update Not Working In 11.2?

Dec 23, 2009

I enabled Automatic Online Updates in opensuse 11.2, and set the frequency to "Daily", but after 24 hours I haven't seen an update. It may be because I had YaST still running and maybe the installed software database was locked.At any rate,ow can I verify that Automatic Online Updates are scheduled?

View 4 Replies View Related

Ubuntu :: Unable To Boot After Automatic Update?

Jun 5, 2010

Ubuntu 10.04 performed an automatic update today which required a reboot afterwards. The reboot took me into a shell "GNU GRUB version 1.98-1ubuntu6", rather than the usual grub boot menu.

View 2 Replies View Related

Networking :: Automatic Update Of Squid 'whitelist'

Jul 8, 2010

i have recently configured squid with dansguardian. Squid was running on a whitelist mode, meaning i deny every single traffic, and allow traffic that matches with what i allow only.

this however, introduced a problem where i have to manually update the list of sites allowed for kids, which is not efficient. is there any websites where i can use' wget' to download recommended websites for kids, and plug it into the list of allowed websites.

or I'm thinking that maybe if there's some way to write a script where it will automatically add the search results to the list, from reliable search engines like www.kidrex.org.

View 1 Replies View Related

Fedora :: Make A Update But Show Some Error

May 7, 2010

I never used Fedora and triyng to make a update but show some error. I have a Dell Inspiron 6400 in Fedora 12.

View 2 Replies View Related

OpenSUSE Install :: Automatic Update Hangs Computer?

Dec 21, 2009

I have managed to install SUSE 11.1 linux on an old ACER laptop. Everything works great unless I use the automatic install update tool. As soon as I do this the computer refuses to boot, it just gets stuck even on safe boot. What is going on ?

View 3 Replies View Related

OpenSUSE Install :: After Automatic Kernel Update To 2.6.34.7-0.5.1-desktop?

Oct 28, 2010

my friend updated kernel today and it "stopped working" and I was asked to fix it he is new to linux, and I don't have physical access to that notebook from what I know main problems are:

1. no network devices exist (except for loopback)
2. sound card driver is missing (nVidia MCP79)
3. in grub menu after choosing new kernel uname -r sais the old one's version

wifi card is atheros, but I don't know specific model.

View 5 Replies View Related

OpenSUSE Install :: Automatic Online Update In YaST?

May 21, 2011

in the last few days, Kpackagekit, which I use to update my system (openSUSE 11.4) had some difficulties to

1. install updates for flashplugin, because whenever you accept the license, Kpackagekit closes, and starts from beginning = a never ending cycle is started

2. fetch updates from Packman. It always throws a message with connection timeout - in Zypper and YaST no such problem occurs

Thats why I have fiddled around in YaST online update and found a feature "automatic online update". For that you need an extra package yast-online-update-configuration. I installed it and configured it to do automatic Updates.

So now I have a question on how it works. Because I have some additional repos activated: KDE updated Apps, KDE extra and the KDE release 4.6 repo, which brings the most recent KDE updates for KDE 4.6.

These repos have priority 90 whereas all the other repos - Packman, OSS, Non-OSS, Contrib etc. have prio 99.

Will YaST install all the updates from KDE with this setup? I am asking, because when I did online updates in Yast before, with prio 99 for the KDE repos, it did not update them, unless I choosed, "Packages --> update all, if newer version is available". I would like to set Kpackagekit into silent and just stick with YaST for that, but have an automatic system update.

View 4 Replies View Related

Ubuntu Installation :: Automatic Update Doesn't Work

Mar 20, 2010

I have a kind o Kubuntu-Studio 9.10

I installed from Ubuntu Karmic minimal, so i did install KDE.

i have update-manager-kde, update-notifier-kde and kpackage kit installed. for manual installing i use synaptic though.

in the repositry-manager the automatic updates are anabled (daily).

but it is not checking for updates. i checked manually in synaptic, and there are updates available.

so, how do i let it check automaticly for updates?

View 3 Replies View Related

Networking :: Automatic Internet Configuration Lost After Update?

Sep 10, 2010

After running a large update and rebooting a few weeks ago, I found that my internet connection had stopped working. My internal network still worked fine though, so it I know it's not the card itself or its configuration. After a bit of trial and error I discovered that simply running dhclient brings the connection up again, so it appears that something is interfering with the initial dhcp update to my ISP (or something like that; I'm no expert in this area. ) My usual policy in cases like this is to wait through two or three updates in the hopes that it's just a temporary problem, but it's been a while now and subsequent updates haven't fixed it.

I've tried looking around, but I can't come up with search criteria specific enough to narrow it down to my specific situation. I'm not even sure where to begin looking to diagnose the problem, nor do I know which package update(s) could've affected it. I'm not sure what might be useful, but here's the relevant entry in /etc/network/interfaces. I have it configured with a static internal address, with my router as the gateway.

Code:

# The primary network interface
mapping eth0
script grep
map eth0

[code].....

View 7 Replies View Related

Ubuntu :: Make A Disk Image Of 9.10 System - Automatic Wrapper For Windows Drivers

Feb 12, 2010

1. Make a disk image of my 9.10 system (formatted ext3, btw) on my Syology CS407 NAS so I can do a bare metal restore. Why is this a couple of clicks on my Mac and Windows boxes, but so far not easy on Jaunty? Did I miss something?

2. Drivers. Why can't I just have an automatic wrapper for Windows drivers so I can use any printer or scanner, or a simple point and click driver install for native drivers? I have my ethernet connected Brother MFC-7820N, and the Samsung CLP-315 that runs off my CS407 installed and working on my Jaunty, but it was way more work than expected. What is the easy, automatic or point and click way to install drivers?

3. Graphics drivers. I have decent cards in my big boxes, Nvidia GTX 200 series. But when I get kernel updates, I have to uninstall and reinstall the graphics driver. Is there an easy way to keep this working?

4. Is there one flavor of linux distro that has a really consistent standard for user interface? I like to be able move things around, but do like my menus to be consistent (and do I ever hate the MS ribbon!). I've really only tried Ubuntu.

Linux installs have come a long, long way from the old days, and are such a point and click operation that I just wonder what I'm doing wrong. Someone is bound to have sorted these things.

View 9 Replies View Related

Ubuntu :: Administration Functions And Automatic Update Fail To Work?

Mar 27, 2010

I am using Ubuntu 8.04. Most of my Administration functions have stopped working. If I click on Hardware Drivers, Hardware Testing, Log In Window, Software Sources, Synaptic Package Manager, and Windows Wireless Drivers my pointer turns into the timer wheel, so I know it is working, but then it just disappears and nothing happens. When I click on Update Manager my computer freezes. If I try to update through the red Updates Available arrow at the top of my screen my computer freezes. I can update through terminal but the red arrow never goes away. I also have 17 updates that won't update. I have tried them one at a time through terminal but they just freeze the computer. The only way to unfreeze it is to shut the computer down.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved