1. The document describes how to set up a PXE kickstart server to automatically install CentOS 5.3 over the network using DHCP and TFTP. It provides instructions for configuring the TFTP, DHCP and NFS servers, creating a kickstart installation tree and kickstart files.
2. Additional clients can be added by modifying the DHCP configuration to assign them a static IP, creating a customized kickstart file, and PXE booting the client to initiate the network installation.
3. Example configurations are provided for the /etc/dhcpd.conf DHCP configuration file and a sample kickstart file.
This document provides step-by-step instructions for installing and configuring IBM Domino 9 Social Edition on CentOS 6. It includes installing CentOS, configuring the OS, enabling required services, configuring the firewall to open ports for Domino, creating a user account, and performing Domino-specific configuration steps. The document contains detailed explanations and commands for completing a full ground-up installation of both CentOS and Domino.
This document provides instructions for installing a LAMP server with Drupal on it. It describes installing CentOS as the base Linux server, then using yum to add Apache, MySQL, PHP, and additional packages to create a full LAMP stack. It details configuring DHCP and FTP services. It also explains downloading and extracting Drupal, creating a MySQL database for it, and navigating through the Drupal installation process via a web browser. The key steps are: 1) installing a base Linux server; 2) using yum to add Apache, MySQL, PHP to create a LAMP server; 3) downloading and extracting Drupal; 4) creating a MySQL database; and 5) navigating through the Drupal installation
RPM (RPM Package Manager) is a package management system that can install, uninstall, upgrade, query, and verify software packages. It uses an RPM database to track installed packages and dependencies. RPM forms the basis for the yum package manager. The rpm command can be used to install, query, upgrade, remove packages. It handles dependencies and tracks files and metadata for packages.
Configuration of NTP Server on CentOS 8Kaan Aslandağ
This document provides instructions for configuring a CentOS 8 system as an NTP server or client using the Chrony NTP daemon. It describes installing the Chrony package, enabling it to start on boot, configuring it as a server to serve local networks by modifying /etc/chrony.conf, restarting Chrony, and opening firewall ports. It also provides instructions for configuring a system as a Chrony client by pointing it to the local NTP server.
This document discusses software installation and configuration of Linux services including RPM packages, YUM, DNS server, and Apache web server. It provides instructions on installing software using RPM and YUM, configuring BIND as a DNS server, and setting up an Apache web server. Key steps include installing software, editing configuration files, starting and enabling services, and testing the DNS lookups and web pages.
This document discusses configuring custom firewall zones and services using FirewallD on CentOS 8. It shows how to create a new "privatekaan" zone, add the DNS service to it, and assign network interfaces to that zone. It also demonstrates saving the runtime configuration permanently, reloading the firewall, and testing connectivity using tcpdump. The document provides examples for viewing active zones and services, setting a default zone, and allowing or blocking the SSH service as needed.
Document Management: Opendocman and LAMP installation on Cent OSSiddharth Ram Dinesh
This document provides instructions for installing LAMP (Linux, Apache, MySQL/MariaDB, PHP), phpMyAdmin, and OpenDocMan on CentOS 7. It describes how to install each component, configure the required settings, and set permissions and firewall rules. It also provides steps for restoring an OpenDocMan installation to another server by dumping and importing the MySQL database, transferring files via tar/scp, and adjusting configuration files.
This document provides instructions for enabling the EPEL (Extra Packages for Enterprise Linux) repository on RHEL (Red Hat Enterprise Linux) systems to gain access to additional packages. It describes downloading the EPEL rpm package, installing it to enable the repository, and checking that it is functioning properly by viewing available packages and installing a library from EPEL.
Managing a powerful SCM like Perforce requires certain infrastructure. Changes to the infrastructure can become challenging and destabilize the system. See how MathWorks uses the flexibility of Perforce to manage and monitor a complex infrastructure.
Free ipa installation and cluster configuration, freeipa client connectionRustam Sariyev
FreeIPA is installed on two servers, ipa01 and ipa02, and configured as a replication cluster. ipa01 is configured as the master FreeIPA server, while ipa02 is configured as a replica server. Several client systems are then joined to the FreeIPA domain, including configuring authentication, authorization, and other identity services for the clients.
The document provides instructions for installing and configuring a full-featured Linux server for hosting websites, email, and other services. It includes steps to install and configure an ISPConfig control panel along with associated software like Apache, PHP, MySQL, Postfix, Dovecot, PureFTPd, BIND, Roundcube webmail, and more. The overall process allows you to set up an full-fledged web hosting server on a Linux machine.
Install and Configure Ubuntu for Hadoop Installation for beginners Shilpa Hemaraj
Covered each and every step to configure Ubuntu. Used vmware workstation 10.
Note: I am beginner so I might have used technical word wrong. But it is working perfectly fine.
기존에 저희 회사에서 사용하던 모니터링은 Zabbix 였습니다.
컨테이너 모니터링 부분으로 옮겨가면서 변화가 필요하였고, 이에 대해서 프로메테우스를 활용한 모니터링 방법을 자연스럽게 고민하게 되었습니다.
이에 이영주님께서 테크세션을 진행하였고, 이에 발표자료를 올립니다.
5개의 부분으로 구성되어 있으며, 세팅 방법에 대한 내용까지 포함합니다.
01. Prometheus?
02. Usage
03. Alertmanager
04. Cluster
05. Performance
The document provides information on installing and using openMANO, an open source platform for network functions virtualization management and orchestration. It describes:
1. The requirements to run openMANO including compute nodes, storage, and OpenFlow controller.
2. The different modes openMANO can run in including normal, host-only, development, and test modes.
3. How to install openMANO either automatically through scripts or manually by downloading packages and configuring components.
Yum is a package management system that allows users to install, update, and remove software packages on Linux systems. It works by maintaining a local database of installed packages and their dependencies. The yum command can be used to install packages and automatically handle dependencies, update all or specific installed packages to newer versions, and remove packages. It provides a consistent interface for managing software packages across different Linux distributions.
CentOS Server Gui Initial ConfigurationKaan Aslandağ
1) The document outlines the initial configuration steps for a CentOS 8 server installed on VMware Workstation Pro 16, including configuring the network adapter and subnet, installing CentOS Linux 8, setting the keyboard, timezone, installation destination, network settings, root password, software selection, and completing the installation process.
2) Key configuration steps include selecting the virtual network adapter, choosing "Install CentOS Linux 8", configuring the keyboard, timezone, storage disk, network adapter IP and hostname, root password, closest software mirror, and optional user creation.
3) After rebooting, the server is ready for use upon completing the licensing information and finishing the configuration.
This document provides instructions for setting up a continuous integration environment for Nuxeo modules using Ubuntu Server 7.10 virtualized with VmWare. It describes installing Ubuntu, configuring it with tools like MySQL, Maven, and Subversion. It then covers setting up Continuum and Archiva for continuous integration and artifact deployment. The document demonstrates configuring a sample Nuxeo module project in Eclipse to build with Maven and deploy artifacts to the Archiva repository for continuous integration with each code change.
This document provides information about junior level Linux certification objectives related to RPM and YUM package management. It discusses using RPM and YUM to install, upgrade, remove, and query packages. It also covers verifying package integrity with RPM and how YUM resolves dependencies when installing packages.
This document provides step-by-step instructions for installing a SunRay Server 4.1 and setting up a SunRay G1 Thin Client with Debian Linux. It details installing and configuring the necessary software on the server machine, including the SunRay server software, Java runtime environment, DHCP server, and more. Instructions are also provided for configuring the thin client and networking to allow it to connect to the SunRay server.
The document describes the configuration of a PXE-boot server in RHEL-5 including setting up a yum server, TFTP server, DNS server, Kickstart server, and NFS server. It involves copying installation files to the yum server directory, creating yum repositories using createrepo, configuring the yum.repos.d file, and starting the vsftpd service. It also mentions configuring the TFTP server.
Semantic Web 2014/15 Course - Tools and Applications Evaluation TasksAnna Fensel
1. The document introduces two semantic web applications called ONLIM and OpenFridge that are being evaluated. ONLIM is a social media marketing tool called Dacodi that helps companies automate posting to multiple social networks. OpenFridge collects energy consumption data from refrigerators to analyze energy efficiency.
2. For the evaluation, students are instructed to create an account on the Dacodi tool and use its functions to post to social networks and provide feedback. They are also told to contact the author to borrow equipment for measuring a refrigerator's electricity usage as part of evaluating OpenFridge.
3. The document provides references for further information about ONLIM, Dacodi, and OpenFridge.
This construction update from Vipul Gardens on March 12, 2015 provides a status on 10 towers, the main gate, landscaping, club, swimming pool, upper basement, and lower basement. Progress is noted for each area of the residential complex under development.
Stewart Travel Management is a travel management company with over 30 years of experience. They are licensed by ABTA, ATOL, and IATA, ensuring customers' travel arrangements are in safe hands. As a leading member of the Advantage Focus Partnership, Stewart Travel Management has strong buying power with airlines and suppliers to offer competitive rates. They are confident in their service quality and offer new customers a 45 day free trial with no booking fees on flights to experience their service.
This document describes how to set up a thin client deployment using PXE boot in a Microsoft-dominated network environment. Key steps include:
1. Configuring the DHCP server to provide PXE boot options and boot file information.
2. Preparing the RIS server by creating a PXE directory structure and boot images using the PXES tool.
3. Addressing bugs in PXES related to USB support, Samba password changes, and keyboard mappings to allow booting into a Linux environment and connecting to Windows terminal servers.
RESIDE: Renewable Energy Services on an Infrastructure for Data ExchangeAnna Fensel
The RESIDE project aims to develop renewable energy services based on semantic linked data. A consortium including experts in semantic services, mobile services, applied telecommunications and energy research will build an infrastructure to share renewable energy and smart home data. The goals are to identify common interests in data usage, build pilot services on the infrastructure, and motivate third party developers. The tasks include developing a data repository, business models, and renewable energy services for end users, utilities, and smart grids.
This document describes setting up a PXE server to remotely install and configure ESXi hosts. The PXE server will:
1. Use TFTP to serve ESXi installation files and PXE boot files to hosts.
2. Use DHCP to assign IP addresses to hosts and point them to the PXE boot file.
3. Use a web server to host a kickstart file that automates the ESXi installation.
The document provides details on configuring the TFTP, DHCP and web servers on a Linux system to support this PXE installation process. It also describes testing the setup by booting a host to trigger the remote ESXi installation.
This document discusses online grocery shopping and provides information about a technical solution for online grocery ordering and delivery. It introduces Perol Systems' product that offers simple integration, easy customization, security, and smooth implementation into a company's existing infrastructure or cloud system. Contact information is provided to learn more.
Free radius billing server with practical vpn exmapleChanaka Lasantha
This document provides instructions for setting up a total site-to-site Linux-based OpenVPN solution with dynamic DNS (DDNS) in 3 pages. It includes steps to install and configure a DDNS client, FreeRADIUS server, MySQL database, OpenVPN server, firewall rules, and a web interface for managing the FreeRADIUS server. The full document contains technical details for installing packages, editing configuration files, testing the setup, and securing the system.
1. The document describes the steps to install and configure a DHCP server in CentOS to assign IP addresses to clients on the network. It involves installing the DHCP package, configuring the DHCP daemon to start on a specific interface, creating and editing the dhcpd.conf configuration file to define DHCP options and IP pools, assigning static IPs to specific clients, starting the DHCP service, and configuring clients to receive IPs via DHCP.
2. DHCP clients can be configured by editing the network interface configuration files to set the boot protocol to DHCP and restarting network services. Static IP addresses can be assigned to clients by defining their MAC addresses and fixed IPs in the dhcpd.conf file.
3. Firewall rules
This document provides instructions on installing and configuring the LAMP stack on Linux. It discusses downloading and installing Linux, Apache, MySQL, and PHP. It explains how to partition disks for installation, set up virtual hosts, and configure Apache's configuration files and ports. The key steps are downloading Linux distributions, burning ISO images, partitioning disks, selecting packages during installation, configuring Apache's files, ports, and virtual hosts.
The document discusses configuring FTP on RHEL7. It describes installing the vsftpd package to provide FTP services. It then covers enabling and starting the vsftpd service, and opening the FTP port in the firewall to make the FTP server accessible both locally and over the network.
This document provides instructions for configuring a basic NFS server on a Red Hat Enterprise Linux 7 system to share directories with a client system. It describes installing NFS and related packages, exporting directories like /opt/nfs, configuring the firewall and starting the NFS daemon on the server. It also covers installing NFS packages, mounting exported directories and testing access on the client. The document further discusses making the NFS shares persist after reboots by configuring fstab files on both systems. It concludes by sharing a home directory through NFS and confirming access.
This document summarizes the steps to set up a SLIM server on Fedora Core 2 to remotely manage and deploy Linux systems over a network. It involves installing prerequisite RPM packages, building a Linux system image, setting up NFS, TFTP, DHCP and PXE boot services, and configuring the pxelinux boot loader to allow clients to boot the system image from the server.
Vagrant, Ansible, and OpenStack on your laptopLorin Hochstein
The document discusses using Ansible and Vagrant together to easily test and deploy OpenStack. Ansible allows writing idempotent infrastructure scripts, while Vagrant allows testing them by booting reproducible virtual machines. The document provides an example of using Ansible plays to install NTP and using Vagrant to define VMs for an OpenStack controller and compute node.
This document provides a quick guide to installing and configuring Nagios for basic network monitoring. It outlines steps to install Nagios and plugins, configure monitoring of hosts, services, contacts, and the web interface. The guide explains setting up monitoring of a sample network with one monitoring host and one NFS server to check connectivity and NFS service status.
This document provides instructions for quickly installing and configuring Nagios, an open source network monitoring tool. It outlines steps to install Nagios and common plugins, create user accounts, and compile the software. The bulk of the document then explains how to set up basic configurations for time periods, contacts to receive alerts, hosts to monitor, host groups, and example services to check such as network connectivity. It also includes instructions for configuring the web server to access Nagios's interface. The goal is to demonstrate a working Nagios setup that can monitor a simple network with one monitoring host and one NFS server.
This document provides instructions for quickly installing and configuring Nagios, an open source network monitoring tool. It outlines steps to install Nagios and common plugins, create user accounts, and compile the software. The document then explains how to configure basic monitoring of hosts and services in Nagios, including time periods, contacts, host and service definitions, and enabling the web interface. The configuration would monitor connectivity for two systems and serves as a starting point for basic network monitoring with Nagios.
The document provides instructions for installing and configuring the Squid proxy server on CentOS/RHEL 5. It describes using yum to install Squid, configuring the squid.conf file to define ACLs for allowed internal networks, starting the Squid service, verifying port 3128 is open, and opening the port in iptables firewall.
This document provides instructions for setting up a Linux high-performance computing cluster. It details how to configure the master node to function as a DHCP and TFTP server to provide network installation files to client nodes. The document is divided into sections covering master node configuration such as network setup, DHCP, NFS, and key configuration; software installation including compilers, job schedulers, and scientific packages; and client node installation using PXE network boot.
This document provides instructions for configuring a Kickstart server to automate the installation of Red Hat Enterprise Linux (RHEL) on client systems. It describes installing the Kickstart utility and required packages like DHCP and NFS on the server. The steps include creating a Kickstart configuration file, sharing it over NFS, and specifying its location when booting a client system to initiate an unattended installation using that file.
1. This document provides instructions for creating a headless Ubuntu/XFCE container using Docker and Dockerfish.
2. It shows how to install Dockerfish, pull the Ubuntu image, create and run a container, install XFCE and VNC, and export the container configuration to a new reusable image.
3. Key steps include cloning the Dockerfish repo, pulling the Ubuntu image, running the container with XFCE and VNC installed, checking the container IP, and using Dockerfish to commit the container configuration to a new image called devel/headless-ubuntu-vnc.
1. Minikube allows users to run a single-node Kubernetes cluster locally for development and testing. It provisions and manages a virtual machine running Kubernetes.
2. The steps to set up Minikube on Windows are to install Oracle VirtualBox, enable virtualization in BIOS, install Minikube and Kubectl, and start the Minikube cluster.
3. Some basic operations with Minikube include starting and stopping the cluster, getting the cluster status and IP, creating deployments and exposing services, and checking pod statuses. The Kubernetes dashboard is also available.
Installation And Configuration Of DNS, Web And FTP Servers On Virtual Machine...JohnWilson47710
The first Virtual Machine should be installed and have the BIND (DNS) server installed on it. While you do not own any address space/ name space your name server should manage the following domains:
The name server should answer queries for this domain. In addition to the saffioti.org.au zone, a zone should be set up for the reverse zone – the reverse zone would be whatever the address range is of your virtual machine. You should do some research on how Bind handles reverse zones. Visit: https://myassignmenthelp.com/free-samples/infs5907-managing-security-and-ethics-in-cyberspace/when-implementing-the-virtual-machines.html
Membangun web server,_e-mail_server_dan_ftp_serverIwan Kurniarasa
This document provides instructions for installing Linux RHEL 4 to build a web server, email server, and FTP server on a local network. It describes preparing the installation media and hardware, running the installation wizard to partition disks and set up users, and configuring the installed system to enable DNS, web, email, and FTP services. Key steps include installing required packages, configuring files like named.conf, httpd.conf, and main.cf, and testing the installed services.
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
This document describes how to install and configure NetBackup 6.5 to backup an Oracle 10g RAC database. It discusses installing NetBackup server software on a NAS host, defining storage units and backup policies, installing NetBackup client software and the Oracle agent on RAC nodes, and linking the Oracle homes. It also provides an example of using RMAN to backup the control file and archive logs to the NetBackup server.
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESJan Kalcic
This document discusses quick deployment of a Ceph storage cluster using SUSE Linux Enterprise Server (SLES). It provides an overview of Ceph and its components, and steps for provisioning a Ceph cluster including bootstrapping an initial monitor, adding OSDs, and configuring a PXE boot server for automated installation. It also briefly introduces tools like SUSE Studio for appliance building and SUSE Manager for systems management that can aid in deploying and managing the Ceph cluster.
1. The document describes a diskless remote boot Linux (DRBL) cluster consisting of 4 compute nodes and 1 management node connected by a gigabit Ethernet switch.
2. The management node acts as the DRBL server, hosting the TFTP, NFS, DHCP, and authentication services to allow the compute nodes to boot via PXE and share files and configurations.
3. The process involves enabling PXE on the compute node BIOS, allowing them to boot over the network by requesting an IP from DHCP and downloading boot files from TFTP before mounting the NFS root file system where applications and configurations are deployed.
The DealBook is our annual overview of the Ukrainian tech investment industry. This edition comprehensively covers the full year 2023 and the first deals of 2024.
Quantum Communications Q&A with Gemini LLM. These are based on Shannon's Noisy channel Theorem and offers how the classical theory applies to the quantum world.
Kief Morris rethinks the infrastructure code delivery lifecycle, advocating for a shift towards composable infrastructure systems. We should shift to designing around deployable components rather than code modules, use more useful levels of abstraction, and drive design and deployment from applications rather than bottom-up, monolithic architecture and delivery.
What's Next Web Development Trends to Watch.pdfSeasiaInfotech2
Explore the latest advancements and upcoming innovations in web development with our guide to the trends shaping the future of digital experiences. Read our article today for more information.
Blockchain technology is transforming industries and reshaping the way we conduct business, manage data, and secure transactions. Whether you're new to blockchain or looking to deepen your knowledge, our guidebook, "Blockchain for Dummies", is your ultimate resource.
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Erasmo Purificato
Slide of the tutorial entitled "Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Emerging Trends" held at UMAP'24: 32nd ACM Conference on User Modeling, Adaptation and Personalization (July 1, 2024 | Cagliari, Italy)
AC Atlassian Coimbatore Session Slides( 22/06/2024)apoorva2579
This is the combined Sessions of ACE Atlassian Coimbatore event happened on 22nd June 2024
The session order is as follows:
1.AI and future of help desk by Rajesh Shanmugam
2. Harnessing the power of GenAI for your business by Siddharth
3. Fallacies of GenAI by Raju Kandaswamy
Sustainability requires ingenuity and stewardship. Did you know Pigging Solutions pigging systems help you achieve your sustainable manufacturing goals AND provide rapid return on investment.
How? Our systems recover over 99% of product in transfer piping. Recovering trapped product from transfer lines that would otherwise become flush-waste, means you can increase batch yields and eliminate flush waste. From raw materials to finished product, if you can pump it, we can pig it.
How Social Media Hackers Help You to See Your Wife's Message.pdfHackersList
In the modern digital era, social media platforms have become integral to our daily lives. These platforms, including Facebook, Instagram, WhatsApp, and Snapchat, offer countless ways to connect, share, and communicate.
Performance Budgets for the Real World by Tammy EvertsScyllaDB
Performance budgets have been around for more than ten years. Over those years, we’ve learned a lot about what works, what doesn’t, and what we need to improve. In this session, Tammy revisits old assumptions about performance budgets and offers some new best practices. Topics include:
• Understanding performance budgets vs. performance goals
• Aligning budgets with user experience
• Pros and cons of Core Web Vitals
• How to stay on top of your budgets to fight regressions
Performance Budgets for the Real World by Tammy Everts
Kickstart
1. 1. Setting up a PXE kickstart server
Submitted by itchyadmin on Tue, 09/08/2009 - 10:28
Version
CentOS 5.3
Configure the tftp server
First make sure that tftp-server rpm is installed, if not then install it
# rpm -qa | grep tftp-server
# yum install tftp-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.answerstolove.com
* updates: mirror.answerstolove.com
* addons: mirror.answerstolove.com
* extras: mirror.answerstolove.com
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package tftp-server.x86_64 0:0.42-3.1.el5.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
=============================================================================
===
Package Arch
Version Repository
Size
=============================================================================
=============================================================================
===
Installing:
tftp-server x86_64 0.42-
3.1.el5.centos base 29
k
Transaction Summary
=============================================================================
=============================================================================
===
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 29 k
2. Is this ok [y/N]: y
Downloading Packages:
tftp-server-0.42-3.1.el5.centos.x86_64.rpm
| 29 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : tftp-server [1/1]
Installed: tftp-server.x86_64 0:0.42-3.1.el5.centos
Complete!
Download and unpack the latest Syslinux bundle
The files that come with CentOS / Redhat may be quite out of date, so best to get the latest
version available. In this example we use version 3.82.
Get the files from : http://syslinux.zytor.com/wiki/index.php/The_Syslinux_Project
Now unpack them, in this example we unpack them to /tmp/syslinux/syslinux-3.82.
# cd /tmp/syslinux
# gunzip -c syslinux-3.82.tar.gz | tar xf -
Setup the tftboot directory structure
The below assumes that the CD image of disk1 of the isntall disks is mounted at
/kickstart/inst/CentOS5,3/disk1
# cd /tftpboot/
# mkdir linux-install
# mkdir linux-install/pxelinux.cfg
# mkdir linux-install/CentOS_5.3_x86_64
# cp /tmp/syslinux/syslinux-3.82/core/pxelinux.0 linux-install
# cp /tmp/syslinux/syslinux-3.82/com32/menu/menu.c32 linux-install
# cp /kickstart/inst/CentOS5.3/disk1/images/pxeboot/initrd.img linux-
install/CentOS_5.3_x86_64
# cp /kickstart/inst/CentOS5.3/disk1/images/pxeboot/vmlinuz linux-
install/CentOS_5.3_x86_64
Create / copy in a menu file into pxelinux.cfg
This is basically like grub.conf. A sample default file is below. The default file will be used if
no other files are found which are more specific to the host. This will bring up a menu allowing
different install options. In this case it just has 2 options, either to boot locally (also the default
to stop us overwriting any existing systems by accident!) and an option to install CentOS.
3. # cd /tftpboot/linux-install/pxelinux.cfg/
# vi default
DEFAULT menu.c32
PROMPT 0
ONTIMEOUT local
TIMEOUT 100
MENU TITLE ItchyThinking PXE Menu
LABEL local
MENU LABEL Boot from local disk
LOCALBOOT 0
LABEL CentOS 5.3 x86_64
MENU LABEL Install CentOS 5.3 x86_64
KERNEL CentOS_5.3_x86_64/vmlinuz
APPEND ks=nfs:192.168.1.201:/kickstart/ks/
initrd=CentOS_5.3_x86_64/initrd.img ramdisk_size=100000 ip=dhcp ksdevice=eth0
The ksdevice=eth0 kernel option stops kickstart from prompting for which network device to
install from, thus keeping the install completely hands-free.
Enable tftp
Modify /etc/xinetd.d/tftp and make sure disable is set to 'no'
disable = no
then start the service
# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
# chkconfig --list tftp
tftp on
Make sure dhcp is installed
# rpm -qa | grep dhcp
dhcpv6-client-1.0.10-16.el5
# yum install dhcp.x86_64
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
...
Configure the dhcp server
Add the following to your /etc/dhcpd.conf. In this example 192.168.1.201 is the IP of the PXE
server (which is also the dhcp server in this case). Also, we are specifying the IP for each host
that we build.
4. #
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
allow booting;
allow bootp;
option routers 192.168.1.254;
option subnet-mask 255.255.255.0;
option domain-name "itchythinking.com";
option domain-name-servers 192.168.1.254;
default-lease-time 21600;
max-lease-time 43200;
next-server 192.168.1.201;
filename "/linux-install/pxelinux.0";
host vmlinux3 {
hardware ethernet 00:0c:29:32:aa:aa;
fixed-address 192.168.1.203;
}
}
Start the dhcp server
# chkconfig --list dhcpd
dhcpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
# service dhcpd status
dhcpd is stopped
# chkconfig dhcpd on
# chkconfig --list dhcpd
dhcpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
# service dhcpd start
Starting dhcpd: [OK]
Create a Kickstart Area
Create a kickstart area, probably a large separate filesystem, where all the RedHat/CentOS ISO
images will reside. Hence it needs to be quite large. This filesystem will also hold the kickstart
files.
Lets assume we are going to put the files under a filesystem called /kickstart which is already
mounted, but empty.
# cd /kickstart
# mkdir ks
# mkdir isos
5. # mkdir isos/CentOS_5.3
# mkdir isos/CentOS_5.3/x86_64
Now copy in the iso files for the distributions of RedHat / CentOS you want to install.
# cp /tmp/CentOS-5.3-x86_64-bin-1of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-2of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-3of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-4of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-5of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-6of7.iso /kickstart/isos/CentOS_5.3/x86_64
# cp /tmp/CentOS-5.3-x86_64-bin-7of7.iso /kickstart/isos/CentOS_5.3/x86_64
Share the /kickstart are using nfs
In this case we set up a simple (if insecure) nfs share
# vi /etc/exports
/kickstart *(ro,sync)
Now start (or restart) the nfs server
# service nfs restart
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]
Setup Clients
You are now ready to setup and install the clients. Follow the instructions here
Here is an example kickstart file
4. Adding a Kickstart Client
Submitted by itchyadmin on Wed, 10/07/2009 - 13:56
Once kickstart is setup do the following to add a new client
Update dhcp config and restart
Assuming that the server will be assigned a particular IP address, add this to the DHCP config
6. # vi /etc/dhcpd.conf
host vmlinux2 {
hardware ethernet 00:0c:29:aa:66:9f;
fixed-address 192.168.1.202;
}
Restart the dhcp server
# service dhcpd restart
Shutting down dhcpd: [ OK ]
Starting dhcpd: [ OK ]
Create a kickstart file for the server
In this example we will just copy an existing kickstart file and copy the host specific entries
# cd /kickstart/ks
# cp 192.168.1.203-kickstart 192.168.1.202-kickstart
# vi 192.168.1.202-kickstart
Modify necessary entries. In this case we modify the following lines
network --device eth0 --bootproto static --ip 192.168.1.202 --netmask
255.255.255.0 --gateway 192.168.1.254 --nameserver 192.168.1.254 --hostname
vmlinux2
Boot the client over the network
Simply boot the client over the network. How you do this will depend on the hardware. All
being well the server will now build after selecting the appropriate entry from the servers
console.
Example /etc/dhcpd.conf file
Submitted by itchyadmin on Tue, 09/08/2009 - 21:39
Version
CentOS 5.3
Example of /etc/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#