Below is sample Kickstart file for CentOS7 installation via network: #CentOS install via network # System language lang en_US # Keyboard layouts keyboard us # System timezone timezone Asia/Kolkata –isUtc # Root password rootpw –iscrypted encrypted-password #platform x86_64 reboot url –url=http://repos.example.com/repos/centos78/ bootloader –append=”rhgb quiet crashkernel=auto” zerombr # Partition clearing information clearpart –all –initlabel #autopart # […]
We can use below script to add host and ip entries in /etc/hosts file. $ cat append.sh #!/bin/bash ## Append hostname and IP in /etc/hosts file hostname=$1 ip=$2 /usr/bin/sshpass -p ‘password’ ssh user@$1 "echo password | sudo -S sh -c ‘echo "$2 $1 $1.example.com" >> /etc/hosts’" $ sh append.sh test-server 192.168.1.100 It will make entry […]
Pulp is basically a open source repository management from where you can create a repository for your environment. You can copy a remote repository or can hosts your rpms.There are lot of commands which can help you managing your pulp repository. Start, Stop and Restart pulp services: # systemctl start pulp_celerybeat # systemctl start pulp_resource_manager […]
Step 1: On your client machine, Login via root. Step 2: Run below command to sync via NTP server. # ntpdate -u server-ntp.example.com (Where server-ntp.example.com is your NTP server) Step 3: Now go and add your ntp server to “ntp.conf” file. # vi /etc/ntp.conf server server-ntp.example.com Step 4: Start ntp service. # systemctl start ntpd […]
AWS CloudTrail is a service that enables governance, compliance, operational auditing, and risk auditing of your AWS account.With CloudTrail, you can log, continuously monitor, and retain account activity related to actions across your AWS infrastructure.CloudTrail provides event history of your AWS account activity, including actions taken through the AWS Management Console, AWS SDKs, command line […]
Virtual memory ballooning is a computer memory reclamation technique used by a hypervisor to allow the physical host system to retrieve unused memory from certain guest virtual machines (VMs) and share it with others. Memory ballooning is a memory management feature used in most virtualization platforms which allows a host system to artificially enlarge its […]
In any web services it is very important to have a auditing and compliance management service. In AWS this feature is provided to us by AWS Config Service.AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resources. Config continuously monitors and records your AWS resource configurations […]
Recent Blog