Comments (6)
https://github.com/tmux-plugins/tmux-yank#linux
Will need to install xclip
in order to capitalize on the tmux-yank plugin.
from dotfiles.
@JennHaggerty: you down to help on this, at least with older CentOS versions?
from dotfiles.
here's something i had to cobble together to spin up a workstation on a vps that (hopefully) has better upload speeds:
linux dotfiles buildlog
centos
- provision centos 7.5 droplet on digital ocean
- update host:
# yum -y update && yum -y install epel-release # yum -y groupinstall 'Development Tools'
- install tmux:
# yum -y install libevent-devel ncurses-devel # curl -OL https://github.com/tmux/tmux/releases/download/2.8/tmux-2.8.tar.gz # tar -xvf tmux-2.8.tar.gz # cd tmux-2.8 # ./configure # make # make install # cd ../ # rm -rf tmux-2.8*
- install nvim:
# yum -y install ninja-build libtool autoconf automake cmake gcc gcc-c++ make pkgconfig unzip # git clone https://github.com/neovim/neovim.git # cd neovim # git checkout v0.3.1 # make # make install # cd ../ # rm -rf neovim*
- create admin user:
# adduser username # passwd username # usermod -aG wheel username
- configure ssh access for admin user:
# su username $ mkdir -p ~/.ssh $ echo public_key_string >> ~/.ssh/authorized_keys $ chmod -R go= ~/.ssh
- symlink nvim config and tmux config:
$ git clone https://github.com/ratmav/dotfiles.git $ ln -s ~/dotfiles/.gitignore_global ~/.gitignore_global $ ln -s ~/dotfiles/.tmux.conf ~/.tmux.conf $ mkdir -p ~/.config/nvim $ ln -s ~/dotfiles/init.vim ~/.config/nvim/init.vim
- install vim-plug:
$ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs -s \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- install tpm:
$ mkdir -p ~/.tmux/plugins $ git clone -q https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
- init nvim and tmux:
- open nvim, run
:PlugInstall
, then quit. - open tmux, press Prefix (Ctrl-T), then Shift-i (capital "I").
- copy the following into
~/.bash_profile
:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
export PS1="[\u@\h \W]\\$ "
# Force dircolors, etc.
export CLICOLOR=1
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)";
# load miscellaneous environment variables if needed.
if [ -f ~/.misc_envars ]; then
. ~/.misc_envars
fi
- install pyenv and pyvirtualenv:
$ sudo yum -y install zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel \
openssl-devel xz xz-devel libffi-devel
$ source ~/.bash_profile # will complain about no virtualenv. it's ok.
$ git clone https://github.com/pyenv/pyenv.git ~/.pyenv
$ git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
$ source ~/.bash_profile # shouldn't complain.
TODO
useful for local and remove (vnc over ssh for tablet, etc.) workstations:
- port steps 1-7 to fedora and dnf.
- install node-stable
- install go
- install openbox, etc.
- install brave
notes
ssh agent forwarding (to keep local private keys off the box, think thin client has keys, remote host is workstation):
$ ssh -iA ~/.ssh/private_key user@host
from dotfiles.
centos stream is a thing; might be worth targeting v. fedora, which can have immature driver code.
from dotfiles.
also, just use guake until the neovim/libvterm terminal reflow issue is sorted.
from dotfiles.
there really isn't a ton of porting to do here; bash is bash...enough.
from dotfiles.
Related Issues (20)
- plugin: marv HOT 3
- plugin: watch HOT 2
- plugin: vim-airline system status extension HOT 2
- airline defaults HOT 2
- plugin: vim-bufkill fork HOT 1
- haskell HOT 7
- goneovim HOT 5
- containers HOT 2
- uivonim
- zenburn HOT 1
- desk HOT 2
- vim gui HOT 5
- automated plugin install on debian HOT 2
- vscode HOT 1
- psanalyzer
- teardown
- license
- winget HOT 4
- no admin for wez config HOT 2
- tiling windows HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.