-
Notifications
You must be signed in to change notification settings - Fork 1
Revtel Server Env Setup Commands
Guy edited this page Feb 2, 2021
·
3 revisions
apt update
apt install git zsh vim universal-ctags \
python3 python3-pip silversearcher-ag \
curl locales -y
pip3 install pynvim
git clone https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
git clone https://github.com/revtel/.zsh ~/.zsh
git clone https://github.com/revtel/.vim ~/.vim
echo "source $HOME/.zsh/.zshrc" > $HOME/.zshrc
echo "source $HOME/.zsh/.zprofile" > $HOME/.zprofile
echo "so $HOME/.vim/.vimrc" > $HOME/.vimrc
locale-gen "en_US.UTF-8"
update-locale LC_ALL="en_US.UTF-8"
zsh
yum install -y ncurses-devel ruby ruby-devel lua lua-devel luajit \
luajit-devel ctags git python python-devel \
python3 python3-devel tcl-devel \
perl perl-devel perl-ExtUtils-ParseXS \
perl-ExtUtils-XSpp perl-ExtUtils-CBuilder \
perl-ExtUtils-Embed curl tar zsh make \
pkgconfig automake gcc zlib-devel pcre-devel xz-devel \
git clone https://github.com/vim/vim.git ~/vim
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
git clone https://github.com/ggreer/the_silver_searcher ~/the_silver_searcher
git clone https://github.com/revtel/.zsh ~/.zsh
git clone https://github.com/revtel/.vim ~/.vim
cd ~/vim
./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp=yes \
--enable-python3interp=yes \
--with-python3-config-dir=$(python3-config --configdir) \
--enable-perlinterp=yes \
--enable-luainterp=yes \
--enable-gui=gtk2 \
--enable-cscope \
--prefix=/usr/local
make VIMRUNTIMEDIR=/usr/local/share/vim/vim82
make install
pip3 install --user pynvim
~/.fzf/install
~/the_silver_searcher/build.sh
cd ~/the_silver_searcher
make && make install
echo "source $HOME/.zsh/.zshrc" > $HOME/.zshrc
echo "source $HOME/.zsh/.zprofile" > $HOME/.zprofile
echo "so $HOME/.vim/.vimrc" > $HOME/.vimrc
zsh