Week 1 - A
Encoding:
In Python 3, all strings are Unicode.So, if any kind of text string is to be sent across the network, it
needs to be encoded.
Blocking:
Set a socket to non-blocking. This means that the program will not sit and wait for data to be
received.
A socket object can be in one of three modes: blocking, non-blocking, or timeout. Sockets are
by default always created in blocking mode, but this can be changed.
NNTP: 119 | IMAP4: 143 | FTP: 20 | GOPHER: 70
BSD sockets is an api to the transport layer of the internet protocol stack.
Wat heb je nodig voor socket programming?
import socket, sys, subprocess
# hiermee wordt TCP op passive gezet! s.accept ()
Week 1 - B
OS deployment oftewel “System Provisioning(Enterprise
configuration).
Thick vs Thin image
Thick image contains business preïnstalled apps, security and patch updates.
Think image contains only the OS!
Voordelen Thick
Apps available the first logon;
Software via SCCM;
Alleen toepasselijk in een simpel omgeving waar weinig changes plaats vindt.
Voordelen Thin
Less network traffic;
RDP = apps remote delivered.
Je hebt SCCM nodig om ZTI mogelijk te maken.
PXE linux Centos Deployment
1. Install DCHP, DNS, TFTP and FTP.
2. Create a kickstart file.
3. Use PXELINUX to start a PC over the NET.
4. Add the ISO and the kickstart file into the FTP
DIR>.
PE is om een PC over het NET te starten.
Sysprep is to prepare an image for deployment (removing SID).
ImagX is a command-line tool to capturen, modying and apply a file-based image for deploy.
DISM is for command-line tool to service as a WIN7 image capture tool.
WSIM is a tool for creating and editing an answer file (unattend.xml).
Gewenste capture | Windosws vs Linux
1. Install OS | DHCP DHCP -> daemon dhcpd
2. Configure OS | DNS DNS -> daemon bind
3. Patch OS | pxeboot.com pxelinux.O
4. Install & configure software | WSIM kickstart
5. Sysprep (removing SID) | unattend.xml ks.cfg
6. Capture image using DISM | WDS (TFTP) Xinetd(TFTP) / VSFTP(TFP)
In WAIK zitten tools als Imagx en DISM.
PXE using WDS service
1. Install DCHP, DNS en WDS.
2. Use WSIM to create an answer file in XML format and add to WDS.
3. Add from a Install DVD the boot.wim and install.wim files into WDS.
OS deployment process using PXE
1. Target is booted (pressed F12 or pre-configured bootorder)
2. Send DHCP request (arp-request) and the DHCP provider respond with IP-config
3. Client contacts the TFTP server to obtain boot files
4. Kernel is then loaded
5. Kickstart /unattend file is loaded and installation is started
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller spam003. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.57. You're not tied to anything after your purchase.