Created
June 11, 2017 19:43
-
-
Save clupasq/5d602073b8764e2a8154229879771371 to your computer and use it in GitHub Desktop.
Centos init
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
ssh-keygen -t rsa -b 4096 | |
cd .ssh/ | |
touch authorized_keys | |
chmod 644 authorized_keys | |
sudo yum update | |
sudo yum install bash-completion | |
sudo yum install epel-release | |
sudo yum install git | |
mkdir -p ~/.config | |
sudo yum install inotify-tools tmux htop | |
git clone https://github.com/clupasq/clupasq.git $HOME/.config/clupasq | |
$HOME/.config/clupasq/setup.sh -o | |
vim +PluginInstall! +qall | |
echo "source $HOME/.bashrc_clupasq" >> ~/.bashrc | |
source $HOME/.bashrc_clupasq | |
mkdir workspace | |
git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it | |
~/.bash_it/install.sh | |
sed -i "s/^.*BASH_IT_THEME.*$/export BASH_IT_THEME='nwinkler_random_colors'/g" ~/.bashrc | |
sudo yum -y install yum-cron | |
#vim /etc/yum/yum-cron.conf | |
sudo systemctl enable yum-cron | |
sudo systemctl start yum-cron.service | |
systemctl status yum-cron.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment