-
-
Save ashbyca/2cd766572ef5fd5e0ea69e6c535674f3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 https://gist.githubusercontent.com/ashbyca/9ce85acbcb17e5ecd6055e9c88837158/raw/a0d9dcfd5ff4283ab8cdcdbeedb24796dfd4946b/00-header | |
sudo wget https://gist.githubusercontent.com/ashbyca/582cf06398ceeb651548bef1743605b8/raw/6785d9f3c08105959c69d285560dc76076ae649e/10-sysinfo | |
sudo wget https://gist.githubusercontent.com/ashbyca/a7bd031c7efdd9c9c5fe53f9a5dc49ae/raw/20be9196dfd3fbceac2e074d6b3dd0956892ac6f/90-footer | |
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