Skip to content

Instantly share code, notes, and snippets.

@hobbes3
Last active January 31, 2020 02:15
Show Gist options
  • Save hobbes3/e767eb901d3d225d6c07a84d6e3bbdee to your computer and use it in GitHub Desktop.
Save hobbes3/e767eb901d3d225d6c07a84d6e3bbdee to your computer and use it in GitHub Desktop.
ubnutu install splunk config
# Must run as root
NAME="my_server"
SSH_PORT=9922
hostnamectl set-hostname $NAME
# SSH
echo -e "\nPort $SSH_PORT" >> /etc/ssh/sshd_config
service ssh restart
# Latest version of Git
add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install git -y
# Git LFS
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
apt-get install git-lfs -y
git lfs install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment