Tag Info

Hot answers tagged

35

You can use: yum -y install packagename The "-y" implies "yes".


27

I would recommend using a mixture of Debian pre-seeding, where you give the installer a text file that answers all the questions it would ask, and Puppet. THe reason for using the preseeding, rather than FAI is that you don't have to set up an image first and deal with keeping it up to date. You will end up with an install very similar to what you would ...


27

Ok... I've found the answer with experiments. Use the server or alternate ISO instead of the desktop ISO! Preseed does not work with the desktop ISO. Use the linux-generic kernel and tasksel ubuntu-desktop to get a desktop installation. The auto boot parameter does not work (at least for i386). Use auto=true priority=critical instead. In contrast to the ...


10

I'd recommend CFengine for any environment which is more than 2-3 boxes and where you have some concept of 'templates' or servers performing specific roles. Why? Simply put it reduces mistakes, you have a tool which will ensure file/directory permissions are correct everywhere in the environment and when you come to roll out more servers, the tool handles ...


10

What you want is the "preseed" functionality of Debian installer. http://wiki.debian.org/DebianInstaller/Preseed Basically, you create a configuration file with all installer questions answered, use that file to compile a special kernel and boot it (or you can create a CD ISO image). Details in the Debian wiki (link above). You'll have to create different ...


8

I'm not positive on the settings in Lenny but I know that in Squeeze, sudo is configured with env_reset meaning it will strip out all but a very few select env variables before running the command. This means the DEBIAN_FRONTEND variable you set is never actually making it to the apt-get install --yes --force-yes r-base. If you have full access to sudo, ...


7

You can use Windows Deployment Services (the new RIS) if you have a 2003/2008 server. This provides PXE boot capabilies for your XP clients. You configure a 'template' on the server to answer the setup questions, but you will be prompted for anything you didn't enter (Windows Key in your case). Don't miss the intro video. You might also find Unattended ...


7

You can "preseed" answers so that debconf sees you've answered the question already, and doesn't bother asking it again. You need some tools from the debconf-utils package: sudo apt-get install debconf-utils Install your program and manually answer the questions once. Then, you can ask debconf what it stored in its database: debconf-get-selections | ...


5

under debian/ubuntu its called preseeding: https://help.ubuntu.com/9.10/installation-guide/powerpc/preseed-using.html You can put the preseed.cfg on CD oder let it load via web. I`m using it in conjunction with cfengine2


5

Not built in, that's very much the point of Active Directory. You need an account on each machine which is a member of the Local Administrators group and has a known password, (if you spend the time setting this up once it could be useful later). With that list of usernames and passwords you could script remote installations using Sysinternals' PSEXEC for ...


5

In addition to cfengine and puppet, there's also chef. I would strongly suggest using one of these tools as things always will grow in unexpected directions. This helps manage things in a centralized location. The important thing to recognize is that chances are you won't get everything but if you can at least get 90% there, it's a start. Besides, it's fun ...


5

A more concise variant of the debconf solution mentioned in another answer is the following: echo 'libc6 libraries/restart-without-asking boolean true' | sudo debconf-set-selections I just used this solution successfully when upgrading glibc on Debian 7 (wheezy). For the curious, the way I found the right configuration variable to set was as follows: ...


5

Don't know how Python handles passing commands off to Windows/DOS, but using a plain batch file and the start /wait command the batch file stops and waits until the MSI is done before moving on to the next step. For example, to install a main app, followed by a patch only when it's finished, and then a final program once that's finished, drop these lines ...


5

WSUS. http://technet.microsoft.com/en-us/windowsserver/bb332157


4

You certainly could use Group Policy to deploy the framework. This (older) article details two methods for deploying the framework, the second method being deployment via GPO. http://msdn.microsoft.com/en-us/library/cc160717.aspx


4

It me me quite some time to figure out how remastering worked. I finally got the hang of it and wrote down the steps used to create my first live CD with installer. I want to thank Pilolli Pietro for this google code wiki page: http://code.google.com/p/ardesia/wiki/Create_a_live_distro. This line is specifically used to add an installer (executed from the ...


4

Read the page again. Passing Data to the Installation /v : Pass arguments to Msiexec (Basic MSI and InstallScript MSI projects) The /v option is used to pass command-line options and values of public properties through to Msiexec.exe. So /v/qn will pass /qn onto the embedded MSI installer. The /qn is an msiexec switch indicating to run with no ...


4

The Sun Java packages keep track of whether you've agreed to the license agreement using Debconf. You can bypass that check by running echo "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true" | debconf-set-selections before installing sun-java6-jre or whatever Sun Java package you want.


4

Unfortunately, the new installer doesn't have much in the way of automation. This will hopefully be fixed in the near future. The good news is it's not doing anything terribly complicated, so you can write your own "installer" easily. Just netboot (well documented), then write a shell script to do all the partitioning/formatting you want/need and un-tar the ...


4

The normal way to do this is to slipstream the drivers into the Windows install image. That way the Windows installer should install the correct driver based on what it finds in the target machine.


4

You may want to test the SyncForegroundPolicy group policy setting. When enabled, you should see the Software Installation splash banner before the logon dialog. "This policy setting determines whether Group Policy processing is synchronous (that is, whether computers wait for the network to be fully initialized during computer startup and user ...


4

The Windows Deployment Services (WDS) functionality is the "supported" method to do automated installations of server and client OS's in a fully-featured way. If you don't want to go that heavyweight you could look at building unattended answer files that will be used to automate the setup process. This is also a "supported" process, but you're more "on ...


4

FAI old scool? NO! FAI is rock solid and has more than 10 years of experiences. Have a look at the long list of FAI users at http://fai-project.org/reports


4

Some crazy person is trying to port Puppet to Windows, I believe, but apart from that you're basically stuffed -- some of the proprietary stuff says it can manage both Windows and Linux from a single point, but I've never found one that I didn't want to thermite the install CDs of. The systems are so different that you're best off just using the best ...


4

For Windows Server 2008, you can use OCSETUP.EXE. See more at: http://support.microsoft.com/kb/936209 For Windows Server 2003, you can use SYSOCMGR. Put the following lines into a file (I'm calling mine "snmp.txt"): [Components] netoc = on [NetOptionalComponents] SNMP = 1 Then, call SYSOCMGR as an Administrator (or as SYSTEM-- this absolutely does work ...


4

Here's a very minimal one for CentOS 5.2 - it should be close enough for your requirements: text install url --url http://.../CentOS/5.2/os/x86_64 lang en_GB.UTF-8 keyboard uk rootpw --iscrypted $1$...... # change this firewall --enabled --port=22:tcp authconfig --enableshadow --enablemd5 selinux --disabled timezone --utc Europe/London bootloader ...


4

I would suggest getting started learning the WAIK and ImageX tools from Microsoft so you have a head start when you want to move to 7. We transitioned off of Ghost a couple years ago and haven't looked back. I now have a bootable USB stick that automatically preps and images my new boxes with ImageX, no keypresses required. In your case, you'll have to ...


4

You're looking for configuration management, there are many options out there. A couple are: Puppet CF Engine If you're on RedHat or CentOS RHN Sattelite or SpaceWalk respectivly


4

msiexec.exe is the command-line program to install and uninstall MSI files. For automating it, I suggest WPKG which allows you to automate software installation, including MSIs. To fill in the values, I think you'll need to create a MST file, which can be done with several tools, including InstEd or Orca, then specify it on the command line with ...


3

You can use msiexec however you will likely end up re-writing that MSi with orca (or any other msi editor) WPKG is fairly worthless once you realize that any MSI can be automated if you've set up the MSI to take properties (set the MSi up to take PROPERTY=PropertyValue.) there are also some default properties that can be set (listed here). It's then as ...



Only top voted, non community-wiki answers of a minimum length are eligible