Sponsored Content
Operating Systems Linux Red Hat Looking for Reccomendations to Clone RHEL 7 Post 302991339 by Peasant on Thursday 9th of February 2017 10:38:26 AM
Old 02-09-2017
Install everything i need in lab (the OS and packages).
You want to maintain a list of what you did.

Do everything from repositories, local repositories best.
Install everything you need using yum or yum localinstall.

Once you have completed the OS install and all the packages, create a kickstart file from it.
Using kickstart you can define disk layout, hostname, network configuration, packages to install (from list you took) and post install stuff (wget something or whatever ).

Play with it until you achieve perfect install, then just PXE a new environment using that kickstart file with minute changes over numerous protocols (http, tftp etc.) and local repositories.

If you upgrade or patch, remember to review and test the installation using kickstart file.
So it's not actually a clone, but a fresh system with everything you require.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

clone harddisk

Hi, i have to make an excect physical copie of a sun unix station harddisk. I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info. I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough. Can... (5 Replies)
Discussion started by: dirk2
5 Replies

2. Red Hat

Difference between RHEL 3 AND RHEL 4

Anybody, let me know major differences between RHEL 3 & 4 . (2 Replies)
Discussion started by: sakthi_13
2 Replies

3. Web Development

managed service reccomendations

Dunno If its ok to post this, but I am looking for a company to manage our linux server. If the company is a specialist in security issues then that would be ideal Thanks Ed (5 Replies)
Discussion started by: edzillion
5 Replies

4. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

5. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

6. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

7. UNIX for Dummies Questions & Answers

Clone redhat to another PC

Hi, I'm a new user of this forum and I'm not an expert of linux. I have a broken old pc with red hat linux, I clone hdd to another pc with different mainboard and it's ok but it has only one problem, the usb ports not work. In the boot this message appears: ... (9 Replies)
Discussion started by: aitv
9 Replies

8. Red Hat

RHEL 6, Spacewalk 2.3 unable to download RHEL 5 repo data

Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies

9. UNIX for Dummies Questions & Answers

Windows->RHEL->RHEL X11 Forwarding?

I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies

10. Red Hat

Is it possible to install RHEL 7 on top of RHEL 6?

Hi We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies
yum(8)																	    yum(8)

NAME
yum - Yellowdog Updater Modified SYNOPSIS
yum [options] [command] [package ...] DESCRIPTION
yum is an interactive, automated update program which can be used for maintaining systems using rpm command is one of: * install package1 [package2] [...] * update [package1] [package2] [...] * check-update * upgrade * remove [package1] [package2] [...] * list [...] * info [...] * provides [...] * clean [packages | headers | old-headers | all] Unless the --help or -h option is given, one of the above commands must be present. install is used to install the latest version of a package or group of packages while ensuring that all dependencies are satisfied. If no package matches the given package name(s), they are assumed to be a shell glob and any matches are then installed. update If run without any packages, update will update every currently installed package. If one or more packages are specified, Yum will only update the listed packages. While updating packages, yum will ensure that all dependencies are satisfied. If no package matches the given package name(s), they are assumed to be a shell glob and any matches are then installed. check-update Implemented so you could know if your machine had any updates that needed to be applied without running it interactively. Returns exit value of 100 if there are packages available for an update. Also returns a list of the pkgs to be updated in list format. Returns 0 and no packages are available for update. upgrade takes no arguments, this performs a complete upgrade of the system - good for distro-version changes as it includes packages obso- leting other packages in its updating calculations. remove is used to remove the specified packages from the system as well as removing any packages which depend on the package being removed. list can be used to list various information about available packages; more complete details are available in the List Options section below. provides can be used to find out which package provides some feature or file. Just use a specific name or a file-glob-syntax wildcards to list the packages available or installed that provide that feature or file. info can be used to list a description and summary information about available packages; takes the same arguments as in the List Options section below. clean is used to clean up various things which accumulate in the yup cache directory over time. More complete details can be found in the Clean Options section below. GENERAL OPTIONS
Most command line options can be set using the configuration file as well and the descriptions indicate the necessary configuration option to set. -h, --help Help; display a help message and then quit. -y Assume yes; assume that the answer to answer to any question which would be asked is yes. Configuration Item: assume-yes -r Replace conflicting files (equivalent to the RPM option of '--replacefiles --force'). Attention, this has a high 'shoot your own foot' possibility. Configuration Item: replacefiles -c [config file] Specifies the config file location. -d [number] Sets the debugging level to [number] - turns up or down the amount of things that are printed. -e [number] Sets the error level to [number] 0 - 10. 0 means print only critical errors about which you must be told. 1 means print all errors, even ones that are not overly important. 1+ means print more errors (if any) -e 0 is good for cron jobs. -t Tells yum to be tolerant of errors on the command line with regard to packages on the commandline. For example: if you request to install foo, bar and baz and baz is installed; yum won't error out complaining that baz is already installed. -R [time in minutes] Sets the maximum amount of time yum will wait before performing a command - it randomizes over the time. -C Tells yum to run entirely from cache - does not download or update any headers unless it has to to perform the requested action. LIST OPTIONS
The following are the ways which you can invoke yum in list mode. Note that all list commands include information on the version of the package. yum list [available] list all packages in the yum repositories available to be installed. yum list updates list all packages with updates available in the yum repositories. yum list [args] list the packages specified by args. If an argument does not match the name of a package, it is assumed to be a shell-style glob and any matches are printed. yum list installed list the packages specified by args. If an argument does not match the name of an available package, it is assumed to be a shell-style glob and any matches are printed. yum list extras list the packages installed on the system that are not available in any yum repository listed in the config file. CLEAN OPTIONS
The following are the ways which you can invoke yum in clean mode. yum clean packages Eliminate any cached packages from the system. Note that packages are not automatically deleted after they are downloaded. yum clean headers Eliminate all of the files which yum uses to determine the remote availablility of packages. Using this option will force yum to download all the headers the next time it is run. yum clean oldheaders Eliminate the old headers that yum no longer needs to determine the remote availablility of packages. yum clean [all] Runs yum clean packages and yum clean oldheaders as above. MISC
Proxy configuration If you would like to use a proxy with yum you can simply set a shell environment variable of http_proxy. Set it to the url for your proxy. Ex: "http://your_proxy:port/" FILES
/etc/yum.conf /var/cache/yum/ SEE ALSO
yum-arch (8), yum.conf (5) AUTHORS
Seth Vidal <skvidal@phy.duke.edu> BUGS
There of course aren't any bugs, but if you find any, they should be sent to the mailing list: yum@dulug.duke.edu Seth Vidal 2002 Jun 8 yum(8)
All times are GMT -4. The time now is 07:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy