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


ADVERTISEMENT

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 View Related

CentOS 5 :: Segmentation Fault Error When Trying 'yum Update' Or 'yum Check-update' After Running 'yum Clean'

Jul 26, 2011

On two Centos5 servers, yum gives a segmentation fault error when trying 'yum update' or 'yum check-update' after running 'yum clean' :

[Code]....

The error is the same for the other computer except while attempting to update the rpmforge repository. Nothing has really changed on the servers in some time and 'yum update' worked fine on each yesterday and I have no idea why they would both suddenly fail!

View 3 Replies View Related

CentOS 5 :: Drbd83 Appears On Yum Update But Not Check-update?

Sep 24, 2009

For some reason, when I do a yum check-update I get a list of no changed packages to install. If I follow this immediately with a yum update then it tries to install drbd83. I've tried a yum clean all and repeated the commands and get the same thing. This happens on both the machines that are set up to use DRBD. Just seems weird and I don't understand. Anyone got an explanation?

[root@here]# yum check-update
Loaded plugins: changelog, downloadonly, fastestmirror, priorities, protectbase,
: security
Loading mirror speeds from cached hostfile
* epel: www.mirrorservice.org
* base: mirror.sov.uk.goscomb.net

[Code]...

View 12 Replies View Related

CentOS 5 :: Yum Update FAIL \ Error When Want To Update System Via YUM?

Jul 13, 2010

I have a error when i want to update my system via YUMI execute the next command.sh@ yum -y updateYou could try using --skip-broken to work around the problemYou could try running:package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles --nodigestThe program package-cleanup is found in the yum-utils package.

View 5 Replies View Related

CentOS 5 :: Make A Folder Downloadable From Centos Server?

Aug 5, 2011

Im running cent os 5.5 64 bit. I simply want to type in a url (In my browser) on my windows desktop, that downloads a zipped folder from my cent os server.

View 2 Replies View Related

CentOS 5 Server :: How To Make Awstats On Centos 5.5

Nov 19, 2010

Because I had some difficulties to make awstats running (I'm not an expert!), I would share my experience with a MINI STEP BY STEP GUIDE. I would like also to discuss some details with experts thus at the end of the guide ,I'll make some questions to them:

I have installed a new server Centos 5.5 32 bit and configured 3 virtual hosts; at the end of /etc/httpd/conf/http.conf I have:

-------http.conf virtual host--------
ServerName 127.0.0.1
NameVirtualHost *:80
<VirtualHost *:80>

[code]....

View 2 Replies View Related

CentOS 5 :: 5.3>5.4 Update Gave New CentOS-Base.repo.rpmnew?

Oct 22, 2009

Just checking to be sure. 5.3>5.4 update went without a hitch:) But a message ran about (/etc/yum.repo.d) CentOS-Base.repo.rpmnew. Comparing CentOS-Base.repo with the new one show the 1st has the correct priorities and .rpmnew does not have the correct priorities. Should I remove the *.rpmnew repo after making sure it otherwise is the same as the original CentOS-Base.repo?

View 1 Replies View Related

CentOS 5 :: CentOS Auto Update Kernel And Reboot System?

Mar 17, 2010

I am an old days RH release user(from 6.x) and just switching back from Debian/Ubuntu to CentOS on some servers, but I can not understand the kernel update strategy currently enabled in CentOS.There are two boxes, with almost identical installation, but recently there was an auto update of kernel on one box. This auto update also seems to issue an auto reboot on the machine, which is unacceptable on server machines.

View 2 Replies View Related

CentOS 5 :: Kudos To The CentOS Team On 5.4 Update Ease?

Oct 24, 2009

After some testing for a couple of days, I decided to take the plunge and update all my 5.3 machines. Using the recipe from the release notes:

yum clean all
yum update glibc*
yum update yum* rpm* python*
yum clean all
yum update
shutdown -r now

I updated some guinea pigs that I had physical access to and didn't have any issues. So I remotely updated a small farm of LAMP machines that handle a couple of million page views per day. It took each machine approximately 5-6 minutes to download/install/reboot.

View 1 Replies View Related

OpenSUSE :: Kupdate Applet - Make The Update Applet Ignore "recommended" Update?

Mar 24, 2010

My kupdate-applet tells me it has a recommended update: KDE 4.3.5 from the official opensuse update repo. Problem is I already have a more recent version of KDE 4.3.5 installed from the official opensuse KDE repo. In yast I pressed the "switch system packages" button for the KDE repo. How can I make the update applet ignore this "recommended" update? Note that the updateApplet itself is installed from the opensuse update repo. If I don't do this, then the older update applet from the KDE repo always has a recommended update for... Kupdate-applet.

View 2 Replies View Related

Red Hat :: Yum Update On CentOS 5.3 Upgraded My System To CentOS 5.4

Oct 29, 2009

I just ran a "yum update" on my CentOS 5.3 system. After a reboot, I noticed /etc/redhat-release show CentOS 5.4.

I thought yum upgrade was supposed to do that?

I wanted to simply patch my CentOS 5.3 system without turning it into CentOS 5.4 ... YET.

View 1 Replies View Related

CentOS 5 :: Uninstall An Update In Centos Via CommandLine?

Feb 6, 2009

I've installed Centos 5.0 in my system, and I want to know how to un-install an update or package in Centos via Command Line ?

View 1 Replies View Related

CentOS 5 Server :: Update Kernel 2.6.29.4 On Centos 5.3?

May 21, 2009

I have centos 5.3 workin on mini itx atom 330. i have some problem with the network when i use Samba. when i move big files the network goes down. i wanna to install the new kernel on my centos to try to fix the network problem with the new drivers includes on the new kernel.

View 2 Replies View Related

CentOS 5 :: Update CentOS Without An Internet Connection?

Jan 30, 2010

I have a CentOS server in one of my labs at work that does not have an Internet connection.Is there anyway that I can download the updates on a USB stick and then update the server? If so, what are the procedures?

View 1 Replies View Related

CentOS 5 :: Update From Fedora To Centos Without Losing Everything?

Feb 8, 2010

Is it possible to do an update from fedora to centos without losing everything? in paticular I would like to keep the users and openvpn-as configuration.

View 5 Replies View Related

CentOS 5 :: CentOS 5 Won't Boot After Kernel Update

Sep 10, 2011

I applied the Kernel update that showed in the updater via the GUI.It now won't boot anymore.Memory for crash kernel (0x0 to 0x0) notwithin permissible range.WARNING calibrate_APIC_clock: the APIC timer calibration may be wrong.

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

Ubuntu :: How To Make Update Run Automatically

Sep 23, 2010

how can i make update run automaticaly like win os.my os ubuntu 10.4 lcd.

View 2 Replies View Related

CentOS 5 Server :: How To Make CentOS 5.6 Run Jsp

Sep 11, 2011

I have CentOS 5.6 on a VPS and naturally have root access.But I tried everything to make JSP run on it, I installed (I think it did) Tomcat, and nothing happens and I am at a lost.

View 2 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

Ubuntu Installation :: Can Not Update And Upgarde / Make It Possible?

Nov 27, 2010

When i want update and upgrade terminal shows this output :

Code:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
so what happened ?

View 6 Replies View Related

Debian Hardware :: RTL8723BE Slow After Update - Also Cannot Run Make

Mar 26, 2016

My system is rather flaky as of late. I was trying, yet again, to get the internal bluetooth (rtl8723be) to work, so I could free up one of only two usb ports on the lenovo ideapad 100. In my blinding brilliance I typed make uninstall, after make did not work (why I did this, I still don't know), and I noticed that it said btusb.ko was removed, as expected at reboot, no bluetooth adaptors were found, I tried reinstalling bluetooth via apt-get, no success, so finally I just ran apt-get update, and apt-get upgrade, once finished, my system did not want to reboot with a sudo init 6, so I hard powered it off and restarted, after it's obligatory fsck, everything okie dokie, it booted up and voila, bluetooth working again, or should I say, the usb adaptor bluetooth, not the rtl8723be.

So I figured, ah, the heck with it, just enjoy my speaker for watching a movie via kodi, and that's when I see that it's buffering continuously so I check a couple different speed tests, and my wifi is only pulling 2.0ish mb down, I booted into windows 10, just to check, and sure enough, same result.....so I don't know if the adapter is dying or what, so, I figure, I'll try and update the driver, this is where I run into not being able to run any make commands they all error with:

Code: Select allmake[1]: Entering directory '/lib/modules/3.16.0-4-amd64/build'
make[1]: *** No rule to make target 'modules'.  Stop.
make[1]: Leaving directory '/lib/modules/3.16.0-4-amd64/build'
Makefile:393: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2

I have installed the linux headers, and followed this post here, [URL] .... (substituting my uname -r of course)

still having the sudo init 6 not working, and the slow wifi, as well as internal bluetooth not working.

Code: Select all3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux

View 3 Replies View Related

Ubuntu :: Make Clam Automatically Update Signatures?

May 9, 2010

Is there a way to make Clam update the signatures automatically? I cannot see an option in Clam TK.

View 1 Replies View Related

Ubuntu :: Make The Update Manager Display Automatically In 10.10?

Oct 18, 2010

Just wondering is there a way to make the update manager display automatically in Ubuntu 10.10 after it check the repositories for updates. I keep having to manually put sudo apt-get upgrade all the time. Even set to daily it never pops up.

View 1 Replies View Related

Debian Multimedia :: How To Make Desktop Application Update Immediately

Jul 5, 2015

I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file.

Here is a gif of the application in action: [URL] ..... As you can tell, there is an approximately two second delay before the icon changes. I was wondering if there was a way of making the icon change immediately.

For completeness sake here is the script I am using:

Code: Select all#!/bin/bash

LAUNCHER=/home/alessandro/.config/xfce4/panel/launcher-29/14360293821.desktop
PLAY_ICON=media-playback-start-symbolic
PAUSE_ICON=media-playback-pause-symbolic

if [ ! -z $(grep "Icon=$PLAY_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PLAY_ICON/Icon=$PAUSE_ICON/g" $LAUNCHER
elif [ ! -z $(grep "Icon=$PAUSE_ICON" $LAUNCHER) ]; then
   sed -i -e "s/Icon=$PAUSE_ICON/Icon=$PLAY_ICON/g" $LAUNCHER
fi

View 1 Replies View Related

CentOS 5 Server :: Update 5.3 - "Warning - Your System Is Actually Running CentOS Linux Version 5.3."

Jul 31, 2009

I have Centos 5.3 on our server When I log-in in webmin I have a message "Warning - Your system is actually running CentOS Linux version 5.3." In the next line I have a button "Update Detected Operating System" My question is Do I need to click the link and update Detected operating system? If I do, is it going to change any configuration on our server?

View 2 Replies View Related

Fedora Security :: New Glibc Update Make Selinux Prevent Qemu-kvm To Run

Aug 11, 2009

After install glibc-2.10.1-4 (x86_64) package, i couldn't run the qemu-kvm anymore.

SELinux is preventing qemu-kvm (svirt_t) "setrlimit" svirt_t.
SELinux prevented pt_chown from using the terminal 0.

View 6 Replies View Related







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