Skip to content

YanlongLi/SetupYourLinux

Repository files navigation

Set Up Your Linux

System Initialize

User and Group Management

TODO

Scripts

usage: change the script as your usage
$> mountwinshare //<host>/<shared>/<path> /<mount>/<point>

Systemd Files

Softwares

Ubuntu
python-dev python3-dev python-setuptools python-pip
node nodejs-legacy npm
tmux ssh openssh-client zsh
cifs-utils samba
texlive-full gvim
clang llvm libboost-all-dev
mono-xbuild mono-dmcs
cmake

Other usefull tools:

Python packages

~
autopep8 yapf

Nodejs packages

~
js-beautify remark

Others

~
tidy astyle htop thefuck

ydcv

command line dict: ydcv

Configurations

Bash

  1. init_bash.sh to init the bash configurations, $> make bash

What does this script do: Copy files in ./bash to ~/

Zsh / On-my-zsh

  1. Getting oh-my-zsh to work in Ubuntu, or use install_oh-my-zsh.sh to install oh-my-zsh.

Prereq:

apt-get install zsh
apt-get install git-core

Getting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh

and then you change your shell to zsh

chsh -s `which zsh`

and then restart

sudo shutdown -r 0

This problem is explained in depth in this issue

  1. Use script init_zsh.sh to configure zsh, $> make zsh

What does this script do: (1) Install plugin zsh-syntax-highlighting and zsh-auto-suggestions to ~/.oh-my-zsh/plugins directory. (2) Copy zshrc and zprofile to ~/

  1. Plugins

Vim

Goto repo Set Up Your Vim

Jupyter

$> pip2 install jupyter
$> pip2 install python2-numpy
$> pip2 install python2-matplotlib
$> pip2 install python2-scipy

multi kernel support

python3 -m pip install ipykernel
python3 -m ipykernel install --user

Openbox (window manager)

Copy folder home/config/openbox/ to ~/.config/opoenbox/ or just $> make openbox

llpp (pdf viewer)

Copy llpp.conf to ~/.config/llpp.conf or just $> make llpp

Arch

Config Yaourt

Append content below to /etc/pacman.conf

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

About

Linux profiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published