Skip to content

Instantly share code, notes, and snippets.

Last active Feb 3, 2021
What would you like to do?
System Setup
# Install Python PIP and Dependencies
sudo apt-get install python3-dev python3-pip python3-setuptools libyaml-dev wget libreadline7 libreadline-dev git python-dnspython python-mechanize python-slowaes python-xlsxwriter python-jsonrpclib python-lxml lsb-release figlet update-motd libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev -y
# Setup and configure Dynamic MOTD
# Remove the current directory
sudo rm -r /etc/update-motd.d/
# Create new directory
sudo mkdir /etc/update-motd.d/
# Download 00-header, 10-sysinfo, 90-footer and change permissions
cd /etc/update-motd.d/
sudo wget
sudo wget
sudo wget
sudo chmod +x /etc/update-motd.d/*
# remove MOTD file
rm /etc/motd.dynamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment