The blog post starts here.
import pandas as pd import numpy as np data = pd.DataFrame( data=np.random.normal(loc=0.0, scale=1.0, size=1000), columns=["gaussian_var"]) data[:10] gaussian_var 0 0.366702 1 0.0247435 2 1.72854 3 0.343894 4 -0.914733 5 -0.186893 6 -0.53095 7 -0.660085 8 -0.740802 9 1.55077 import altair as alt alt.renderers.enable( 'altair_saver', fmts=['svg'], embed_options={'scaleFactor': '1.5', 'theme': 'light'}, # method="selenium", # webdriver="chrome", ) alt.Chart(data).mark_bar().encode( x=alt.X("gaussian_var", bin=alt.BinParams(maxbins=100)), y="count()").properties(width=800)
We are going to use dnsmasq package to supply DHCP and TFTP functionality to your PXE server.
Install and configure dnsmasq sudo pacman --quiet --noconfirm -S dnsmasq sudo cp -rp /etc/dnsmasq.conf /etc/dnsmasq.conf_$(date "+%Y%m%d") sudo sh -c "cat > /etc/dnsmasq.conf <<EOF port=0 interface=eth0 bind-interfaces dhcp-range=192.168.10.50,192.168.10.60,12h dhcp-boot=/arch/boot/syslinux/lpxelinux.0 dhcp-option-force=209,boot/syslinux/archiso.cfg dhcp-option-force=210,/arch/ dhcp-option-force=66,192.168.10.102 enable-tftp tftp-root=/srv/pxe EOF" resolving dependencies... looking for conflicting packages... Packages (3) libnetfilter_conntrack-1.0.6-1 libnfnetlink-1.0.1-2 dnsmasq-2.76-4 Total Installed Size: 0.91 MiB :: Proceed with installation?
TODO Explain the benefits of setting an PXE server in home LAN TODO Develop a graph of my home infrastructure with ditaa TODO Explain that this works only for BIOS booting
In this series I am going to demonstrate how to set up a Linux environment for power users on Arch Linux and utilize literate DevOps, using Spacemacs and Org-Babel.
Note: This step is an optional one, you can always just boot from USB stick and continue from Part 1 of the Arch Install Series