General :: Possible To Perform An Up-to-date Installation Of CentOS 5?
Feb 15, 2010
Can one perform an installation of CentOS 5 (5.4) so that the system is up-to-date at the time of the first boot (i.e. Anaconda will pull and install the 'latest' versions of the packages directly, and the user needn't run `yum update` | `yum upgrade` after the system has been installed)?
If this is doable at all, is it possible to accomplish without making use of a personally custom-crafted-and-hosted repository (i.e. can one of the official CentOS mirrors be used)?
Also, I'm not talking about creating an install DVD containing the latest versions of the packages, but rather, if the netinstall media can be used to perform this particular type of installation.
I must be able to perform customized (non distribution-default) (re)installations of Linux fairly often. As such, I have been looking for a distribution which would allow me to automate the process. CentOS's usage of the Anaconda installer permitting the use of kickstart files, coupled with its stability, maturity, etc. seems to be what I have been looking for. I would like to be able to use the netinstall media in order to perform up-to-date kickstart installations (i.e. grab the 'latest' updates targeting CentOS 5, rather than installing the 5.4 versions and upgrading the system after the first boot).
The wiki seems to provide instructions on creating up-to-date media. However; this is less than ideal, because it would mean burning new media every time I need to (re)install. I realize that finding out if this is possible or not is a simple matter of grabbing the netinstall ISO, burning it and seeing if it supports a direct up-to-date install (or not). However, this is where I run into another problem. The machine in question uses a broadcom wireless card and, as such, would have to make use of it during the installation. I can get the card to work properly on an installed system via the bcm43xx kernel module + 3rd party firmware (extracted to /lib/firmware/ via bcm43xx-fwcutter).
I do not know if it is possible to modify the netinstall ISO so as to load this module (and the modules it depends on) automatically -and- somehow add the necessary files to /lib/firmware/. To summarize (in hopes of clarifying if the long version is confusing) : 1. Can the netinstall media be used to directly install an up-dated system? 2. Can the netinstall media be reworked in order to automatically load the bcm43xx module and can the firmware files be added to the /lib/firmware/ directory of the.. system booted from the media?
I am using CRON to create a new, blank file, every minute, in a specific location on my web server. After web searching, and reading man pages, I get the impression that the following command is supposed to work:touch /home/mydomain/var/folder/attachments/`date +%H%M`.txtThis should give me a new file with a file name that is the current hour and minute.However, when executed, the CRON mailer reports:touch /home/mydomain/var/folder/attachments/`date +/bin/sh: -c: line 0: unexpected EOF while looking for matching /bin/sh: -c: line 1: syntax error: unexpected end of fileSo, it looks like shell is seeing the plus (+) sign as an EOFObviously, nothing get created.What would be the easiest, single line command to create an empty file, at a given location, with a time based file name
I want to install the media-player vlc 1.0.6 on my system.My Linux version is Linpus. The package's name ended with tar.bz2 so I tried to install it from source. I don't know how to update the glibc run.time and I don't understand the alternative suggestion. What should I do?
Last night I downloaded the iso for the full DVD install with the intention of installing it from the hard drive. Since my old Fedora Core 2 system is down right now I have the iso on my MacBook.How do I perform the 256 check sum on the MacBook? I tried the shasum -a 256 but I'm not sure it's doing the right thing.
i use synaptic manager to get the updates. I tried to get the required plugins like gstreamer 0.10 plugins bad. I downloads the all the required files but at last it show the following
E: Internal Error, Could not perform immediate configuration (2) on mountall
I just installed Ubuntu 10.10 32-bit on my laptop and successfully completed the installation. However, I attempted to install the recommended updates but have been unsuccessful. The updates downloaded just fine, but when I attempt to install the downloaded updates, I get a package operation failed with the following text: installArchives() failed: Extracting templates from packages: 10% Extracting templates from packages: 21% Extracting templates from packages: 32% Extracting templates from packages: 43% Extracting templates from packages: 54% Extracting templates from packages: 65% Extracting templates from packages: 76% Extracting templates from packages: 87% Extracting templates from packages: 98% Extracting templates from packages: 100% Preconfiguring packages.
I have been having trouble installing packages. Every package I try to install gives me the same error - Quote: E: Could not perform immediate configuration on 'libattr1'.Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
I have tried Synaptic, the Update Manager, apt-get, and aptitude. I noticed that someone has filed a bug report on launchpad (link), for seemingly the same reason, and so far there hasn't been any changes made.
i recently got a server and it was going fantastically well, but just recently when i tried installing something using apt-get install .... ( i tried irssi, firefox/iceweseal, tightvncserver) it downloads asks for a questions i press y for yess then i get this error E: Internal Error, Could not perform immediate configuration (2) on mountall and then it doesnt install, this is really frustrating.
Many software available for patch managment like OCSinventry, cfengine,puppet,redhat satellite server for linux. I want to perform patch management for my Linux server (centOS, debian) My question is how to find out which patches available for Linux and which patches i need to apply. Is there any way to find out require patches?
I've been trying to use a find command with -exec to find the differences between identically-named files in different paths. My initial attempt was to do something like this: Code: find trunk/ -type f -not -path '*.svn*' -exec diff '{}' `echo '{}' | sed 's/^trunk///'` ;
Unfortunately this does not work at all as expected (the diff ends up executing on the same file)! I have narrowed it down to the subshell (inside the ``) but beyond that I have no idea. For some reason the sed, though written correctly, does not perform the substitution. I've changed the diff to echo and played with the sed command and the only way I can get it to perform _any_ substitution is to use .* as the regex. Even s/.*trunk.*/SUB/ doesn't work. Any insight into the inner workings of -exec/subshells/pipes or some crap I'm missing? Don't worry about rewriting the command to make it work; I simply swapped the paths and got rid of the subshell nonsense and everything works fine.
is there an easy way for me to get the hardware specs of a linux machine, such as number and type of processors, RAM, BIOS version, # of power supplies, etc from a command line?
I'm dealing with Dell servers, but even if i can just get number and type of processors and RAM config, that'd be great. I know how to easily do it in Windows, no clue on Linux.
Currently I backing up the MBR, the C and the other partitions to an external USB HDD and from there I restore them if needed. I use the SystemRescueCd and commands like dd if=/dev/sd* of=/mnt/PC_name/backupmbr.1 count=1 bs=512 and ntfsclone --save-image --output /mnt/PC_name/PC_name_c.img /dev/sd*1 etc. I want to clone the HDD the way, however, that I omit the external USB drive. I want to connect the new HDD to the PC and do the cloning directly from one disc to the other.
My questions are:
- Can you provide me with the exact command? - Is that a difference if the disc is SATA or IDE? - Can I copy the disc even if the old disc don't wan to boot?
I need to perform patching on some RHEL boxes. This the first time i am gonna do this. Kindly advise, how and what are the steps i should take to perform the OS patching.
I want to modify the system date, so am using the following command:
[root@rad-dev-01 /]# date Wed Feb 23 10:20:07 UTC 2011 [root@rad-dev-01 /]# sudo date 022407002011 Thu Feb 24 07:00:00 UTC 2011 [root@rad-dev-01 /]# date Wed Feb 23 10:23:23 UTC 2011
Once i set the date it again get reset..
Note: Am using ssh -i with permission file to connect the system(CentOS release 5.2 ).
I upgraded my main workstation from 10.4 to 10.10 yesterday and was a little concerned that a kept seeing the upgrade software perform the same step of generating grub.cfg over and over. I went back to the logs and I counted nine (9!) repetitions of this same task
I'm trying to figure out how to perform a minimal install to a USB attached hard drive. A full install works just fine, when I start the install from the LiveCD desktop, all the USB drives are visible and can be installed to. In the minimal install, the requisite kernel modules for USB storage don't seem to be loaded, therefore, my USB hard drive is not visible and cannot be mounted, partitioned, or installed to.
The reason behind this is I'm trying to build an XBMC install on a USB hard drive and want only the minimum backend OS that's necessary as some of the Ubuntu desktop software causes issues with some of the XBMC software. I've posted on the XBMC boards about this, but my questions have gone completely unanswered,
I am using debian 5.04 + LXDE. In the past, I sometime encounter problems such as the distro broken after performed a full apt dist-upgrade or upgrade. Now, I am more conservative, I am using apt safe-upgrade.
I want to know are there anyway to do a better safe upgrade for debian without breaking the distro?
I want to perform an e2fsck with the y switch (so I dont have to answer yes to every question) on two volumes on a server the next time I restart it. I don't want to do a shutdown -rF because 1) I dont want to check the other volumes and 2) it seems when I do that, the e2fsck doesn't keep restarting itself over and over to fix all the problems. Seems like it runs once, then if it fails it drops you to the repair console in single user mode. I'd rather just have it start the check that will keep repeating over and over right away, because I know it'll take more than one pass.
The odd-numbered lines containing >SEQUENCE# are the headers and the even-numbered lines containing a variety of characters represent DNA sequence read quality scores.
I want to replace all of the greater-than (">") symbols in the quality scores (even-numbered lines) with a "0" but I want to leave the greater-than symbols on the odd-numbered lines alone. I would just use sed -i '/^>/! s/>/0/g' $FileName but sometimes the quality scores begin with a ">" as well.
I'm sure there is a simple modification of a normal sed command with an "n" inserted somewhere but I can't figure it out.
I am trying to sync the time on my Centos 5 box, but I do not want to sync the date. All of our servers need to have the clocks synced, but one system needs to have the date set to the previous day.
Could not download all repository indexes.The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.and therefore i am unable to perform many tasks.this is a clean install of 9.10 on a brand new laptop