13 votes

How do you answer yes for yum install automatically

Add the following line to /etc/yum.conf assumeyes=1
Dan's user avatar
  • 131
12 votes
Accepted

Is it possible to create a generalized configuration file for installing Windows features using PowerShell?

Yes, for both Linux and Windows you can build desired state config files that can: Enable or disable server roles and features Manage registry settings Manage files and directories Start, stop, and ...
Jim B's user avatar
  • 24.1k
8 votes
Accepted

Removing non-present hardware with Devcon?

Devcon does work. You just need to make sure you are targeting the right version of devcon for your operation system. Take a look at this link http://freneticrapport.blogspot.com/2011/05/windows-...
Nitrous's user avatar
  • 96
7 votes

Is it possible to create a generalized configuration file for installing Windows features using PowerShell?

You can do it all in PowerShell Get-WindowsFeature | ? { $_.Installed } | Export-Clixml .\installed.xml Copy the xml where is needs to go to, somewhere the new server can access it. Import-Clixml &...
Drifter104's user avatar
  • 3,773
6 votes

Error: XFS filesystem is not valid as a default fs type

I was having the exact same problem until I realized that I hadn't updated my pxe tftpboot environment to agree with my up-to-date Centos 7.5 media, by copying Centos-7.5-version files from centos/7/...
user247671's user avatar
5 votes

What do the 3 numbers mean in manual partitioning of HDD in Ubuntu preseed?

The three numbers are minimum size, priority, and maximum size. If there is enough disk space to create this partition and all the partitions with a higher priority value with their maximum sizes, ...
telcoM's user avatar
  • 4,488
5 votes

Install Java 1.7 non-interatively on Ubuntu 12.04

Presumably the same as with Java 8: echo debconf shared/accepted-oracle-license-v1-1 select true | \ sudo debconf-set-selections echo debconf shared/accepted-oracle-license-v1-1 seen true | \ ...
Ivan Vučica's user avatar
5 votes
Accepted

Preseeding debian 11 fully unattended (get rid of questions)

I found a way to do it ! Thanks to this post on the opposite problem I just added two parameters to my boot line in grub.cfg netcfg/get_hostname=install netcfg/get_domain=install It is now fully ...
proxyd43's user avatar
  • 152
2 votes
Accepted

How to make custom partitioning of hdd via preseed?

Do you want /boot as a separate filesystem? The example in your question will create it with a minimum of 40 MiB, maximum of 100 MiB. If you want it to be 500 MiB always, then set the three numbers ...
telcoM's user avatar
  • 4,488
2 votes

Rapid deployment of similar VMs

Pity you're not on v6, it has this thing called Instant Clone that would speed up this kind of deployment. Anyway have you thought about just using a DHCP/dynamic-DNS solution for this kind of thing, ...
Chopper3's user avatar
  • 101k
2 votes

How can I propagate IIS settings across multiple servers in AD?

I have very little experience with IIS, but this looks like what you want: http://www.iis.net/learn/manage/managing-your-configuration-settings/shared-configuration_264 This one is more recent: ...
natxo asenjo's user avatar
  • 5,789
2 votes

How to remotely install CentOS in a bare metal machine

It is HP laptop where I want to install the centOS remotely. Ship a USB pen drive with a suitably configured installation environment and have someone plug it in and configure the system to boot it.
user9517's user avatar
  • 116k
2 votes

automatic deployment of linux VM on VMware ESXi

Yes, this can be automated.Are you doing this on a VMware cluster with vCenter? Maybe you should use DHCP to handle initial provisioning. Otherwise, you have scripting or even template customization ...
ewwhite's user avatar
  • 197k
2 votes

Automated Ubuntu 20.04 server install: How can I get hostname from DHCP server?

You can do it, using a script for a DHCP hook. Create a new file: sudoedit /etc/dhcp/dhclient-exit-hooks.d/hostname Paste the following code into the file, save and close: #!/bin/sh # Filename: ...
Christopher H's user avatar
2 votes

Automated Ubuntu 20.04 server install: How can I get hostname from DHCP server?

Using part of the answer from here, if you set the hostname to localhost in the identity section of the autoinstall YAML, the next boot of the machine will configure to it's DHCP issued hostname. For ...
megabytemike's user avatar
1 vote

Automated Windows Server 2012 R2 installation

Use an autounattend xml file for the installation of the OS itself. To my knowledge it's the only way of automating the OS installation itself. You can then write your powershell script to install ...
Mikael Dyreborg Hansen's user avatar
1 vote
Accepted

Vmware linux automated install

Every major Linux distribution has an automatic installation process. For Debian based distributions the search term is "preseed", for RedHat based distributions it is "kickstart", other distributions ...
Gerald Schneider's user avatar
1 vote

How do I figure out what software tool was used to create an "setup.exe"so I can determine what the silent parameters are?

Indirectly via searching for text inside of the setup.exe like this: InstallShield: powershell command: strings.exe .\AcrobatProfessional_7.0_EN\setup.exe | select-string "InstallShield" If the ...
Lumir J.'s user avatar
1 vote

Can Windows domain administrator selectively allow some setup files to be installed (updated) by the users without elevated rights (mass deployment)?

... can system administrator ... mark the fresh installation exe file that everyone in the domain can install it wihout elevated rights or that elevated rights are granted for one time for ...
Phill  W.'s user avatar
  • 1,489
1 vote

Freebsd 11 custom installer memstick with packages

Quick and dirty way. After booting from memstick, drop into console, optinally mount -o rw to remount with read/write permissions, use gpart resize and then growfs to extend filesystem size. Now pkg ...
arrowd's user avatar
  • 319
1 vote
Accepted

Automating windows configuration

I don't have enough reputation to ask for clarification, so I am going to assume two things. I don't use AD (at least currently), so I would prefer something that would allow me to connect to the ...
Tobias's user avatar
  • 86
1 vote
Accepted

how to Install java run-time /jre on a custom path using a Batch script?

You can derive the short names from the full path to overcome the limits mentioned in your question. REM Insert full path to executable here as a literal string or environment Call :s_Install_Short "...
CoveGeek's user avatar
  • 186
1 vote

How to automate installation of Windows 10?

Fredrik, have you tried Microsoft Deployment Toolkit (MDT) yet? With that tool you can create a deployment share that will serve to distribute your image to clients. With Windows System Image ...
Sebastian Klenk's user avatar
1 vote

Preventing SonicWALL NetExtender from asking about certificates

I'm not sure if it will work on Windows, but you can try the flag "--always-trust" which I'm sure that works on Linux (https://serverfault.com/a/1034230/592148)
Alfredo Prada Giorgi's user avatar
1 vote

Where is my gcloud database

If you have deployed WordPress using Cloud Launcher your MySQL database is installed on the VM and not Google CloudSQL. To access the MySQL database installed on the WordPress VM you can use ...
Faizan's user avatar
  • 1,438
1 vote

How can I deploy a Linux OS on a VM skipping the installation steps?

Maybe there are some iso files which directly install a default Virtual machine. However i recommend you to install it yourself, at least once and the clone this machine if you need a fresh copy ...
mac.1's user avatar
  • 149
1 vote

How can I deploy a Linux OS on a VM skipping the installation steps?

There are quite a few ways to do that: set up a deployment server (theForeman, cobbler, fog etc) and install VMs via PXE use virt-install with a provided kickstart file use virt-builder (I think this ...
dyasny's user avatar
  • 18.8k
1 vote

How can I deploy a Linux OS on a VM skipping the installation steps?

virt-clone - Clone a template VM There are various ways mentioned in the comments on your question of how to automate the installation process, but none of them will allow you to use the operating ...
bao7uo's user avatar
  • 1,704
1 vote

How to remotely install CentOS in a bare metal machine

If this is a one off, @istheEnglishWay's suggestion to use a USB stick seems like a good bet. If you suspect you might need to do this a few times, PXE booting might be a good option to consider. I'...
iwaseatenbyagrue's user avatar

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