Skip to content

Instantly share code, notes, and snippets.

@ivodvb
Last active May 4, 2018 07:18
Show Gist options
  • Save ivodvb/9f07af72ab173c7eda2f5dab4abc58a3 to your computer and use it in GitHub Desktop.
Save ivodvb/9f07af72ab173c7eda2f5dab4abc58a3 to your computer and use it in GitHub Desktop.
Default server setup
#!/bin/bash
cat > /etc/default/locale <<EOL
LANG=en_US.UTF-8
LC_ALL=C
LANGUAGE=en_US.UTF-8EOL
cat > /etc/environment <<EOL
LC_CTYPE=UTF-8
EOL
export LANG=en_US.UTF-8
export LC_ALL=C
export LANGUAGE=en_US.UTF-8
locale-gen en_US.UTF-8
apt-get update && apt-get upgrade -y && apt-get upgrade -y && apt install -y software-properties-common libssl-dev \
curl git sudo telnet nmap zip unzip wget python build-essential htop socat mysql-client
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
echo "set number" > ~/.vim_runtime/my_configs.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment