Last active
January 31, 2020 02:15
-
-
Save hobbes3/e767eb901d3d225d6c07a84d6e3bbdee to your computer and use it in GitHub Desktop.
ubnutu install splunk config
This file contains 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
# 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