Red Hat :: RHEL5 Kickstart Config @ Everything (all Packages) Equivalent?
Jan 31, 2010
I am looking into Kickstart installations for Red hat 5. Previously I used RHELWS4 and I would use the "all packages" flag to get around having to specify all the packages.
For example:
%packages
@ everything
kernel-devel
kernel-largesmp-devel
e2fsprogs
kernel
kernel-largesmp
Would get me everything on the RHELWS4 DVD. From what I can see this option is not present in RHEL5. Can someone please provide some advice on a way to automatically parse the RHEL5 DVD and generate a list of packages so that I can ensure all the packages are present in the installation? I imagine I would need to do this for each update of RHEL5 since the package list will evolve over time.
I am using the "harddrive" option in a kickstart config to have it pick up isolinux files from a USB flash drive. I have been able to get it work by specifying the device name directly, but if I specify a LABEL or UUID, it does not work.Here is what my ks.cfg looks like.
Code: install text harddrive --partition=LABEL="/install" --dir=/ lang en_US.UTF-8
[Code]...
It almost seems like the version of Anaconda in Centos5.4 does not support specifying UUID or LABELs, but I have not been able to confirm that from the Release notes.Appreciate any tips/references/documentation.
Which directly is accessible during the %pre section? I try to use wget to retrieve a file from FTP to /root but after the machine is build, I don't see that file in /root directory.
I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.
How can these settings also be generated with the system-config-kickstart?
I have been using a boot disk with a kickstart file that calls rpm files that are on RHEL4.8. The rpm files tk-devel,tcl-devel,nss-devel and nspr-devel respond back during the install of RHEL5.e with a pop-up saying they do not exist,but when I look on the RHEL5.4 DVD they do exist in the Workstation directory.
I am trying to use kickstart to create a master boot disk for all of my server installs. Unfortunately it seems to be missing some of the packages specified and I can't figure out why. Here is the packages section of my ks.cfg file
Note: all at symbols have been replaced with # because the forum filter seems to think they are urls.
On RHEL5/CentOS5:Can someone please enlighten me, why there is a /etc/tomcat5/tomcat5.conf that gets ignored and a /etc/sysconfig/tomcat5.conf?This always puzzles me and I really want to understand, why there are two config files in place...
I was assigned to do all the RHEL5 updates. All installed fine including the new kernel except for the updated libX11 and python packages. Does anyone have any suggestions relating to a fix for this?
I created an Ubuntu 10.4 iso with the kickstart cfg on it, trying to boot it with the ks=/cdrom/pathtoconfig (tried even ks=cdrom:/path) parameter in VirtualBox but it refuses to load the file and just launches the generic install.
I can't change my screen resolution but my fedora doesn't have system-config-display. Trying to install this package and for some reason it is not listed under the add/remove software, and yum says it can't find it either.
# yum install -y system-config-display results No package system-config-display available. Error: Nothing to do
Searching in the add/remove software I found some others such as system-config-firewall, system-config-date and etc but it doesn't have system-config-display. Is there any other way to install this package? currently running kernal linux 2.6.35.9-64.fc14.x86_64 , fedora 14 on 64 bit system gnome 2.32.0
This all started when my Screenlets stopped working. Then I noticed that my update notification stopped too. So, to the command line I went to do and update hoping it was a recent update that needed to be fixed.
Code: sudo apt-get update && sudo apt-get upgrade
It appears that multiple python packages are trashed some how? Currently doing sudo apt-get -f install I get:
HTML Code: Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: python-configglue python-ubuntuone-client libimobiledevice0 python-ubuntuone-storageprotocol python-twisted-web python-pyinotify libcouchdb-glib-1.0-2 .....
I just installed Netsurf, but I was confronted with "libnsbmp is not installed". So I installed libnsbmp. The error "libnsgif is not installed" appeared when installing libnsbmp. The error "libpng is not installed" appearded when installing libpnf. ... I installed all that I was asked to install. However, when I was installing libcss, it said that "Package libparserutils was not found in the pkg-config search path. Perhaps you should add the directory containing 'libparserutils.pc' to the PKG_CONFIG_PATH environment variable". I have already installed libparsercutils but not in the /usr/lib dir.
What should I do to continue my installation? And anyone could tell me what are those lib stuff? I installed zlib with the apt-get install command.Can I get other lib stuff with the same command?
I'm having problems with networking. I just installed Debian 6 SServer LAMP and it didn't autoconnect to internet. I plug in the internet to my eth0 (default) port, and I keep getting timeouts. I found that dhcp3-client was not installed and fixed that. My etc interfaces has this for eth0: Auto eth0 Iface eth0 inet dhcp What other packages or config do I need to make the internet work? It's missing something basic that wasn't setup properly. I do get the correct dns address to my isp provider when I check etc resolv.conf. It just can't dhcp discover.
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
I am running a server with a GRSecurity patched Kernel 2.6.32.36. I've tried to optimize the kernel as much as I can and know it (removing options, not needed drivers and so on) and compiled the modules into the kernel (no loadable modules anymore). I've started with Slackware 13.0 and the default config for 2.6.29.6-huge. Still I am not sure what to remove/optimize further now.
My question: Is there a way to boot with a kernel with loadable modules, check which modules are really needed for this hardware, (do something like lsmod) and save the running configuration modules for a next kernel compile to be the default .config instead of writing them down by hand and search for the appropriate names in .config or during menuconfig? (Note: zcat /proc/config.gz > .config is NOT the way I want, as it gives me just the current kernel config)
When I install the FC11 by using"Install or upgrade an existing system"or"Install system with basic video driver"mode...Point 1, I can't config the network config ( IP Address ), due to theerror of network manager...Point 2, I can't enter into the text mode to do the installation steps.Remark:The machine is provide Web,DNS, and Mail Server on the NET ( Internet )
I learnt that there is a way where we can automate the installation of Red Hat using a kickstart script. However, everywhere they talk about doing that from bootable floppy image. I have a single DVD of Red Hat (RHEL5). Can anyone tell how can I kickstart the installation using the kickstart script, i.e., where do I place the ks.cfg file on the disk and what command should be given at the boot prompt? (Kickstart from DVD and not from any network.)
On Debian repo I found virtualbox-ose packages there. What will be the difference in operation/function between their packages and the packages download on virtualbox.org website?
On Fedora repo I found VirtualBox-ose packages there. What will be the difference in operation/function between their packages and the packages download on virtualbox.org website?
Whenever I do sudo apt-get or use the Ubuntu Software Center, I can't download anything because a message comes up saying "Action requires installation of untrusted packages: The action would require the installation of packages from not authenticated sources." I've been trying to download GIMP and Thunderbird, so... I dunno what the problem is.
I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is
Code: Select allapt-get install package-name:i386
prompts the removal of currently installed packages (amd64 arch.) which is the problem.
Code: Select allReading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libportaudio0:i386
[Code] ...
Some of the packages I am talking about are
-libegl1-mesa-dev:i386 -libportaudio-dev:i386
Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?
I just upgraded from 11.2 to 11.4 and the installation/upgrade worked just perfect. I than followed the instructions in the "New User How To/FAQ", "Multimedia and restricted format" post. I was following the instruction in the 11.4 section. I added the additional repositories as explained. I then was on the section where it talks about going into software management and selecting the "Packman" repository and clicking to "switch systems packages" to the versions in this repository (packman). I than click this link and the "warning" screen appears and I am present with conflict resolution after conflict resolution dialog. It just seems that there are some many conflicts, it just seems wrong and I canceled.
The installation/upgrade appears to have worked just fine. My mail is there, audio and dvd play back worked the first try after the upgrade. I am not clear if this is what I should expect or their is something wrong or if I even need to complete this step for a successfully installation.
Is there a way using dpkg or apt-get to segregate user application packages from system packages? What I envision is an /apps directory structure that can be the install target for selected packages so not to "clutter" the storage areas for the system administration files/packages - maybe even with permissions set so that (a GROUP of) users could install packages on an Ubuntu server w/o SysAdmin guidance. This could also allow 1)system upgrades with or w/o including these packages, and 2)the sharing of /apps (via NFS) among common Ubuntu systems. Is this doable using the dpkg or apt maintenance tools?
I recently upgraded from F13 to F14 using "preupgrade". This is the first time I've used preupgrade. So far, F14 is running OK. There are some leftovers from F13 and I'm wondering if this is correct.
Q1: There are 176 F13 packages remaining. [alfrugal@localhost Documents]$ rpm -qa | grep fc13 | wc -l 176 Is this OK? FWIW, after the upgrade, I ran "package-cleanup --orphans" as recommended by the "preupgrade" page on the Fedora Project wiki.
Q2: Also, my GRUB menu was correctly updated for F14, but it still contains the three entries it had for F13. Is it normal for the preupgrade process to require the user to clean up the obsolete entries from the GRUB menu?