13
votes
How do you answer yes for yum install automatically
Add the following line to /etc/yum.conf
assumeyes=1
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 ...
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-...
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 &...
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/...
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, ...
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 | \
...
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 ...
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 ...
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, ...
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:
...
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.
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 ...
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: ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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
...
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 "...
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 ...
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)
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 ...
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 ...
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 ...
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 ...
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'...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
automated-install × 165installation × 29
windows × 22
ubuntu × 20
automation × 20
preseed × 20
debian × 19
linux × 13
kickstart × 9
windows-7 × 8
scripting × 8
pxe-boot × 8
unattended × 8
deployment × 7
windows-xp × 6
apt × 6
msi × 6
windows-server-2003 × 5
windows-server-2008 × 4
powershell × 4
virtualization × 4
vmware-esxi × 4
configuration-management × 4
provisioning × 4
centos × 3